- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I would like to measure the voltage at pin VDDA. On page 18 of the CY8C63x6/7 data sheet it states that the Capsense ADC can measure VDDA against an internal reference without using GPIO or external components. However, I can find no information about actually doing this.
I've studied the documentation for the CSDADC middleware library. I see how to connect the ADC to GPIO pins, but I can't figure out how to connect to VDDA. Does anyone know how?
Paul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PaGy_1246781,
The CSDADC middleware library provides an API Cy_CSDADC_MeasureVdda(). It measures VDDA voltage and returns the result in millivolts. It doesn't require a GPIO to do the measurement.
Cypress CSDADC Middleware Library 2.0: Functions
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using PSoC Creator CapSense component? If yes, there is a function called CapSense_GetVdda() that you can use.
If you are not, you can refer to the implementation of that function to see how to establish the connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PaGy_1246781,
The CSDADC middleware library provides an API Cy_CSDADC_MeasureVdda(). It measures VDDA voltage and returns the result in millivolts. It doesn't require a GPIO to do the measurement.
Cypress CSDADC Middleware Library 2.0: Functions
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow. I got so hung up on the configuration, that I didn't even look through the API. Thanks, Bragadeesh.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, I can't use PSoC Creator in this project (I wish I could). But thanks for the info.
Paul