Triggered Delta Sigma DSD example on Dave4

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

cross mob
User11706
Level 2
Level 2
Hello,

I am using DSD Demodulator on the XMC4500 with the Hexagon board.
I cannot get it to work with acquisitions synchronized to a PWM signal.
Is there any Dave4 example showing how to connect the EVENT_DETECTOR / GENERATOR that seem to be mandatory ?
Any help or suggestion is welcome

Jorge
0 Likes
2 Replies
Eric1
Employee
Employee
Hello Jorge66,

Yes There are two examples in the DSD Application Note:
DSD-XMC4000-AP32302_Example_Code

www.infineon.com/XMC4000 -> Documents

Or you can use the DAVE4 APP:
DS_ADC_DEMOD

You have to use the integrator for the trigger functionality.



Two Other solutions for triggering without integrator:

1) enable and disable the CFEN Bit in FCFGC

DSD_CH2->FCFGC &= ~DSD_CH_FCFGC_CFEN_Msk;
DSD_CH2->FCFGC |= DSD_CH_FCFGC_CFEN_Msk;

2) enable and disable the RUN Bit: Filters are cleared and need to settle
XMC_DSD_Stop(DSD,XMC_DSD_CH_ID_2);
XMC_DSD_Start(DSD,XMC_DSD_CH_ID_2);

3) Use a CCU slice for the DSD clk and gate this clock while the DSD should be stopped.


Regards
Eric
0 Likes
User11706
Level 2
Level 2
Hello Eric, thank you for the updates. the examples are very usefull.

Now, I am using the 4 DeltaSigma decoders synchronously with a trigger signal as described.
I would like now to read the results of the 4 DSD channels with a simple DMA transfer.
2480.attach
2481.attach

But each DSD channel has its own generated event :
2482.attach

The question is :

To get the synchronous results of the 4 DS decoders :

  • How can I combine all these (up to) 4 events into a single one in order to trigger a single Linked list DMA tranfer?
  • Should I rather configure 4 independent single DMA transfers? (Which seems overkill)


Thank you for any sugggestion.
0 Likes