This thread has been locked.

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.

TMS320F28335 SPI Char Length update

Other Parts Discussed in Thread: TMS320F28335

The SPI available on TMS320F28335 is used to communicate with a FRAM memory and it is configured to transmit words 8 bit.

This configuration is required to transmit a set of short command (8 bit).

When I write to / read from the FRAM the related message is composed as follows:

- 8 bit command (WRITE/READ)

- 24 bit address

- N * 8 bit data (send/received)

Since I read / write sequence of 16bit words, maybe useful switch the word length from 8 bit to 16 bit to reduce the overhead of the transmission.

Simply change the SPICCR.SPICHAR value from 0x7 to 0xF (and then back to 0x7 at operation completion)?

I performed this update (without force the SPI in reset state) and all seams work properly, but I'm not sure if I could have some side effect.

Thanks for your advice