Hi,
Our solution requires 2 serial ports. We would also like to be able to continue to use the serial port for debugging and QCLI inteface while using another 2 ports for the solution.
In the documentation we see reference to GPIOs for 5 UARTs, namely M0&M4 UART0, M0&M4 UART2, HS_UART0_DM, HS_UART1_DM, HS_UART2_DM.
However, in the SDK there is only reference to 2 UARTs - Debug and HS.
Is there any documentation on how to access HS_UARTx_DM? if so, where can we find more information about it?
Many thanks,
Rani
QCA4020 has support for 2 UARTs (Debug and HSUART).
Hi manjulak,
We tried to map the Debug UART to GPIO24/25 by updating the GPIO configuration using qapi_TLMM_Get_Gpio functions.
However, it appears that even if we map GPIO24/25 to UART-M4 and set GPIO8/9 to GPIO (func0), then use qapi_UART_Open for debug uart, it is still using GPIO8/9 for debug uart.
Is there a way to use GPIO24/25 for the debug uart? using qapi? or any other way? if so, can you point us to the relevant documentation?
Many thanks,
Rani
CDB4020 device supports both HSUART and DebugUART.
In the current SDK, DebugUART uses GPIO8 and GPIO9. HSUART uses GPIO17 and GPIO60.
We can change the console port value under @QCLI_demo/src/qcli/pal.c
+ PAL_CONSOLE_PORT QAPI_UART_DEBUG_PORT_E // QAPI_UART_HS_PORT_E
When using QAPI_UART_DEBUG_PORT_E , adjust the jumper settings as below:
When using QAPI_UART_HS_PORT_E , adjust the jumper settings as below: