![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This project serves as a template for work with the Freescale FRDM-KL46 board. Support will be added to all on-board peripherals, sensors and I/O.
Dependencies: FRDM_MMA8451Q MAG3110 TSI mbed
Project Information:
Theory
This project has been created to serve as a template for those who wish to use the Freescale Freedom FRDM-KL46Z board. Existing drivers within mbed have been brought together and board specific configurations for certain inputs and outputs have included.
Libraries
- TSI (source: http://mbed.org/users/emilmont/code/TSI/ ) Capacitive Touch library to support the on-board Touch-Slider
- FRDM_MMA8451Q (source: http://mbed.org/users/clemente/code/FRDM_MMA8451Q/ ) Freescale MMA8451 Accelerometer connected on I2C0
- MAG3110 (source: http://mbed.org/users/mmaas/code/MAG3110/) (based on: http://mbed.org/users/SomeRandomBloke/code/MAG3110/)
TODOs
- Add support for Segment LCD - intend to use driver in example code: http://cache.freescale.com/files/32bit/software/KL46_SC.exe
Hardware Information:
FRDM-KL46Z Information
- User Guide Guide: http://cache.freescale.com/files/microcontrollers/doc/user_guide/FRDM-KL46Z_UM.pdf
- Schematics: http://cache.freescale.com/files/microcontrollers/hardware_tools/schematics/FRDM-KL46Z_SCH.pdf
Freescale Kinetis L-Series Microcontroller Information
- Kinetis KL46 Drop Page: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL4x
- Kinetis KL46 Fact Sheet: http://cache.freescale.com/files/microcontrollers/doc/fact_sheet/LSERIESKL4FS.pdf
- Kinetis KL46 Reference Manual: http://cache.freescale.com/files/microcontrollers/doc/ref_manual/KL46P121M48SF4RM.pdf
- Kinetis KL46 Data Sheet: http://cache.freescale.com/files/microcontrollers/doc/data_sheet/KL46P121M48SF4.pdf
Freescale Sensor Information
MMA8451Q
MAG3110
History
Added Ticker interrupt as heartbeat and then flash green led in main loop. for heart beats.
2014-01-04, by mmaas [Sat, 04 Jan 2014 05:54:25 +0000] rev 8
Added Ticker interrupt as heartbeat and then flash green led in main loop. for heart beats.
Changed back to pre-compiled mbed library.
2014-01-04, by mmaas [Sat, 04 Jan 2014 04:40:00 +0000] rev 7
Changed back to pre-compiled mbed library.
Cleaned up code - added loop polling all inputs and routine to print add values formatted nicely to serial port.
2014-01-04, by mmaas [Sat, 04 Jan 2014 02:33:13 +0000] rev 6
Cleaned up code - added loop polling all inputs and routine to print add values formatted nicely to serial port.
Updated project with MAG3110 calibrate routine in the library rather than at the application level.
2013-12-31, by mmaas [Tue, 31 Dec 2013 17:19:02 +0000] rev 5
Updated project with MAG3110 calibrate routine in the library rather than at the application level.
Moved the calibrate operation into the MAG3110 library.
2013-12-31, by mmaas [Tue, 31 Dec 2013 17:16:57 +0000] rev 4
Moved the calibrate operation into the MAG3110 library.
Added support for MMA8451Q and MAG3110 with calibration function.
2013-12-19, by mmaas [Thu, 19 Dec 2013 20:05:17 +0000] rev 3
Added support for MMA8451Q and MAG3110 with calibration function.
Online mbed library was updated with fix for enabling pullups on GPIO. Removed local library and added back online library. Works.
2013-12-19, by mmaas [Thu, 19 Dec 2013 15:39:52 +0000] rev 2
Online mbed library was updated with fix for enabling pullups on GPIO. Removed local library and added back online library. Works.
Confirmed support for two on-board LEDs. Confirmed references and included defines for values corresponding to ON and OFF states.
2013-12-18, by mmaas [Wed, 18 Dec 2013 21:17:13 +0000] rev 1
Confirmed support for two on-board LEDs. Confirmed references and included defines for values corresponding to ON and OFF states.
This project serves as a foundation for work with the Freescale FRDM-KL46Z board. This commit simply provides the USB serial console and uses a temporary copy of the mbed libraries with a couple of fixes for KL46 support.
2013-12-18, by mmaas [Wed, 18 Dec 2013 20:27:34 +0000] rev 0
This project serves as a foundation for work with the Freescale FRDM-KL46Z board. This commit simply provides the USB serial console and uses a temporary copy of the mbed libraries with a couple of fixes for KL46 support.