- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm studying the DAVE Help/VADC_GROUP_CONFIG app manual/Example to illustrate synchronous conversions.
It is not clear which is the second channel. The example talks about Channel 2 of some group but I think we need an another channel to measure also. Which channel will be the second channel to be measured?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think I can give some more clarity. Synchronization in the XMC4XXX VADC works with a master-slave concept. When the master starts a synchronous conversion, the slaves cancel the actual conversion and respond with a ready signal. When the master and the slaves are ready the conversion is started. After this conversion the slaves inject and repeat the canceled conversion.
The synchronous conversion has some constrains. The channel number from master and the slaves are the same. For example, if the master requests channel 5 the synchronous slave channel is also converting channel 5. This limit of free pin mapping can be solved with the ALIAS feature (check for Programmable Remapping of Analog Inputs – The Alias Feature).
Now in the associated code example the channels 1 and 0 of group 1 are converted at the same time as channel 1 and 0 of group 0. The channels are configured as refill so the queue will be fed again with these channels after each conversion.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think I can give some more clarity. Synchronization in the XMC4XXX VADC works with a master-slave concept. When the master starts a synchronous conversion, the slaves cancel the actual conversion and respond with a ready signal. When the master and the slaves are ready the conversion is started. After this conversion the slaves inject and repeat the canceled conversion.
The synchronous conversion has some constrains. The channel number from master and the slaves are the same. For example, if the master requests channel 5 the synchronous slave channel is also converting channel 5. This limit of free pin mapping can be solved with the ALIAS feature (check for Programmable Remapping of Analog Inputs – The Alias Feature).
Now in the associated code example the channels 1 and 0 of group 1 are converted at the same time as channel 1 and 0 of group 0. The channels are configured as refill so the queue will be fed again with these channels after each conversion.
Best Regards,
Vasanth