ADC_SAR_Seq_GetResult16 issue with return

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

cross mob
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
500 solutions authored 1000 replies posted 10 questions asked

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
500 solutions authored 1000 replies posted 10 questions asked

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

0 Likes