The UART receives data just in char type?

I want to send over UART one byte per time (from MATLAB) and then store 2 bytes in the same variable in the nrf52832.

But I don't know why I'm not able to read anything else from char characters through UART, in fact if I'm sending for example uint8 values, the UART would read random things.

Thank you,

Chiara

Related