2019-07-04 05:50 AM
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
2019-07-04 06:02 AM
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
2019-07-04 07:27 AM
2019-07-08 10:15 PM
2019-07-08 11:29 PM
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