Setting Control Register Bits over SPI
Posted: Sat May 25, 2013 3:53 pm
Hi guys,
I have a peripheral SPI IC and need to set the control registers bits
There are 3 control registers, each 32 bits in length.
Using the legacy SPI component can i simply send the string of bits in one go or do I have to send a single byte at a time?
would the following work using SPI_Send_Char
0x8FFFFF71
or even
0b00011111111111111111111111101000
Or do I need to do four seperate SPI_Send_Char opertions to get the 32 bits sent?
Thanks,
J.
I have a peripheral SPI IC and need to set the control registers bits
There are 3 control registers, each 32 bits in length.
Using the legacy SPI component can i simply send the string of bits in one go or do I have to send a single byte at a time?
would the following work using SPI_Send_Char
0x8FFFFF71
or even
0b00011111111111111111111111101000
Or do I need to do four seperate SPI_Send_Char opertions to get the 32 bits sent?
Thanks,
J.