{"id":20711711,"url":"https://github.com/kayejd/frdm-kl46z-programming","last_synced_at":"2025-10-29T21:49:59.893Z","repository":{"id":219629392,"uuid":"749503438","full_name":"KayeJD/FRDM-KL46Z-Programming","owner":"KayeJD","description":"Hardware tinkering","archived":false,"fork":false,"pushed_at":"2024-02-23T07:00:14.000Z","size":7351,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T06:28:54.615Z","etag":null,"topics":["adc-device","c","embedded-systems","frdm-kl46z","hardware","mcuxpresso","pwm-controller"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KayeJD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-28T19:07:06.000Z","updated_at":"2024-02-13T16:32:08.000Z","dependencies_parsed_at":"2024-02-15T20:34:14.387Z","dependency_job_id":"5e3af6c8-e842-44e4-a2dc-8859444ccb9f","html_url":"https://github.com/KayeJD/FRDM-KL46Z-Programming","commit_stats":null,"previous_names":["kayejd/frdm-kl46-programming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KayeJD/FRDM-KL46Z-Programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KayeJD%2FFRDM-KL46Z-Programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KayeJD%2FFRDM-KL46Z-Programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KayeJD%2FFRDM-KL46Z-Programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KayeJD%2FFRDM-KL46Z-Programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KayeJD","download_url":"https://codeload.github.com/KayeJD/FRDM-KL46Z-Programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KayeJD%2FFRDM-KL46Z-Programming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265241156,"owners_count":23733191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adc-device","c","embedded-systems","frdm-kl46z","hardware","mcuxpresso","pwm-controller"],"created_at":"2024-11-17T02:16:41.159Z","updated_at":"2025-10-29T21:49:54.848Z","avatar_url":"https://github.com/KayeJD.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FRDM-KL46Z-Programming\n\n![image](https://github.com/KayeJD/FRDM-KL46Z-Programming/assets/139111295/5be178dd-96f1-4fb9-9ebd-d2201e01a7d4)\n\nWelcome 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\n\n### Skills learned so far...\n- PWM Configuration: Demonstrates how to configure and utilize PWM for controlling motors, LEDs, or other devices.\n- ADC Implementation: Shows the implementation of ADC for reading analog sensor data.\n- TPM Setup: Illustrates how to set up and utilize TPM for various timing and pulse-width modulation tasks.\n- Peripheral Integration: Examples integrating multiple peripherals to accomplish specific tasks or functionalities.\n\n## Reference Manuals and Datasheets\n1. [FRDMKL46 User's Manual](https://www.farnell.com/datasheets/1728679.pdf)\n2. [FRDMKL46 Reference Manual](https://home.agh.edu.pl/~ostrowsk/teksty/manual.pdf)\n3. [FRDMKL46 Schematic](https://www.openhacks.com/uploadsproductos/frdm-kl46z_sch.pdf)\n4. [TB6612FNG Motor Driver](https://www.sparkfun.com/datasheets/Robotics/TB6612FNG.pdf)\n\n## Usage\n1. Clone the repository to your local machine.\n2. Open the projects in MCUXpresso IDE or your preferred development environment.\n3. Explore the source files in the /src directory to understand the implementation details.\n4. Refer to documentation in the /docs folder for additional insights or explanations.\n\n## MCUXpresso Clock Configurations\nSet the clock to these settings:\n```\nFrequency: 8MHz\nOSC Mode: Using oscillator with external crystal (low power)\nFrequency Range: Very High Frequency Range 8-32 MHz \u003c/br\u003e\n```\nNext, in the clock outputs pane, click \"Core Clock\", and update these settings:\n```\nMCG Mode: PEE (PLL Engaged External)\nOUTDIV1: /2\n```\nIn the clock outputs pane, click **\"OSCERCLK\"**. In the Path Details pane, set\nOSCERCLK Output to **Enabled.** You should see the OSCERCLK frequency change to 8 MHz.\nFinally, in the clock outputs pane, click **\"MCG PLL/FLL clock\"**. In the Path Details pane,\nchange the **PLLFLLSEL** to **\"MCGPLLCLK clock with fixed divide by 2\"** \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayejd%2Ffrdm-kl46z-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayejd%2Ffrdm-kl46z-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayejd%2Ffrdm-kl46z-programming/lists"}