Difference between revisions of "FRDM KL46Z Blink"

From Webshed
Jump to navigationJump to search
 
Line 5: Line 5:
 
  <br clear=all>Creating a new project, I used the settings shown here.
 
  <br clear=all>Creating a new project, I used the settings shown here.
 
[[File:KDS_Project_type.jpg]]
 
[[File:KDS_Project_type.jpg]]
And select the target board on the next screen. I'm assuming that selecting a specific development board rather than just a processor will set up some of the pin mappings to LEDs, switches and the LCD, also set the clock correctly, etc.  
+
<br clear=all>And select the target board on the next screen. I'm assuming that selecting a specific development board rather than just a processor will set up some of the pin mappings to LEDs, switches and the LCD, also set the clock correctly, etc.  
 
[[File:KDS_Board_selection.jpg]]
 
[[File:KDS_Board_selection.jpg]]
I've chosen processor expert here and standalone because I don't know any better. I'm guessing standalone will stop the compiler crapping over any already build files elsewhere. I may be wrong.
+
<br clear=all>I've chosen processor expert here and standalone because I don't know any better. I'm guessing standalone will stop the compiler crapping over any already build files elsewhere. I may be wrong.
 
[[File:KDS_Project_setup.jpg]]
 
[[File:KDS_Project_setup.jpg]]
The processor pin mapping screen looks about right to me, I can see the pin I plan to use is named LED2_RED, but doesn't have a "normal" pin name by it as the pin next to it does. I'm not sure what this means yet. I think the name show on this screen must be defined for use in the user's code.
+
<br clear=all>The processor pin mapping screen looks about right to me, I can see the pin I plan to use is named LED2_RED, but doesn't have a "normal" pin name by it as the pin next to it does. I'm not sure what this means yet. I think the name show on this screen must be defined for use in the user's code.
 
[[File:KDS_Processor_pin_map.jpg]]
 
[[File:KDS_Processor_pin_map.jpg]]
The GPIO components available for use in the next window pane don't sem to match up with any of those shown in the few tutorials that document develpment with these boards.
+
<br clear=all>The GPIO components available for use in the next window pane don't sem to match up with any of those shown in the few tutorials that document develpment with these boards.
 
[[File:KDS_GPIO_components.jpg]]
 
[[File:KDS_GPIO_components.jpg]]
  
This is where I'm now stuck. I hope to be able to update this page soon with useful information.
+
<br clear=all>This is where I'm now stuck. I hope to be able to update this page soon with useful information.

Latest revision as of 21:25, 29 January 2015

FRDM KL46Z Blink

This article is intended to document how I got started with developing for the Freescale FRDM-KL46Z board using Kinetis Design Studio and Processor Expert software as these are freely available from the Freescale website.


Creating a new project, I used the settings shown here.

KDS Project type.jpg


And select the target board on the next screen. I'm assuming that selecting a specific development board rather than just a processor will set up some of the pin mappings to LEDs, switches and the LCD, also set the clock correctly, etc.

KDS Board selection.jpg


I've chosen processor expert here and standalone because I don't know any better. I'm guessing standalone will stop the compiler crapping over any already build files elsewhere. I may be wrong.

KDS Project setup.jpg


The processor pin mapping screen looks about right to me, I can see the pin I plan to use is named LED2_RED, but doesn't have a "normal" pin name by it as the pin next to it does. I'm not sure what this means yet. I think the name show on this screen must be defined for use in the user's code.

KDS Processor pin map.jpg


The GPIO components available for use in the next window pane don't sem to match up with any of those shown in the few tutorials that document develpment with these boards.

KDS GPIO components.jpg


This is where I'm now stuck. I hope to be able to update this page soon with useful information.