K60 SPI driver in MQX3.8 is not working in mode#1

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

K60 SPI driver in MQX3.8 is not working in mode#1

732 Views
bhaskar_naik
Contributor I

Hi,

If we configure SPI driver(polled), in Mode#1 or Mode#3 then last bit received always ‘ONE’.

But it works fine with Mode#0 and Mode#2. Please let us know is there any known issue with K60 SPI driver? If not what could be the reason? Also we are observing chip select is active for at least 16 clock cycles, even though word size is 8 bit. I have attached the signal capture for your reference.

(MQX 3.8 K60 platform. K60N512 tower board.)

 


Original Attachment has been moved to: README.txt.zip

Labels (1)
Tags (4)
0 Kudos
1 Reply

412 Views
Luis_Garabo
NXP TechSupport
NXP TechSupport


Hi bhaskar ,

 

The SPI driver has been significantly rewritten in the MQX 4.0 and there is no distinct interrupt or polled driver type. What results are you getting if you use MQX 4.0?

Regards,

-Garabo