![]() |
MKM34Z256VLx7 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This document describes the NXP® bare metal software drivers for Kinetis® M series of microcontrollers. These software drivers are provided in source code. The source code files are intended to be included directly into the application project or built separately into a statically linked library. This document gives you all information about bare metal drivers' configuration and their use in an application. The Directory Structure explains the source files and header files important for your application. The Drivers FAQ is available to answer the most common questions. Please read the License document for terms and conditions under which you can use the software.
CREATING NEW PROJECT
Execute make_project.exe
script from the "template" subfolder to create a new project. The script creates a new project based on selected toolchain, debugger probe, device derivative and project name. The new project can be either standalone or part of drivers' installation. The standalone project will be created in a specific subfolder and it will contain snapshot of all source files necessary to build application.
BASIC DATA TYPES AND MACROS
The drivers define some basic data types and conversion macros to support code portability between different hardware architectures and tools. These Basic Data Types definitions and Conversion Macros can be found in the common.h
header file.
CORE'S PLATFORM INTERFACE
The arm_cm0.h
header file contains constants, macros and inline functions which interface to the MKM34Z256VLx7 core's platform architecture based on the ARM® Cortex®-M0+ core. Refer to MKM34Z256VLx7 Platform Interface for more details.
BASIC I/O OPERATIONS
The iohw.h
header file declares several Basic Operations for making direct access to I/O registers supported by core platform's Bit Manipulation Engine (BME). The BME provides robust read-modify-write capability to low-end MKM34Z256VLx7 microcontrollers and improves code density of the on-chip peripherals software drivers.
SECURITY SUPPORT
The mmcau.h
header file declares set of highly optimized and powerful functions, written in assembler and compiled into a software library, to accelerate computation of the basic cryptographic and hashing algorithms with help of MMCAU unit The MMCAU (Memory Mapped Cryptographic Acceleration Unit) provides security encrypt/decrypt acceleration, to allow users to secure data communicated with other devices over wide variety of communication ports. For more details, refer to the MMCAU Software Library section.
MATH SUPPORT
The mmau.h
header file declares set of highly optimized, powerful routines written in inline assembler to accelerate computation of the basic math operations. These routines interface to the MMAU operations performed on either Signed Fractional, Signed Integer or Unsigned Integer data type. For more details, refer to the MMAU Driver section.
PERIPHERAL DRIVERS
NXP's MKM34Z256VLx7 devices are integrated with powerful 24-bit Sigma Delta analogue to digital converter, low-noise Programmable Gain Amplifiers, timers, communication interfaces and additional on-chip peripherals. This document also contains a complete reference of the API driver functions and macros for each on-chip peripheral module and Pin Assignments. Supported bare metal software drivers listed in alphabetical order:
A | C | D | E | F | G | I | L | M | O | P | R | S | T | U | V | W | X |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADC | CMP | DMA | EWM | FLL | GPIO | IRTC | LLWU | MCM | OSC | PDB | RCM | SIM | TMR | UART | VREF | WDOG | XBAR |
AFE | CRC | FTFA | I2C | LPTMR | MMAU | OSC32K | PIT | RNGA | SMC | ||||||||
AIPS | LPUART | MMCAU | PLL | SPI | |||||||||||||
MPU | PMC | SWISR | |||||||||||||||
SYST |
EXAMPLES
Software Examples demonstrate correct use of the MKM34Z256VLx7 bare metal software drivers in an application. Each peripheral driver is complemented by one or more software examples depending on the driver complexity and number of features to be demonstrated.
BOOT MODES
NXP's MKM34Z256VLx7 devices support several boot options. The preferred boot mode can be activated by uncommenting boot constants in the appconfig.h
file. For more information about boot time and current consumption profile for each supported boot mode refer to Boot Modes.
USEFUL LINKS
Here are some useful links to MKM34Z256VLx7 Documentation.
RELEASE NOTES
Release Notes for the NXP's MKM34Z256VLx7 bare metal software drivers. Send your feedback to bmdrv. @fre escal e.co m