Using UART2
Posted: Wed Jan 30, 2019 2:15 pm
Hi there,
In order to overcome the logging issue where you cannot log to the SD card while using the Loco Positioning Deck, I want to use a DWM1000 module that sends its range estimate using serial to the RX port of UART2. While looking into uart2.h, I found that it does not have the same functions as uart1.h. When I want to read data over UART2, do I have to re-implement the function uart1Getchar but then for uart2? Since uart2.h only has functions for sending.
Kind regards,
Stein
In order to overcome the logging issue where you cannot log to the SD card while using the Loco Positioning Deck, I want to use a DWM1000 module that sends its range estimate using serial to the RX port of UART2. While looking into uart2.h, I found that it does not have the same functions as uart1.h. When I want to read data over UART2, do I have to re-implement the function uart1Getchar but then for uart2? Since uart2.h only has functions for sending.
Kind regards,
Stein