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