Attachments are accessible only for community members.
Anonymous
Not applicable
May 17, 2017
04:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 17, 2017
04:08 AM
Dear sir,
I am working on CY8C28452.I try to configure ADC but its not working. I also attached my circuit diagram and code.
I display result of adc on segment, but it will show different value.Please guide me where am i wrong.
Thanks & Regards,
Labels
- Labels:
-
PSoC 1
1 Reply
May 18, 2017
03:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 18, 2017
03:50 AM
Welcome in the forum.
Because you configured your ADC as signed 14 bit you should use the ADC_iGetData() API which will return a signed integer. This might not fit on your display, so you need to scale the result accordingly.
Think to by a more modern CY8CKIT-043 Prototyping Kit which has debug capabilities built-in.
Bob