Skip to the content
2 layers99.1 × 84.8 mmFrdm05-devboard, the printed circuit board in 3D

Firmware + hardware for KL05Z Development Board Add-on

Size
99.1 × 84.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
71
Nets
65
Pads
298
Tracks, vias
643, 123
Pours
6
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
17 Jan 2022
Updated
22 Jan 2022

Overview

Frdm05-devboard is an open-source printed circuit board by M-Skut, from the M-Skut/kl05z-devboard-demo repository on GitHub. It is a 2-layer board of 99.1 × 84.8 mm with 71 parts on 65 nets, routed with 643 tracks and 123 vias.

It is built around the 74AHCT1G125GV, PCF8563T/5 and PTS810, with the WS2812B, BAT54C and BC817 among its other parts. Its parts include 19 resistors, 11 capacitors, 6 ICs, 6 connectors and 6 switches. It belongs with the microcontroller boards boards of this library.

Main components

6

README

README.md

KL-05 DevBoard Demo project with simple HAL

Hardware

To make development of advanced microcontroller projects simple, the DevBoard is equipped with following features:

  • SD Card slot
  • 6-button keypad connected as analog input
  • stylophone-like keyboard as analog input
  • PMOD Interface Type 2 (SPI)
  • MikroBus Connector
  • 3x WS2812B addressable RGB LEDs
  • connector for Nokia 5510 display board
  • buzzer
  • fused 3V3 and 5V lines
  • connector for Adafruit ALS-PT19 Analog Light Sensor Breakout
  • connector for 16x2 LCD with I2C adapter
  • 25LCxxx SPI Flash
  • 2x 24Cxx I2C Flash
  • RTC clock with battery based on PCF8563 RTC IC with I2C interface
  • LM75 I2C temperature sensor

Some photos of the hardware (more in media folder)

Front of the PCB Back of the PCB

Bill Of Materials

Interactive Bill Of Materials for the newest revision of the hardware can be found here

Hardware revision history

Rev. 1:

  • first revision of hardware Rev. 2:
  • fix for analog keypad (wrong placement of current mirror)
  • addition of current-limiting resistor for buzzer
  • addition of optional fuses for 3V3 and 5V lines Rev. 2.1:
  • fix for 3V3 fuse
  • fix for buzzer footprint
  • fix for some silkscreen areas Rev. 2.2:
  • change 74HCT1G125GV buffer to faster 74AHCT1G125GV version

Environment

To develop this demonstration project, following set of tools and programs was used:

  • Visual Studio Code with plugins:
  • GNU GCC ARM Compiler from Official ARM Distribution
  • SEGGER JLINK
  • CMake
  • Ninja
  • (Optional) ARM Compiler 5 from Keil
  • (Optional) Doxygen

How to install it on Windows

How to install it on other operating systems

  • Install the required software from author's website or from OS repositories.

Now you can open the project folder. Select GNU toolchain as CMake kit when asked and edit file launch.json inside .vscode folder if your JLinkGDBServer location is different than he one used in this project. For ARM Compiler 5.06 toolchain, an environment variable ARMCC_TOOLCHAIN_PATH has to be set to bin folder of the toolchain files. Alternatively, armcc.cmake file inside toolchain-conf can be edited to make te path setting permanent.

Environment features

  • two-click switch between ARM Compiler 5 and GCC Compiler
  • all code editing features that Visual Studio Code has to offer
  • easy debugging of compiled code
  • two-click generation of doxygen HTML documentation
  • built-in git integration
  • works on Windows, GNU/Linux and Mac OS (or at least should)

HAL

This simple hardware abstraction layer is based on two sources: KL05 Sample Code Package from Freescale and MBED platform-specific code for KLXX targets. The C API relies on heavy use of custom enums and structs to ensure that invalid function parameters can be found in compilation stage. It uses C99 features (stdint.h, stdbool.h, in-place struct initialization etc.) and was tested with GCC 11 compiler and ARM 5.06 Compiler, but should be compiler-independent, as it does not use compiler-dependent features directly, but instead it's using CMSIS functions as abstraction layer.

Goals:

  • Prevent user from error-prone and hard-to-debug manual peripheral register setting
  • Simple and straightforward for both understanding the underlying code and using the API
  • Versatile - use for all applications within this uC
  • Smallish footprint
  • Separated device drivers from mcu peripheral drivers (exceptions only for very timing-sensitive devices)
  • User-proof, mostly
  • Peripherals can be reinitialized and will still work
  • Communication peripheral drivers can be used without gpio driver
  • Supports any MCU working frequency

Non-goals:

  • universal
  • unified (in GPIO mapping, same peripheral but more instances etc.)

Drivers features:

UART:
  • different pinout configuration
  • automatic calculation for baudrate with ability to re-init if CPU speed changes
  • error if configuration baudrate or pins cannot be set
  • simple print, putchar and getchar API
  • RX IRQ callback setting and checking RX overrun
I2C:
  • different pinout configuration
  • different speed selection
  • timeout detection in all functions
  • included fix for silicon errata
GPIO
  • bare-bones abstraction of the register setting
  • interrupt with callback functions
  • inline functions for fast pin setting
Delay
  • SysTick-based delay
  • works without affecting SysTick settings
  • based on delay code from u8g2 project
ADC
  • ADC calibration function
  • simple 16-bit value read
  • uses gpio driver for pin mapping
  • ADC presets (currently only one available)
PWM
  • TPM-based PWM
  • uses gpio driver for pin mapping
  • allows setting period and pulse width in microseconds or as raw values
WS2812
MMA8451Q
  • range setting
  • conversion to float values

Parts

71
QtyValueFootprintReferences
8100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C4, C5, C6, C8, C9, C10, C11
710kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R7, R8, R9, R14, R16, R17
6PTS810fdrm05-devboard-hardware:SW_SPST_PTS810_HandSolderingSW1, SW2, SW3, SW4, SW5, SW6
422kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R5, R6
42k2Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10, R11, R12, R13
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3, H4
4TestPointTestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mmTP2, TP3, TP4, TP5
3WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D3
2 T24C02APackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU4, U5
2470Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR18, R19
2PolyfuseFuse:Fuse_0805_2012MetricF1, F2
110pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
11602 LCD VIA I2CConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ5
11kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR15
11uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC7
125LCxxxPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
132768HzCrystal:Crystal_SMD_SeikoEpson_MC306-4Pin_8.0x3.2mm_HandSolderingY1
133kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4
174AHCT1G125GVPackage_TO_SOT_SMD:SOT-23-5_HandSolderingU6
1BAT54CPackage_TO_SOT_SMD:SOT-23D4
1BC817Package_TO_SOT_SMD:SOT-23Q2
1BCV62Package_TO_SOT_SMD:SOT-143Q1
1Battery_CellBattery:BatteryHolder_Keystone_1060_1x2032BT1
1BuzzerBuzzer_Beeper:MagneticBuzzer_ProSignal_ABT-410-RCBZ1
1Conn_01x06Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_HorizontalJ3
1FRDM_KL05Zfdrm05-devboard-hardware:FDRM-KL05ZA1
1KEYBOARDfdrm05-devboard-hardware:Keyboard_resistiveJ2
1LIGHT SENSORConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ4
1LM75CPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1MIKROBUS_HOST_CONNmikroBUS:MIKROBUS_HOST_CONNCON1
1PCD8544-BASEConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalLCD1
1PCF8563TPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1SD_Card_FixConnector_Card:SD_TE_2041021J1
1SYM_ESD_Largefdrm05-devboard-hardware:prestizSYM2
1SYM_ESD_Largefdrm05-devboard-hardware:agiehSYM1

Similar boards

  • 6 layers83.5 × 56 mmEspiff v3 1, the printed circuit board in 3D

    Espiff v3 1

    MDCservice/EsPiFF

    An ESP32 in the Raspberry Pi form factor

    172 parts223GPL-3.0
  • 2 layers100 × 100 mmZxuno1010, the printed circuit board in 3D

    Zxuno1010

    UzixLS/zxuno1010-board

    10x10cm PCB variant of ZX-UNO project for G738/G706 enclosure

    233 parts23MIT
  • 4 layers35.1 × 58.3 mmPicoDAC, the printed circuit board in 3D

    PicoDAC

    Person-0/PicoDAC

    A USB-C to 3.5mm HiFi mini DAC

    46 parts2
  • 2 layers71.4 × 99.7 mmRP2350A Macropad, the printed circuit board in 3D

    RP2350A Macropad

    arkandas/rp2350-macropad

    RP2350A 3x3 mechanical macropad with a browser-programmable keymap and an on-board status LCD

    85 partsMIT
  • 4 layers95.5 × 126 mmTTF CX, the printed circuit board in 3D

    TTF CX

    dermatoid-collab/EVC_FW

    Progetto hardware e firmware del sistema di controllo di un ascensore domestico a trazione (TTF) di LiftingItalia s.r.l. Quattro schede basate su STM32F446, collegate in CAN; il motore è comandato da un VFD.

    242 parts
  • 2 layers96 × 74.4 mmMonolith, the printed circuit board in 3D

    Monolith

    luftaquila/monolith

    DIY wireless real-time datalogging platform for Student Formula and Baja.

    138 parts45
  • 2 layers72.2 × 61.5 mm2024.03.15 AVR SCORE BOARD RCV v2, the printed circuit board in 3D

    2024.03.15 AVR SCORE BOARD RCV v2

    jarwyg/WS2811_SCORE_BOARD

    W 2017 wraz z znajomym z roku stworzyliśmy tablicę wyników zbudowaną z wykorzystaniem pasków LED WS2811.

    46 partsMIT

Questions

How big is the Frdm05-devboard PCB?

It measures 99.1 × 84.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Frdm05-devboard use?

71 parts, built around the 74AHCT1G125GV, PCF8563T/5, PTS810 and WS2812B. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Frdm05-devboard KiCad files?

From the M-Skut/kl05z-devboard-demo repository on GitHub, at the commit this page was made from: the board is frdm05-devboard-hardware/frdm05-devboard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Frdm05-devboard design in my own project?

Its repository states no licence, so its author keeps all rights: ask M-Skut before reusing the design.