Part Number: AM5716
Hello TI Team,
"Questions"
I want to confirm that the board can send and receive UART.
I am trying to check using "UART_printf" for UART transmission and "UART_scanFmt" for UART reception.
In the PDK, I found a simple source code "buzzer_test.c" that uses the above two functions, so I am using it as a reference to implement the test code.
⇒C:\pdk_am57xx_1_0_15\packages\ti\board\diag\buzzer\src\buzzer_test.c
UART_printf" is working properly, but "UART_scanFmt" is not working (not accepting input).
Do you have the necessary code, configuration, environment, etc. to run UART_scanFmt?
"Operation Procedure"
1. Have a microSD for SD boot that runs the test code, and set it on the board (with the power off).
2. Connect the board and PC serially, and connect to the board with Teraterm from PC.
3. Turn on the power of the board and run the test code.
4. The text output by UART_printf will be output on Teraterm.
5. Type one character on Teraterm and press Enter, because it is supposed to be waiting for input by UART_scanFmt.
6. The input character is supposed to be output on Teraterm, but actually nothing happens (only carriage return is performed by Enter).
"Contents of the test code used"
After executing Board_init(boardCfg), "buzzer_test" function in buzzer_test.c is executed.
However, in the "buzzer_test" function, all the processes related to GPIO are commented out.
(We just want to check the operation of "UART_printf" and "UART_scanFmt".
The following flags are set in boardCfg passed to board_init.
BOARD_INIT_PLL_OPP_NOM
BOARD_INIT_UNLOCK_MMR
BOARD_INIT_MODULE_CLOCK
BOARD_INIT_PINMUX_CONFIG
board_init_ddr
board_init_uart_stdio
board_init_watchdog_disable