I am new to the NXP ecosystem and I’m struggling to find my way around it.
I have a custom board based on the RT1062 MCU, and I’m using MCUXpresso IDE with the MCU SDK (not the evaluation board SDK).
I tried creating a project in the IDE, then adding the CMSIS UART drivers to test a simple UART transmit function. Since I couldn’t get XIP to work yet on my external flash, I linked the project to run from RAM.
The project builds the first time without any issues.
However, once I open MCUXpresso Config Tools to configure the UART peripheral and rebuild, the project reports missing drivers.
I tried adding them again through SDK Management in Project Properties, but the problem persists.
So my questions are:
Do you have any recommendations or best practices for setting up a project for a custom RT1062 board, especially for boot configuration and ensuring that basic peripherals compile correctly?
Do CMSIS UART drivers require DMA to be enabled?
Is there a simple way to write bare-metal tests for peripherals (UART, I2C, SPI) using only the MCUXpresso IDE, without the need for DMA or higher-level frameworks?
Any guidance would be greatly appreciated.
Hello @yacineykr,
There is not a specific guide for starting a project from scratch, but you can use the SDK examples as a reference to understand how the peripherals work and how they are configured.
Additionally, the SDK (version 25.09) provides examples that demonstrate how to use CMSIS drivers with certain peripherals, as shown in the following image:
On the other hand, CMSIS drivers can be used either with interrupts or DMA, depending on the configurations you apply. I highly recommend using the SDK examples as a reference when developing your application.
Finally, there are no examples that are strictly bare metal, but as I mentioned, you can refer to the SDK examples and those available in the Application Code Hub.
BR
Habib