Quantcast
Viewing all articles
Browse latest Browse all 27635

Forum Post: RE: Compiler/ADS1261EVM: ADS1261EVM eval board control utilizing serial port communication (C++ independent program)

Hi Freddy, [quote user="Freddy Pena"] However, for some reason whenever I read the data set I get certain undesirable characters (example the string below). It becomes very difficult to parse and some of he data really makes no sense. "\x00\xFF\xFF`\x00\xFF\xFFr\x00\xFF\xFFu\x00\xFF\xFFj\x00\xFF\xFFi\x00\xFF\xFFj\x00\xFF\xFF""c\x00\xFF\xFFi\x00\xFF\xFF""d\x00\xFF\xFFpEND\x00" [/quote] It looks like you are either getting corrupted data OR for some reason your software is deciding to decode some bytes as ASCII characters. My guess is the later issue. Therefore, " \x00\xFF\xFF` " is really 00 FF FF 60, where " ` " is the character represented by \x60. By following this logic for the rest of your your string the data seems to make sense to me, assuming you are measuring a near 0V signal.

Viewing all articles
Browse latest Browse all 27635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>