|
Readme
This is a C language project demonstrates universal
asynchronous receiver transmiter (UART) serial input/output
using UART0. The project uses interrupt synchronization.
FIFO queues are used to buffer data from
foreground (main) and background (UART0 ISR).
UART0 is attached to the PC using the USB cable,
creating a virtual serial port on the PC.
main1 tests UART character input/output.
main demonstrates printf.
Sorry, scanf does not work. It input data from the
terminal you can use functions like UART_InChar, UART_InString,
UART_InUDec,
and UART_InUHex.
When running this project, the USB cable must be attached
to the PC and a terminal program (Putty or CCS terminal) must be
opened with a baud rate of 115200 bits/sec.
Derived from Texas Instrument code
- uart_rw_multibyte_fifo_poll_LP_MSPM0G3507_nortos_ticlang
- uart_echo_interrupts_standby_LP_MSPM0G3507_nortos_ticlang
- gpio_toggle_output_LP_MSPM0G3507_nortos_ticlang
|