Other Parts Discussed in Thread: TM4C123GH6PM, EK-TM4C123GXL, ENERGIA
Hi,
I've been trying to understand how the SSI works on the lm4f120h5qr, in particular how back-to-back transmissions work. In the ADXL345 datasheet it is said that "all axes of interest should be read in a burst (or multiple-byte) read operation.". As such, there needs to be a succession of reads on the launcpads side, without setting the Fss pin high. From reading the data sheet I believe this is possible, "For continuous back-to-back transmissions, the SSIFss pin remains in its active Low state until the final bit of the last word has been captured and then returns to its idle state as described above." .
So, to my question.
How do I make sure that the lm4f120h5qr keeps the pin low throughout the whole transmission?
In total I want 6 bytes to be read from the ADXL345 (2 bytes for each axis). How does the SSI know to stop?, How does the ADXL345 know to stop?
My understanding is I send a read bit along with a multi-byte bit, followed by the address of the data registers, and from there I am unsure. If anyone could provide any information on this I'd be very greatful!
regards
Luke.