It does not work with "mbed Application Shield" + K22F combination. Aabout how to solve it.

With the combination "mbed Application Shield" + K22F, the program does not start even if it is reset after programming. The reason is that D4 on the K22F side is assigned to the NMI, and the pulldown of the shield is affected. NMI is detected in a short window at boot time and it is down.

As a solution, press the reset button while holding down the center switch. It can be avoided by releasing the center switch after releasing the reset. (NMI does not occur after booting even if D4 is set to Low signal)

As a fundamental solution, remove the pull-down resistor R7 (47K) on the shield side. /media/uploads/shironeko/remover7.jpg Since the terminal is open, it is necessary to enable internal pull down by program.

DigitalIn fire(D4);

DigitalIn fire(D4, PullDown);


Please log in to post comments.