Filter Bank Garbage | Cypress Semiconductor
Filter Bank Garbage
I set up a filter bank and it is spitting out the same pattern of garbage, whether or not the sensor is connected. Here is how I have it set up:
- There is a SAR taking samples off of a sensor. Everytime a sample is ready, the SAR IRQ fires. When a certain number of samples are taken, the IRQ writes the mean of them into the filter bank.
-The filter bank IRQ fires when it is done. It spits out a 24-bit value shifted to the right by 8. This value is a global variable that is printed over the UART to a terminal.
I am not familiar enough with the filter bank and how it ideally should interact with the SAR. Would a DMA be better to use?