Anonymous
Not applicable
Aug 30, 2014
12:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2014
12:46 PM
5 Replies
Aug 30, 2014
12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2014
12:54 PM
Welcome in the fascinating world of PSoCs!
There is no direct API, but you could use an ADC to measure it. Can you be a bit more specific what you want to do, what your problem is?
Bob
Aug 30, 2014
05:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2014
05:02 PM
There are basically two methods:
- use a voltage divider for the supply voltage, and measure the result with ADC (using a internal reference). This is the direct way
- use the supply voltage as the reference for the ADC, and measure the internal voltage reference with it. This is indirect (and needs conversion), but doesn't any external components.
Aug 30, 2014
11:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2014
11:38 PM
The ADC-configuration using 6 * VRef is explicitely mentioned for measuring the supply-voltage.
Bob
Aug 31, 2014
05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 31, 2014
05:16 AM
Oh, I did forget about that ADC mode. Sure, that would be the easiest version.
Aug 31, 2014
05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 31, 2014
05:52 AM
When you setup A/D also make sure you set
input buffer to "bypass buffer" in order to get a
CM range that includes the rail (Vdda).
Regards, Dana.