2025-12-10 4:57 AM
I have a new STM32N6570-DK MCU, I am running a simple program configuring ADC1 with the help of STMcubeIDE, selecting application mode, in secure mode, I have connected one sensor who is biased at 1.5V to A2 of MCU as well as ground of sensor and MCU are connected, code has been generated with some basic settings, It is not getting Debug properly, sometimes code is crashing before entering in main, sometimes board is not responding at all, before that I tried blink LED that worked
Kindly tell me the proper steps to make this code run
Is there any proper step to initialize the MCU when using for first time?
Is application mode in secure version is okay for data extraction from analog sensors with the help of ADC
I am attaching the related files, kindly reply
2026-01-12 2:01 AM
Hello,
Do ADC Nucleo HAL example is working properly ADC_SingleConversion_TriggerTimer_DMA ?
It would be a good trial to preliminary verify your debug environnement.
Regards,
Simon
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.