You are here

FM4 32-bit ARM® Cortex®-M4 Microcontroller (MCU) Families | Cypress Semiconductor

FM4 32-bit ARM® Cortex®-M4 Microcontroller (MCU) Families

  • Cypress ARM Cortex MCU

Cypress’s FM4 is a portfolio of 32-bit, general-purpose, high performance microcontrollers based on the ARM® Cortex®-M4 processor with FPU and DSP functionality.

FM4 microcontrollers operate at frequencies up to 200 MHz and support a diverse set of on-chip peripherals for motor control, factory automation and home appliance applications. The portfolio delivers low-latency, reliable, machine-to-machine (M2M) communication required for Industry 4.0 - the fourth industrial revolution, using network-computing technologies to advance design and manufacturing.

 

1Flash/SRAM

2Independent flash memeory available to store data or additional FW

 

Outstanding Performance

The FM4 portfolio operates at clock frequencies of up to 200MHz, and supports an operating voltage range of 2.7V to 5.5V. The devices incorporate 256KB to 2MB flash and up to 256KB RAM. The fast flash memory combined with a flash accelerator circuit (pre-fetch buffer plus instruction cache) provides zero-wait-state operation up to 200MHz. A standard DMA and an additional descriptor based DMA (DSTC), each with an independent bus for data transfer, can be used to further offload the CPU.

Functional Safety

The internal, trimmed RC oscillators function as an independent clock source for the clock supervisor and watchdog modules. The devices also feature a two-stage programmable Low Voltage Detector (LVD), a CRC hardware module, a Memory Protection Unit (MPU), and programmable emergency stop input for inverter motor control.

High-Performance Flash Memory

The high-speed, embedded flash memory features a true zero-wait-state operation at 72MHz. A flash accelerator with pre-fetch buffer and 16KB instruction cache allows zero-wait-state operation at up to 200MHz. The flash memory has an endurance of 100,000 write/erase cycles with up to 20 years of data retention. Once enabled, the flash security feature blocks any external read access to the flash memory and therefore secures firmware from being accessed. Many devices feature dual-operation flash for safe EEPROM emulation.

Low Power Consumption

The devices operate from 365uA/MHz, 1.5µA in deep RTC mode. The dedicated, low-power chip design includes clock and power gating. Clock gating can be used to reduce active power consumption by not clocking unused peripherals and therefore preventing them from consuming energy while not in use. Power gating is used to achieve very low current consumption in standby modes by internally disconnecting parts of the MCU from the supply voltage. There are multiple low-power options for finely tuned power-saving modes, and a dedicated power domain for deep standby modes.

Advanced Peripherals

The devices include support for Ethernet, CAN (controller area network), CAN-FD (CAN with flexible datarate) and USB2.0 (device and host). Motor-control features include up to three multifunction timers and a respective number of quadrature decoder units. The MCUs include up to three high-speed, 12-bit A/D converters, which can be triggered synchronously and have a conversion time of 0.5µs. Other features include HMI input devices, universal base timers, a sub-clock option, and flexible, multi-function serial interfaces supporting UART,SPI,I2C, and LIN.

Hardware 2D graphics accelerator

S6E2Dx Series devices feature a dedicated 2D graphics accelerator subsystem to drive TFT based HMI systems. With 512kbytes internal VRAM, and optional external SDRAM and HyperBus/Q-SPI interfaces to external flash, the hardware 2D accelerator with Blit engine enables impressive graphics HMIs with a very low BOM cost.

Function Differences between each FM4 by Series

Series S6E2C S6E2G MB9Bxx6xM/N/R S6E2H MB9Bx6xK/L
Frequency (MHz) 200 180 160 160 160
Flash/SRAM(KB) 2048/256 1024/196 1024/128 512/64 512/64
Work Flash (KB) - - 32 32 32
GPIO 190 153 100 100 51
Base Timer 16 16 8 8 8
MFT 3 2 2 3 2
QPRC 4 2 2 3 1
MFS 16 10 8 8 6
USB 2 2 1 - 1
CAN 3 1 2 2 1
Ether-MAC 1 1 - - -
DMA/DSTC 8/256 8/256 8/128 8/256 8/128
ADC 32 32 24 24 15
DAC 2 - 2 2 2
SD Card Interface 1 1 1 1 -
I2S 1 1 - - -

 

200-MHz CPU, 2MB flash, 256KB SRAM, 190 GPIOs, 27x communication peripherals including IEEE 1588 Ethernet, 3ch CAN and CAN-FD in a single chip, 36x digital peripherals and 4x analog peripherals, ...
180-MHz CPU, 1MB flash, 192KB SRAM, 153 GPIOs, 20x communication peripherals, 33x digital peripherals and 3x analog peripherals, designed for industrial automation and metering applications.
Full color FTF based Graphical Display Controller integrated HMI microcontroller with 160-MHz CPU, 2MB flash, 36KB SRAM, 512KB VRAM, 154 GPIOs, 17x communication peripherals, 20x digital peripherals...
160-MHz CPU, up to 1MB Flash and 128KB SRAM, USB2.0 Host/Device, SD Card I/F, 2ch CAN, 100 GPIOs, 3x 12bit ADC (24ch), 1x 12bit DAC (2ch) and external bus interface for serial communication, motor...
160-MHz CPU, 512KB flash, 64KB SRAM, 100 GPIOs, 12x communication peripherals, 27x digital peripherals and 4x analog peripherals, designed for motor control and home appliance applications.
160-MHz CPU, up to 512KB Flash and 64KB SRAM, USB2.0 Host/Device, 1ch CAN, 48 GPIOs, 2x 12bit ADC (15ch), 1x 12bit DAC (2ch) designed for inverter control and high power efficiency applications.
Documentation
FM4 Datasheets
  • The FM4 datasheets is intended to provide quick reference on the specific FM4 device series.
FM4 Flash Specifications
  • This document explains the functions, operations and serial programming of the flash memory for FM4 devices. This manual is intended for engineers engaged in the actual development of products using the FM4 devices. 
FM4 Technical Reference Manual
  • The FM4 Technical Reference Manual provides detailed information on the device features and how they work. It is intended for advance user's who want to understand what's going on under the hood.
Application Notes

 

Peripheral Driver Library

FM MCU Peripheral Driver Library (PDL)

The FM MCU Peripheral Driver Library (PDL) simplifies software development for the FM0+, FM3, and FM4 MCU families. The PDL reduces the need to understand register usage and bit structures, thus easing software development for the extensive set of peripherals in the FM families. You configure the library for the particular device, and then use API calls to initialize and use a peripheral. Using the PDL makes it easier to port code from one family to the other, because the same code supports all FM families.

 

Support Tools

Vendor Link Comments
IAR Systems https://www.iar.com/iar-embedded-workbench/#!?architecture=ARM IAR Embedded Workbench for ARM 7.50.2 or later
ARM Keil https://www.keil.com/download/product/ Keil Embedded Development Tools for ARM 5.17 or later
GCC ARM Embedded https://launchpad.net/gcc-arm-embedded GCC ARM Embedded 4.9-2015-q1-update or later
Atollic http://timor.atollic.com/truestudio/ Atollic TrueSTUDIO v5.5.2 or later
iSystem http://www.isystem.com/download/winidea/release-policy iSYSTEM winIDEA 9.12
Device Database http://www.keil.com/dd/chips/fujitsu/arm.htm  
CMSIS-SVD http://www.arm.com/cmsis The customer account registration is necessary.

 

Tools

Click on the link below to download the tool

Product Description
Pin and Code Wizard Tool that helps set the IO ports for Cypress's 32-bit ARM Cortex FM MCUs
Serial Port Viewer Tool Tool that is used to monitor all available com ports and provides a terminal emulator
CMSIS-DAP USB Drivers CMSIS-DAP is the interface firmware for a Debug Unit that connects the Debug Port to USB. Debuggers, which execute on a host computer, connect via USB to the Debug Unit and to the Device that runs the application software
FLASH Programmer Tool that converts RS232C data to readable data on your PC
USB Wizard Tools that supports editing USB descriptors and templates

The Sample Programs ("Programs") are offered for use in developing systems for Cypress microcontrollers.

The Programs will be useful in the following situations:

  • I need a simple sample program, as I am going to develop software. The sequence of resource access, among others, can be confirmed using these Programs.
  • I would like to examine, before development, whether each resource will operate as expected.
    The Programs support several specifications, even for the operation of one resource.
  • If resources do not operate properly on my system, I would like software for which confirmation of operation has been completed. Cypress has confirmed the actual operation of the Programs on each of its microcontrollers, so you will be able to compare your program with the Program.

Please use it for the confirmation of the operation specification and the use of our microcontroller etc.

This page introduces sample programs.
ARM MDK-ARM or IAR EWARM is required to use programs below.

Measure a PWM duty cycle with an external interrupt and systick timer
Measure a PWM duty cycle with an base timer in PWC mode
Measure a PWM duty cycle with an input capure unit