AnsweredAssumed Answered

MQX 3.8.1 SPI does not work

Question asked by Scott Sussman on Aug 20, 2012
Latest reply on Dec 28, 2012 by Ali2006

I installed MQX 3.8.1 on my computer.  I was surprised I had to overwrite 3.8.0.

 

I compiled the libraries for the K60 using the Keil compiler and then compiled my "Working" 3.8.0 application.

 

First thing I discovered was that the application was no longer reading or writing to E2 memory through SPI.

 

I debugged into the MQX codes and was surprised to see that the SPI code had completely changed.

The FULL_DUPLEX option was now required to read from SPI.  I added the parameter to my fopen command and this still did not fix the issue.

 

I complied the libraries to work with the K60 tower kit and then compiled the SPI example code.  This code did not work.

It printed the error messages that the data read back in did not match the data written.

 

We need to move to MQX 3.8.1 because we are about to use the K20 processor that is only supported in 3.8.1.

 

Here are my questions:

Has MQX 3.8.1 been tested with the K60 and Keil?

Why weren't the changes to SPI mentioned in the changes document?

Is there a work around to get my code working now?

When is an update to 3.8.1 going to be available.

 

Thank you

Outcomes