Anonymous
Not applicable
Aug 04, 2016
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 04, 2016
04:24 AM
How can i use Del_sigma ADC (differential mode)to sample and convert sine wave signal of 1Khz ? And then i have to send the conversion result through UART to PC. I tried doing so but i get some random symbols. How to overcome this? Resolotion of ADC is 8 bit and conversion rate is 8000sps. UART at 115200bps.
Thank you
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 5LP
1 Solution
Aug 04, 2016
07:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 04, 2016
07:47 AM
The asterisk in "%d*" format requires an additional parameter, I would suggest to delete the "*".
Increase the heap size to 0x200 (in .cydwr view -> System -> Heap size
Your temp-variable is quite too short and sprinf() will overwrite some sram. I suggest to increase it generously to temp[20].
Happy coding
Bob
12 Replies