7 years, 1 month ago.

Error when I used SPI example on the FRDM-K64: Not allowed in ISR context

Getting an error when I try to run the SPI example provided by the mbed official website on the K64:

ERROR Mutex 0x20003284 error -6: Not allowed in ISR context

CODE

/media/uploads/Xshell/codes.png

2 Answers

7 years, 1 month ago.

Interesting. I just ran the example here with and without a SPI peripheral attached, and I did not see this error. I also changed the example to use the pins that you've set, and I did not see the error.

Here are the details of my board firmware:

Daplink Mode: Interface

Interface Version: 0243

Git SHA: b403a07e3696cee1e116d44cbdd64446e056ce38

You could try updating the firmware. Otherwise, I can't reproduce.

7 years, 1 month ago.

Dick,

Can you please provide an example program we can try to import to duplicate the issue?

try updating your mbed-os version to latest, do you still see a problem?