2015-12-14 04:42 PM
Hello,
I want to use SPI to create a NRZ Style pattern. Everything is ok, except that I need MOSI to be low in between transmissions. Currently MOSI goes high after last byte shiftet out. I created a CubeMx project to configure and use HAL_SPI_Transmit() to send data. How can I set MOSI default pin level? Regards, Adib. -- #stm32-spi-mosi2016-03-11 05:55 AM
Hello
have the same problem, did u solve this issue?2016-03-11 10:53 AM
You can't really get that functionality with the SPI peripheral. You'd have to disable it, and use the MOSI pin as GPIO.
Are you using the SPI clock for synchronization?2016-03-11 12:33 PM
Hello
i'm trying to control ws2812b led strip with SPI mosi line, without clock the protocol is: ''0'' of ws2812 is ''100'' of SPI mosi ''1'' of ws2802 is ''110'' of spi mosi, ws2812b requires logic low after transfer and on idle