creating own Filter component - implement with software APIs | Cypress Semiconductor
creating own Filter component - implement with software APIs
I am having cy8ckit-001 board with PSoC3. I am trying to create my own Filter component using APIs (API implementation). The flow is like:
8bit digital data from ADC --> DMA1 --> myOwnFilter --> ISR --> write Filter data to VDAC on interrupt triggering.
To create myOwnFilter:
* selected "add component" in components tab of creator s/w and selected "Empty symbol"
* in .cysym, drew a rectangle and attached a digital output pin for connecting to ISR. Here I want to make sure that after input gets processed from filter, interrupt should get raised from myFilter.
how to put/create Data enable signal.. (dma request/ Interrupt request/ Polled).
* created myFilter.h and myFilter.c under myFilter component .
, I am trying with an digital output pin to trigger interrupt, but during build/compilation I am getting error. For 8-bit input, I am not sure what to use.
Moreover, myOwnFilter should get listed during DMA configuration (Tools->DMA wizard) in both source end and destination end. but its not appearing.
standard Filter component has "Enable channel" option. Upon enabling it, Filter appears in Dma config wizard.
Please help me out.