FRDM-K32L2A4S

This Freedom board is based on the K32L2A41VLL1A which is a 96MHz device from the ultra-low-power K32L family with Cortex-M0+ core. This K32L2A device has 512k Flash and 128k SRAM and is in a 100 pin LQFP package, whereby the K32L2A4 is also available in 64 pin LQFP. Its main features are 3 x LPSPI, 1 x EMVSIM, 3 x LPUART, 3 x LPI2C, 1 x FlexIO, 1 x FS USB OTG with crystal-less device operation, 24 channel 16-bit ADC and 12 bit DAC.
There is a 32.768kHz crystal on the board for clocking the part.

Full details and documentation for this board can be obtained from the NXP web site: FRDM-K32L2A4S

To configure the µTasker project for this board simply enable the define FRDM_K32L2A4S in the project's config.h file. The compiler needs to be set to build for Cortex m0+ (and not Cortex M4) and the linker script K32L_512_128.ld should be selected [K32L_512_128_BM.ld for downloadable version] {the linker script extension may vary for different compilers, whereby *.ld is valid for GCC}

FRDM-K32L2A4S Binaries

Here are some binary files that can be loaded to the board. These were built using the µTasker applications (serial loader and V1.4 application) and can be simply generated using the supported compilers/IDEs [these were built using GCC], built using different configuration options or modified to suit specific requirements or hardware derived from this board :

  • uTaskerSerialBoot_FRDM-K32L2A4S_USB-MSD_UART.bin USB-MSD and SREC/iHEX UART serial loader [20.7k] allowing applications to be loaded at link address 0x8080 - 115200 Baud. When operating, the green LED blinks at 5Hz. To force the loader reset the board with header SW2 held down. To disable the watchdog reset the board with SW3 held down. This can be loaded using the FRDM-K32L2A4S's USB-MSD (OpenSDA) boot loader. Note that the loader limits application sizes to 128k - it can be built without limits using the µTasker project.
  • uTaskerV1.4.12_BM_FRDM-K32L2A4S_8080.bin K32L2A4 application with command-line menu on the virtual COM connection (LPUART0 at 115200 Baud) and USB-MSD device FAT emulation. Low power modes can be set in the application menu and the processor runs at 48MHz [41.5k]. Linked to 0x8080, it can be loaded using the USB-MSD serial loader. When the application is running the green LED blinks at 2.5Hz.
    The USB-MSD device uses emulated FAT for linear data. It uses (USB_INTERFACE, USE_USB_MSD and FAT_EMULATION). This enables the FAT emulation and makes the device accessible from a USB host. The application is discussed in the document µTasker - FAT Emulation and allows viewing data files in binary and formatted formats. For example, for retrieving sampled data from linear internal or external SPI Flash to a .csv file for direct import into a processing program.
    A typical data view of the .cvs formatted view is shown below:


  • uTaskerV1.4.12_BM_FRDM-K32L2A4S_8080.srec The same K32L2A4 application in srec form that can be loaded via the virtual COM port (LPUART0 at 115200 Baud) via the SREC loader [119k].


FRDM-K32L2A4 FXOS8700CQ Accelerometer and Magnetometer on I2C0

uTaskerV1.4.12_BM_FRDM-K32L2A4_I2C_8080.bin K32L2A4 application with command-line menu on the virtual COM connection (LPUART0 at 115'200 Baud) and USB-CDC. At reset the FXOS8700CQ is read and its registers dumped to the command line interface. The accelerometer is read continuously (at 50kHz bus speed) and the values read can be displayed on the command line interface by commanding "acc_on" in the I2C menu - to disable the output "acc_off" [38.3k].
Linked to 0x8080, it can be loaded using the USB-MSD serial loader. When the application is running the green LED blinks at 2.5Hz..



Return to the Kinetis landing page


µTasker Kinetis FRDM-K32L2A4S support. Copyright (c) 2004..2020 M.J.Butcher Consulting