4 years, 6 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.

Be the first to answer this question.

Assigned to Daiki Tomioka 4 years, 6 months ago.

This means that the question has been accepted and is being worked on.