cancel
Showing results for 
Search instead for 
Did you mean: 

1 bit SPI data sending - STM32F7

Remi99
Associate II

Hi all ! 

 

I want to transmit 1 bit on the SPI1 of my STM32F7.

I see that the minimum datasize to transmit is SPI_DATASIZE_4BIT. So I guess I can't send only 1 bit of data on my bus.  I am wrong ? 

My final goal is just to have 1 clock period on the SPI bus.

 

have you got any clue for that ?


Thank you for your help.

Best regards.

Remi

3 REPLIES 3
AScha.3
Principal III

Hi,

sorry, i see no sense .  spi = serial/parallel interface ; sending 1 bit frame is nonsense here. and impossible.

explain, what you want to do - set some ws.. leds or whatever. then we can find a way to do it...(maybe)

If you feel a post has answered your question, please click "Accept as Solution".

Hi, 

I work on a with a STM32F7 linked with a chip by a SPI bus (easy until now).
Also, the STM32F7 and the chip are linked by a pin (ouptut for the STM32, input for the chip). When the pin goes high, the signal must be "validated" by a 1 spi SCLK period (there is no direct link between this pin and the spi).

Remi99_0-1700480034007.png

This behaviour is required by the chip...

I hope you will be able to help.


i cannot find my big blue glass sphere ...

so maybe better, you say which chip we talk about.

If you feel a post has answered your question, please click "Accept as Solution".