Loading...
Pages: [1]   Go Down
Author Topic: SPI word length  (Read 327 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The SPI device I am trying to communicate with has 24bit per word communication. 8bit register address + 16bit data. How to I configure my arduino?
Logged

Toronto, ON
Offline Offline
Full Member
***
Karma: 9
Posts: 233
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you give us a little bit more information on what device you're using, we could help a lot more.

SPI is extremely straight forward.  The Atmel controllers have a hardware SPI port which sends 8 bits at a time.  So, depending on how your device works, it could be as simple as sending 3 bytes using the SPI port.

b
Logged


Pages: [1]   Go Up
Print
 
Jump to: