06-06-2018 01:47 AM
I'm trying to send data from a .bin file vía UART to an UltraScale+.
I use the xuartps library from Xilinx.
From Matlab I generate a .bin file where i write the data to be sent.
I configure the UART driver with an interrupt, that triggers when N bytes arrive.
The problem arrives here:
If I send, for example, 8 bytes:
102 76 14 14 117 4 3 32
The interrupt doesn't trigger.
Then, I manually send 4 chars ('f') vía keyboard, and the interrupt occurs.
The system receives:
102 76 117 32 113 113 113 113
113 is the ascii code for 'f'.
In other words, it ignores every byte with values smaller than 32.
IDK if it's a coincidence, but it's not receiving bytes with no symbol in ASCII: (I tried with other values)
As you can see here:
Any idea of what's going on?
Thanks in advance ;)