stm32n6570-dk sd_sel pin not triggering / VENC_SDCard example code
Hi all,
I have a small issue with the STM32N6570-DK board and the VENC_SDCard example code.
The PN12 pin has a voltage of 0V (card inserted) or 1.80V (no card inserted); on the MCU side, the GPION data register (IDR) always shows a logic 0 in both situations.
The VENC_SDCard / VENC_SDCard_ThreadX example code basically jumps over SD Card detection as it assumes a logic level of 0 == card present. If there is no card, mounting fails and aborts further processing.
I have the requirement to react to card inserts / removals, so I'd like to trigger an interrupt or at least be able to read a logic high once in a while but could not find out what exactly is missing in the code.
* I tested with an empty CubeMX project and set this PN12 to input; here I do see logic level changes.
* I susptected the VDDIO voltage domains to be at 3V3 for that block and manually switched VDDIO_SD to be at 1V8, but that did not show a change as well
* I did not fiddle with security bit settings...
maybe one of you has an idea?
Simon
