i.MXRT1060 Middleware Pack  Version 1.2.0
MDK-Middleware examples and CMSIS-Drivers for NXP i.MXRT1060 devices
 All Files Pages
Configure CMSIS-Drivers with RTE_Device.h

CMSIS-Drivers for I2C, SPI and USART require interface configuration and optional DMA setup. This is configured in the RTE_Device.h that opens from Project window under Device.

Note
The device family pack (DFP) from NXP provides CMSIS-Drivers for I2C, SPI, and USART. This software pack adds CMSIS-Drivers for Ethernet MAC, FLEXCAN, MCI, USB Host and Device. If you use any of the CMSIS-Drivers provided with NXP's DFP (I2C, SPI or USART) it is necessary to copy the RTE_Device.h file from pack directory <PACK_root>\CMSIS\Driver\Config to the project directory <project_dir>\RTE\Device\<selected_device> and overwrite the existing RTE_Device.h, as the original file from NXP's DFP does not contain all necessary settings for related CMSIS-Drivers. Do not forget to remove read-only attribute from the file as otherwise you will not be able to change driver settings.

Continue by configuring the clock and I/O pins.