2025-12-26 1:23 AM - last edited on 2025-12-26 1:54 AM by mƎALLEm
Hi Team,
Currently, I am working on the STM32N657-DK EVB with an SPI interface (ADS118 sensor). I have enabled SPI5 in the .ioc file.
The configured pins are:
PE11 – SCK
PH8 – MISO
PG2 – MOSI
PA3 – CS
According to the schematic, these pins are connected to the CN12 connector. My question is whether these pins can communicate correctly using the SPI5 interface or not.
Secondly, I want to generate PWM signals. Could you please let me know which pins are suitable for PWM generation on this board? I tried using the CN11 and CN12 connectors to drive PWM signals on pins such as PE9, PE10, and PE11, but PWM is not being generated.
Kindly let me know your inputs.
2025-12-26 1:45 AM - edited 2025-12-26 2:05 AM
Hello,
You mean PE15 not PE11:
Yes you can use these pins for SPI5 to connect an external SPI device. These pins on the board are free and not connected internally except for PE15.
You can remove SB25 solder bridge to prevent any issues. But at the moment I suggest to keep it there until you find issues in the clock. I don't think R134 (1M) nor the Q2 MOS will disturb the SPI clock.
For the second question, I suggest to open a new thread (more related to PWM configuration not to the board itself) in "STM32 MCUs Embedded software" forum board.