cancel
Showing results for 
Search instead for 
Did you mean: 

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

勝後藤.1
Associate II

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

2 REPLIES 2

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

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