![]() |
i.MXRT1060 Middleware Pack
Version 1.0.0
MDK-Middleware examples and CMSIS-Drivers for NXP i.MXRT1060 devices
|
The CMSIS-Driver for UART Interface is part of NXP DFP, below is an explanation on how UART1 driver can be used with MDK.
To use the CMSIS-Driver UART1, do the following:
lpuart1.c
file form <PACK_root>\Templates
to <project_dir>
and add it to the projectRTE_Device.h
file form <PACK_root>\CMSIS\Driver\Config
to <project_dir>\RTE\Device\<selected_device>
LPUART1_InitPins
and LPUART1_DeinitPins
functions (refer to the pin configuration below)CMSIS-Driver for UART1 Interface Setup
The CMSIS-Driver UART1 Interface requires:
Valid pin settings for UART1 peripheral on EVK-IMXRT1060 evaluation board are listed in the table below:
# | Peripheral | Signal | Route to | Direction |
---|---|---|---|---|
L14 | LPUART1 | RX | GPIO_AD_B0_13 | Input |
K14 | LPUART1 | TX | GPIO_AD_B0_12 | Output |
The rest of the settings can be at the default (reset) value.
For other boards or custom hardware, refer to the hardware schematics to reflect correct setup values.
In the MCUXpresso Config Tools, make sure that the following pin and clock settings are made (enter the values that are shown in italics):