Hello
How to use the UART_B in Linux? It looks like it is not in the device tree.
Hello
How to use the UART_B in Linux? It looks like it is not in the device tree.
Hi Gordon ,
in order to use the UART_B (lpuart0) via Linux, the Cortex-M needs to configure the tRDC and turn on the clocks.
It should be sufficient to configure the T-MBC2 for domain ID 7.
Please note that the Cortex-A can only access the peripheral registers. Interrupts via lpuart0 for the Cortex-A will not be received as this is not implemented in the GIC.
For this reason I would not recommend direct access to lpuart0 via Linux.
If you want to use UART-B (lpuart0) or UART-D (lpuart1), the easiest way would be to control them directly through the real-time domain via the Cortex-M.
Ok,
I'm trying to use uart_c and getting high latency. I was looping TX to RX. I'm sending 39 bytes. Start timer and wait for recv of all 39 bytes. Latency is around 57 ms. How to reduce this latency?