Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
1 year, 10 months ago.
How I can clear SPIslave MOSI buffer?
Hi.I want to communicate as SPI with multiple devices such as 2 ~ 4. But when the SS pin states HIGH, I need to do not receive the data from master but it retuned 1(spi.receve() == 1). So I think when MOSI buffer have some datas, It need to clear the buffer of MOSI.
How I can clear the MOSI buffer.
What is the SS pin for? Is it worth present?
I use SPIslave with NucleoF303k8t6. Main is F446re.
Assigned to1 year, 10 months ago.
This means that the question has been accepted and is being worked on.