Associate III
September 7, 2019
Question
Send 32bit data on SPI protocol
- September 7, 2019
- 7 replies
- 4063 views
Hello,
For communicating with a sensor I need to send 32 bits as a clock for my sensor. As you can see in the 8-bit data transmission an interruption occurs during sending 4 bytes which is unpleasant for my communication.
I wrote a Software SPI (bit-bang) with a timer but for low speed communication (even 200Khz) it makes my MCU slow (subroutine of time should be triggered each 2 us). How can I do for deleting the small interruption in Hardware SPI by using a software trick?
