How to configure imx6q second way SPI

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

How to configure imx6q second way SPI

520 Views
linhaiboyy
Contributor II

I use the mx6q development board, the kernel is linux3.0.35, SPI operation according to the information on the web, now in the SPI chip select signal line is sent every eight men
Pull high chip select signal, the next byte start signal until the end of eight low to high. I want to make a chip select signal to send data until the low level.
All data sent to the high end, how to configure??

Labels (1)
2 Replies

442 Views
linhaiboyy
Contributor II

Hi,

I do what you mean,I can field ECSPIx_CONREG[BURST_LENGTH] by SPI test program,but send byte over 32bit ,the kernel will crash.

Thanks for your early reply.

Best Regards,
Lin Haibo
0 Kudos

442 Views
igorpadykov
NXP Employee
NXP Employee

Hi

please set proper field ECSPIx_CONREG[BURST_LENGTH]

described in sect.21.7.3 Control Register (ECSPIx_CONREG)

i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

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