After building the SDK (v25.12.00) for MCUXpresso IDE (v25.6) using the MCUXpresso SDK Builder and importing the example project “frdmmcxa346_smartdma_keyscan”, an error occurs when debugging on the FRDM-MCXA346 board, as shown in the figure below, and the debugger cannot be launched.
After rebuilding the project for Keil, the program can be downloaded and debugged normally using Keil. However, the key scanning implemented by the SmartDMA firmware is obviously too sensitive: even when no button is pressed, key events are continuously triggered, which does not match the behavior described in AN14770. When switching to a traditional approach where the CPU actively scans the keys in the main loop, the key state is read correctly.
I would like to ask:
Does the example project “frdmmcxa346_smartdma_keyscan” exhibit this issue when being debugged with MCUXpresso IDE?
Does NXP provide any tool that allows directly downloading a .hex file?
Is the overly sensitive key detection in the “frdmmcxa346_smartdma_keyscan” example caused by the SmartDMA firmware itself?
Additionally, the P3_28 and P3_27 pins used in the frdmmcxa346_smartdma_keyscan example are I2C pins. On the FRDM-MCXA346 board, these pins are connected to pull-up resistors R25 and R24, which I have already removed.