DMA more than 16-bit from ADC to Filter

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

I'm trying to transfer 20-bit ADC data to Filter with referring "Filter_ADC_VDAC Example".
But, data Cohererncy and Alignment is very difficult, I could not success.

   

According to the manual, I set registers as follows,

   

    ADC_DelSig_SetCoherency(ADC_DelSig_COHER_HIGH);

   

    Filter_SetCoherencyEx( Filter_STAGEA_COHER, Filter_KEY_HIGH);
    Filter_SetDalign( Filter_STAGEA_DALIGN, Filter_DISABLED);

   

And, I tried more to change DMA settings,

   

    Swap_Endian, change target address, Filter_STAGEA_PTR or Filter_STAGEAH_PTR ... etc. 

   

Abnormal waveform appears on filter output at which setting.

   

Please tell me the correct settings.

0 Likes
1 Solution
3 Replies
Anonymous
Not applicable

Thank you for your quick reply.

   

That is just fit for my issue! 
I'll check them.

0 Likes
Anonymous
Not applicable

Your demo of
"PSoC 5LP – 16 Bit and 24 Bit Digital Filter Code Examples"
was very helpful for me! 

   

I can make my demo and the demo worked perfectly.

   

Thank you for your help.

0 Likes