Skip to main content
勝後藤.1
Associate II
March 10, 2021
Question

About half-duplex communication (Rx frame size is 3)

  • March 10, 2021
  • 1 reply
  • 867 views

Hello,

Is it possible to perform half-duplex communication like the attached document?

The Rx frame size is 3 instead of 1.

Can STM32F7 receive continuously?

Please tell me the control method for continuous reception.

Goto

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
March 10, 2021

SPI module does have bidirectional mode, but using it is somewhat tricky because as soon as you turn to Rx, clocks automatically are generated until you turn it back again. So code must time the whole process relatively precisely.

JW

勝後藤.1
Associate II
March 10, 2021
After changing to Rx, can I receive 3 bytes continuously as shown in the figure?
In that case, should I use RXFIFO?
Is it possible to select only 8-bit or 16-bit data size for the FIFO?
Goto