Feb 03, 2023
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 03, 2023
03:00 AM
Can we use CH29 for EVADC read operation ?
By configuring Alias register in CH0/CH1
Solved! Go to Solution.
1 Solution
Sep 13, 2023
07:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 13, 2023
07:40 PM
Hi SivakumarG,
Are you still having issue with this question? As my colleague mentioned, just simply set GxALIAS.ALIAS0/1 to your expected channel number and config the Channel Control Register to save the result to expected place.
For rest of the ADC configuration you could refer to code example:
Thanks
2 Replies
Feb 04, 2023
11:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 04, 2023
11:37 PM
The Alias feature allows the user to redirect conversion requests for channels 0 and/or 1 to other channel numbers. Using the alias feature, a conversion request for channel 0 or channel 1 leads to a conversion of the analog input channel “x” instead of channel 0 or channel 1.
To use CH29 (Vddk reference signal) for channel 0 or 1 simply set GxALIAS.ALIAS0/1=29 and the successive conversion result on Ch0/1 will contain the Vddk signal level. Channel configuration and result register assignment are chosen in GxCHCTR0/1 (Channel Control Registers).
Sep 13, 2023
07:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 13, 2023
07:40 PM
Hi SivakumarG,
Are you still having issue with this question? As my colleague mentioned, just simply set GxALIAS.ALIAS0/1 to your expected channel number and config the Channel Control Register to save the result to expected place.
For rest of the ADC configuration you could refer to code example:
Thanks