A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Interfacing Accelerometer ADXL345 with MSP430F5438
Other Parts Discussed in Thread: MSP430F5438Hi,
I want to perform read and write operation in acclerometer ADXL345 using MSP430F5438. I am using SPI 4 wire mode communication. ADXL is requires 16 bits of data to be sent for read and write operation. First 8 bit corresponds to address of the register and next 8 bit corresponds to data (in case of write operation) or dummy data (in case of read operation). These bits needs to be sent as a continuous stream. But MSP430F5438 can send only 8 bits during one transmission. If i transmit address and data one by one, there is time lag between successive transmission. Please help me to sort out this problem. how can i send 16 bits in a single transmission.
Thanks in advance :-)