|
||
---|---|---|
.. | ||
armgcc | ||
board.c | ||
board.h | ||
clock_config.c | ||
clock_config.h | ||
dcd.c | ||
dcd.h | ||
evkbimxrt1050_sdram_init.jlinkscript | ||
lpuart_polling_seven_bits_v3_14.xml | ||
pin_mux.c | ||
pin_mux.h | ||
polling_seven_bits.c | ||
readme.md |
Overview
The lpuart_polling_seven_bits Example project is to demonstrate usage of the KSDK lpuart driver with seven data bits feature enabled. In the example, you can send characters to the console back and they will be printed out onto console instantly. NOTE: Please set com port format to "7 data bits without parity bit" in PC's com port tool
SDK version
- Version: 2.15.000
Toolchain supported
- IAR embedded Workbench 9.40.1
- Keil MDK 5.38.1
- GCC ARM Embedded 12.2
- MCUXpresso 11.8.0
Hardware requirements
- Mini/micro USB cable
- EVKB-IMXRT1050 board
- Personal Computer
- USB to Com Converter
Board settings
Connect pin:
- RX of USB2COM to J22-2
- TX of USB2COM to J22-1
- GND of USB2COM to J24-7
Prepare the Demo
- Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
- Open a serial terminal with the following settings:
- 115200 baud rate
- 7 data bits
- No parity
- One stop bit
- No flow control
- Download the program to the target board.
- Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs successfully, the following message is displayed in the terminal(from USB To Serial Adapter):
Lpuart polling example with seven data bits
Board will send back received characters