Hello,you've noted NSS pin as an output, so I suppose the WB device is mastering the bus. Of course, once the NSS flows out from its non active level, it can be understand by slave as a valid communication start what causes synchronization issue (as ...
Hello,you've enabled full duplex mode. Correct function is HAL_SPI_TransmitReceive at this case. It depends on protocol with the device. I suppose you need to provide 8x SCK to write a command and then next 8x SCK to read the device status. You can c...
Hello,at new SPI applied at H5, the master starts the data transfer once the CSTART bit of the SPI_CR1 register is set, provided the SPI is enabled and the TxFIFO content is not empty. Both the SPI_TXDR and SPI_RXDR are sensitive to data casting (asm...
Hello,DMA features no synchronization with SPI NSS. Once the DMA channel is enabled it starts to handle all pending RXNE and TXE events exclusively (till it is disabled) similarly like SPI interrupt service just enabled. Initialization and synchroniz...