cancel
Showing results for 
Search instead for 
Did you mean: 

stm32n657-dk evb with spi interface

Kumar123
Associate III

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.

 

1 REPLY 1
mƎALLEm
ST Employee

Hello,

You mean PE15 not PE11:

mALLEm_0-1766742121609.png

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.

mALLEm_1-1766742352632.png

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.

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.