Announcements

Equip yourself to optimize PSoc4 MCUs for Evs at the EV Webinar. Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4 Forum Discussions

D_Sd_3235936
Level 4
Level 4
25 sign-ins 50 questions asked 25 replies posted

I am using cypress library function: ADC_SAR_Seq_1_GetResult16()

All results are quite accurate to the real measurements.

Except one specific measurement, i get a return of 0xFFFF when the real measurement is 0 Volts or a few mVolts ( 5 mVolts or so) 

Thanks.

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

You can try to give the result to a signed array (variable) instead of a unsigned array(variable).

View solution in original post

0 Likes
1 Reply
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

You can try to give the result to a signed array (variable) instead of a unsigned array(variable).

0 Likes