2025-06-11 12:53 AM - edited 2025-06-11 2:15 AM
Hi everyone,
I’m currently working with the STM32N6570-DK board and trying to read an analog signal using the ADC1/2 INP8 channel (PB10) using the MB1280C Fanout board (Pin 13) with STMOD+ connector. However, I'm consistently getting a value around 2000 (high impedance value), regardless of whether I connect the pin to GND or a 1.8V source.
For reference, I’ve used similar code on the STM32F441-RE board where it works perfectly, so I suspect this might be related to board-specific settings.
I’m attaching my full project for reference.
Solved! Go to Solution.
2025-06-12 10:10 PM
Thanks @RomainR. it worked like a charm.
Can you please tell RIFSC->RISC_SECCFGRx how the x register has been specified in the RM0486. Is it taken up from Table 20. Because in the header file how has it been written. A bit confusing if I have to enable for another Non-RIF aware peripheral.
2025-06-13 11:16 PM
Hi @athern27
RISUP needs to be configured to allow non-secure peripheral (here GPIO PB10) to access to secure peripheral (here ADC1)
And the rules are as below:
Best regards,
Romain,
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.