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.

Can't change C2000 F28027 SPI to 8bits.

Other Parts Discussed in Thread: ADS1299

Hello!

I am trying to setup my SPI using 8 bits instead of 16. I know that it can be done by changing the last 4 bits of SPICCR.

So, I opened "Example_2802xSpi_FFDLB" and changed only the last four bits as shown in the following image:

The code compiles just fine, but when debugging it returns me to the error (following picture). And then, even if I let it run, nothing shows in my scope.

If the last four bits are set to F, it works just fine and I can see the data and SCLK (as 16 bits) just fine.

What am I missing here?

Also another question: if I change the char length to 8 bits, will the SCLK also change to 8 bits maximum?

My intention is to communicate it with an ADS1299.

I tried to check other threads/sites but there isn't much about it.

Thanks