How to configure SPI to 9-bits operation modes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to configure SPI to 9-bits operation modes

623 Views
stevenyu
Contributor III

Hi Support,

As we know, the 9-bits SPI operation is to use first bit to trigger data, and read data from bit 2 to bit 9. This looks more safe to read whole data correctly. Would you please let us know how to configure I.MX6 to 9-bits SPI mode ?

Our problem is currently, we use 8-bits SPI, and the clock edge and data are too close, and this may read wrong data bit sometimes. Any other method to delay the clock ? 

Thanks a lot !

Regards,

Steven Yu

Labels (1)
0 Kudos
1 Reply

502 Views
igorpadykov
NXP Employee
NXP Employee

Hi Steven

i.MX6Q eCSPI module uses traditional spi timings, seems there is no

way to read data from bit 2 to bit 9, triggering sampling after first bit.

Also module does not provide settings for delaying clock.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos