You are here

Reading ADC Conversion | Cypress Semiconductor

Reading ADC Conversion

Summary: 1 Reply, Latest post by Bob Marlowe on 27 Jul 2016 11:14 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
rm3330_1699156's picture
14 posts

Hello, I wanted to know what the easiest way is to read and display the ADC converted values in PSOC Creator. I am working with 4200 BLE PSOC. Any help will be much appreciated!

user_1377889's picture
9295 posts

There are two APIs for the ADC: one is waiting for a result ready and the other actually gets the converted data. There are APIs to convert those digital counter values into a mV or V number.

Display? Which display?

You might take the chance to use the USB-UART bridge in your Development kit (I assume you have got one). Read the chapter in the Kitprog manual that was installed on your PC when you installed the kit software. The bridge together with a terminal emulation on your pc (as PuTTY) will let you send ASCII data to your screen. Use sprintf() for conversion, take care when using floats, there are some pitfalls.



Log in to post new comments.