Not applicable
Jul 16, 2014
11:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 16, 2014
11:27 PM
Hi,I'm a freshman. I can't set ADC external voltage well.
relevant code:
SHS0->SHSCFG = ((0x1 << SHS_SHSCFG_SCWC_Pos) & SHS_SHSCFG_SCWC_Msk) |
((0x0 << SHS_SHSCFG_AREF_Pos) & SHS_SHSCFG_AREF_Msk) ;
input external reference voltage into pin VDD , but there is no different.
pls help me. How to program and set relevant pins.
relevant code:
SHS0->SHSCFG = ((0x1 << SHS_SHSCFG_SCWC_Pos) & SHS_SHSCFG_SCWC_Msk) |
((0x0 << SHS_SHSCFG_AREF_Pos) & SHS_SHSCFG_AREF_Msk) ;
input external reference voltage into pin VDD , but there is no different.
pls help me. How to program and set relevant pins.
- Tags:
- IFX
1 Reply
Jul 17, 2014
08:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2014
08:41 PM
Hi, By default SHS0_SHSCFG.AREF = 00 is configured to external voltage reference. Other configuration is not accepted as they are reserved.
Are you trying to use a different reference voltage other than the default one?
Are you trying to use a different reference voltage other than the default one?