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

cross mob
lock attach
Attachments are accessible only for community members.
TaGe_4284161
Level 2
Level 2
First like received

Hello,

i have some issues with my coding. I used the RTD Measure Example and changed it for my CY8CKIT-042-BLE. The values are changing but not as expected

pastedImage_0.png

I don't know where my mistake is. Could you give me support?

Thanks

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

First thing I see is

IDAC_SetValue(500);

which will not work as expected with an 8 bit wide IDAC.

In the comment is said that value will give 1mA which is difficult for this IDAC.

Bob

0 Likes

Hey Bob,

I changed it into

/* Configure the IDAC to source maximum value*/

    IDAC_SetValue(0xff);

my IDAC is an 8-bit. Nevertheless i get wrong values.

Thanks

Greetings

Tarik

0 Likes

The ADC config is not the same as original demo project, please restore ADC config to original status as demo project and try the test again

0 Likes

I changed the Config am some Code but it didn't help. I changed the ADC channel to zero beacuse put an ADC_Mux.

Now I get a constant Value of -242. I think the issue is in the coding. Because I measured the right voltage with my multimeter.

0 Likes