Giter VIP home page Giter VIP logo

frdm-kl46z-programming's Introduction

FRDM-KL46Z-Programming

image

Welcome to the repository showcasing my practices with embedded programming using MCUXpresso on the FRDM KL46 development board. This repository demonstrates my proficiency in working with various peripherals and configuring functionalities such as PWM (Pulse Width Modulation), ADC (Analog to Digital Converter), TPM (Timer/Pulse Width Modulation), and more. You can find the necessary files, configurations, and source code I used in developing these embedded systems applications in C. In each folder, you'll be able to find the peripherals, setup, and description/overview of each project. The Schematics and Datasheets needed are provided as files

Skills learned so far...

  • PWM Configuration: Demonstrates how to configure and utilize PWM for controlling motors, LEDs, or other devices.
  • ADC Implementation: Shows the implementation of ADC for reading analog sensor data.
  • TPM Setup: Illustrates how to set up and utilize TPM for various timing and pulse-width modulation tasks.
  • Peripheral Integration: Examples integrating multiple peripherals to accomplish specific tasks or functionalities.

Reference Manuals and Datasheets

  1. FRDMKL46 User's Manual
  2. FRDMKL46 Reference Manual
  3. FRDMKL46 Schematic
  4. TB6612FNG Motor Driver

Usage

  1. Clone the repository to your local machine.
  2. Open the projects in MCUXpresso IDE or your preferred development environment.
  3. Explore the source files in the /src directory to understand the implementation details.
  4. Refer to documentation in the /docs folder for additional insights or explanations.

MCUXpresso Clock Configurations

Set the clock to these settings:

Frequency: 8MHz
OSC Mode: Using oscillator with external crystal (low power)
Frequency Range: Very High Frequency Range 8-32 MHz </br>

Next, in the clock outputs pane, click "Core Clock", and update these settings:

MCG Mode: PEE (PLL Engaged External)
OUTDIV1: /2

In the clock outputs pane, click "OSCERCLK". In the Path Details pane, set OSCERCLK Output to Enabled. You should see the OSCERCLK frequency change to 8 MHz. Finally, in the clock outputs pane, click "MCG PLL/FLL clock". In the Path Details pane, change the PLLFLLSEL to "MCGPLLCLK clock with fixed divide by 2"

frdm-kl46z-programming's People

Contributors

kayejd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.