AnsweredAssumed Answered

for LPC1769, is there a time delay needed when configuring SSP/SPI channels to transition between 16 and 8 bit transfer modes?

Question asked by Piero Generale on Nov 7, 2018
Latest reply on Nov 9, 2018 by Victor Jimenez

We have 2 devices on the SSP0 but, one needs the usual 8 bit (byte) data transfers, but the other needs a 12 bit transfer (for which we configure SSP0 to send 16 bits). Since we talk to one device followed by talking to the other, we are constantly re-configuring. The device that used the 16 bits seems to be dropping data sometimes. When I inserted a delay before reconfigure to 16 bits, the data seems to have cleaned up. But the delay was 3 instructions. I wanted to find out if this is an issue and the proper way to address it is a delay. 

Thanks for any advice.

Outcomes