I am trying out this board by mbed.
Though I know that this one is not among those official supported platforms, it works at some degree. Those two leds can work, and MMA8451Q works, and MAG3110 works, and Light Sensor works as well. However, the 4-digit LCD did not.
The most strangest thing is that: I can compile the program and downloaded it to KL46Z but an error message will come out whenever I tried to access any one of those pins others than the aforementioned components' pins.
The error message is: pinmap is not found!
I tried to edit the PinNames.h file of KL25Z to fit it to KL46Z, but it did not work. But, it is curious why leds, MMA8451Q, MAG3110 and light sensor work?
Maybe the details hide in those assembly files, who knows?
Still scratching my head!
Now, mbed has officially suppported this platform and it just works fine with the mbed and mbed-src libs. And the link to my code is as follows:
I have a Nokia 6100 LCD shield with a 9 bits SPI interface, later I will try out the software SPI suggested by Erik since KL25Z and KL46Z support only 8 and 16 bits SPI modes.
32 comments on FRDM-KL46Z:
Please log in to post comments.