06-26-2019 02:28 AM
Hi sir/ma'am
i have to convert my 5 byte of data numeric to hexadecimal, i'm using number to hexadecimal string function, but in chipscope for every byte 3 is adding i'm getting wrong data in chipscope .\
Issue:-
In chipscope tool i'm getting given data,but 3 numeric is adding
06-26-2019 02:41 AM
06-26-2019 03:49 AM
Hi gerdW,
my chipscope is expecting any decimal (or) hexadecimal data .
thanking you for responding.
06-26-2019 06:18 AM
Sounds like a problem on the receiving side. Or the communication. The sending seems right.
Are you using the expected baudrate (parity, handshaking, etc.)?
06-26-2019 10:46 AM
@saikiranbusharaju wrote:
my chipscope is expecting any decimal (or) hexadecimal data.
That is still not clear. You can express a number as a decimal or hexadecimal value, but it is still a raw 8-bit value. Or you do a conversion so that the hexadecimal values are in ASCII (I call this ASCII Hex, you can read the data in a text editor).
So where is this value supposed to be read? Do you have any documentation on how to write to the software?