i.MXRT1060 Middleware Pack  Version 1.0.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 RTE_Device.h that opens from the Project window under Device.

Note
The device family packs from NXP provide 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 CMSIS-Drivers provided with NXP DFP (I2C, SPI or USART), it is necessary to copy the file RTE_Device.h 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 file from NXP's DFP does not contain all settings for the CMSIS-Drivers provided by the NXP DFP pack. Do not forget to remove the 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.