Attachments are accessible only for community members.
Jul 13, 2019
07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2019
07:56 AM
4 Replies
Jul 13, 2019
10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2019
10:29 AM
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
Jul 13, 2019
10:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2019
10:44 AM
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
Jul 17, 2019
06:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2019
06:39 PM
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
Jul 18, 2019
12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 18, 2019
12:58 AM
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.