cancel
Showing results for 
Search instead for 
Did you mean: 

SPI communication

Pv.6
Associate II

Hi,

we are trying to communicate with STM32F769I discovery board as spi slave with another master device.

We wanted to know how to configure the Chip select line

4 REPLIES 4
KnarfB
Principal III

In a point to point master/slave connection, there is no need for a chip select. See https://www.st.com/content/ccc/resource/training/technical/product_training/group0/3e/ee/cd/b7/84/4b/45/ee/STM32F7_Peripheral_SPI/files/STM32F7_Peripheral_SPI.pdf/_jcr_content/translations/en.STM32F7_Peripheral_SPI.pdf

you will find SPI samples in the downloaded/downloadable firmware like STM32Cube_FW_*/Projects/*/Examples/SPI/*

Frank

How to configure spi frequency for 1 Mhz?
How to test without cs?
Hello Frank,
How to configure spi clock for 1Mhz,
How to test without using cs?
Any updates?
Thank you
Pravalika
KnarfB
Principal III

Open STM32CubeMX, choose your board, set Clock Configuration, chosse the SPI under Pinout & Configuration, increase Prescaler (for Baud Rate.) and set the other parameters to your need, generate the code for your IDE.

Frank