Getting 16-bit data through a Filter | Cypress Semiconductor
Getting 16-bit data through a Filter
Using the PSoC5LP development board CY8CKIT-050, I have found examples of getting 8-bit data out of a filter and into a VDAC. I want to get the digital data out of the Filter into SRAM arrays. In this build, I have verified that I can get data out of the Sequencing SAR but I cannot get data out of the following filter.
I initialize two elements of the destination arrays just to see if they get overwritten by new data. I am using the 10K pot at P6 for one data source and from the junction of two 2700 ohm resistors at P3 for the other data source. I use the LCD to write three elements of each array to see what the output looks like.
What destination address should I use for the DMAs? LO16((uint32)Filter_STAGEAM_PTR)
Should I be using Filter_DALIGN_REG |= 0x0F; to align the data?
Note that I am not starting the isr_dma here. This was used to successfully read data from the SAR. I start the isr_filt interrupt to get data unsuccessfully from the filter.
Can anyone suggest what I am doing wrong or point to an example project that does not involve a VDAC?