What is the fastest way to manage slave select manually when trying to send 32 bit data over 16 bit SPI with DMA (STM32WB55)?
Hi,
I'm trying to send 32 bit data with DMA over SPI to a slave device with the STM32WB55 which can only be configured to use hardware NSS with 16 bit transfers at most. I understand that I will likely have to pull the chip select down manually, send 16 bits twice consecutively, and then pull the chip select up and repeat. I would have liked to be able to do this automatically without wasting any time as I will be sending a continuous stream of data. However, if I understand correctly, this cannot be done by hardware for the 32 bit case. I am wondering if there is a fast way to do this without constantly polling a flag or something like that as I also want to send the data received back over bluetooth. Any advice/ thoughts would be much appreciated.
Thanks,
SS
