cancel
Showing results for 
Search instead for 
Did you mean: 

Send 32bit data on SPI protocol

parisa
Senior

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?

10 REPLIES 10

Please start a new thread, clearly stating what's your problem, together with relevant information on your hardware and used software.

JW