ESPLOG and UART0 coexistance for own use
Posted: Wed Jun 15, 2022 9:11 am
Hi there,
I'm looking for an information I couldn't find after an hour of investigating.
The EPSLOG uses by default the UART0 which also is the only UART on the board I've to dev for.
Is it possible to also use the UART0 for our own purpose besides the ESPLOG?
I played a bit with the UART functions like
setting up with uart_config_t uart_config = {...} and uart_param_config(0, &uart_config)
installing the UART driver with uart_driver_install(...),
getting the information like using uart_is_driver_installed(...) to figure things out a bit.
I saw that though the ESPLOG uses the UART0, uart_is_driver_installed(...) did return that UART0 is not active, I had to first call uart_driver_install(...) so UART0 was told active.
And this leads me to the question, do I interfere somehow with whatever the ESPLOG sets up for the UART0?
Thanks and best regards.
I'm looking for an information I couldn't find after an hour of investigating.
The EPSLOG uses by default the UART0 which also is the only UART on the board I've to dev for.
Is it possible to also use the UART0 for our own purpose besides the ESPLOG?
I played a bit with the UART functions like
setting up with uart_config_t uart_config = {...} and uart_param_config(0, &uart_config)
installing the UART driver with uart_driver_install(...),
getting the information like using uart_is_driver_installed(...) to figure things out a bit.
I saw that though the ESPLOG uses the UART0, uart_is_driver_installed(...) did return that UART0 is not active, I had to first call uart_driver_install(...) so UART0 was told active.
And this leads me to the question, do I interfere somehow with whatever the ESPLOG sets up for the UART0?
Thanks and best regards.