2021-10-08 01:47 AM
Hello Community,
I'm trying to send some messages via uart using HAL_UART_Transmit. Those messages contain some extended ASCII Characters. I can´t get those characters and that's why i'm asking if someone could help me to send extended ASCII charcters.
Thanks!
Solved! Go to Solution.
2021-10-08 04:09 AM
The function HAL_UART_Transmit() does not care about character formatting, it just send a bunch of data with 7/8/9 bits each. What you have to do now is to sort the bytes of the character set and send it one after the other so that they can be received by the recipient as your expected Extended ASCII set.
Of course you have to know what has to be transmitted, i.e. exactly how your character set is structured, because there is not only one definition of Extended ASCII, see here.
Regards
/Peter
2021-10-08 04:09 AM
The function HAL_UART_Transmit() does not care about character formatting, it just send a bunch of data with 7/8/9 bits each. What you have to do now is to sort the bytes of the character set and send it one after the other so that they can be received by the recipient as your expected Extended ASCII set.
Of course you have to know what has to be transmitted, i.e. exactly how your character set is structured, because there is not only one definition of Extended ASCII, see here.
Regards
/Peter