您的位置 首页 动态

Cypress FM4 S6E2C系列32位MCU开发计划

Cypress FM4 S6E2C系列32位MCU开发方案-本文介绍了S6E2G系列主要特性和产品详细特性,框图,以及两种版本开发平台FM4-U120-9B560主要特性和电路图。

Cypress公司的S6E2G系列是32位Arm® Cortex®-M4F FM4微控制器,CPU作业频率高达180MHz,集成了1MB闪存,192KB SRAM,20x通讯外设,33x数字外设和3x模仿外设,具有高性能和有竞争力的本钱,规划用于工业自动化和测验丈量。本文介绍了S6E2G系列首要特性和产品具体特性,框图,以及两种版别开发渠道FM4-U120-9B560首要特性和电路图。

FM4-U120-9B560 – Arm® Cortex®-M4 MCU Starter Kit with USB and CMSIS-DAP S6E2G Series are FM4 devices with up to 180 MHz CPU, 1 MB flash, 192 KB SRAM, 20x communicaTIon peripherals, 33x digitalperipherals and 3x analog peripherals. They are designed for industrial automaTIon and metering applicaTIons.

Devices in the S6E2G Series are highly integrated 32-bit microcontrollers with high performance and compeTItive cost. This series isbased on the Arm® Cortex®-M4F processor with on-chip flash memory and SRAM. The series has peripherals such as motor controltimers, A/D converters, and communications interfaces (USB, CANUARTCSIO (SPI), I2C, LIN)。

S6E2G系列首要特性:

 32-bit Arm Cortex-M4F Core

 Up to 180 MHz frequency operation

 On-chip Memories

 Flash memory: Up to 1024 Kbytes

 SRAM memory:

• SRAM0: up to 128 Kbytes

• SRAM1: 32 Kbytes

• SRAM2: 32 Kbytes

 Direct Memory Access (DMA) Controller (Eight Channels)

 Descriptor System Data Transfer Controller (DSTC);256 channels

 External Bus Interface

 USB Interface (Max two channels): Host and Device

 CAN Interface (Max one channel) Available on S6E2GMand S6E2GH Devices Only

 Multi-function Serial Interface (Max 10 Channels)

 UART (Universal Asynchronous Receiver/Transmitter)

 Clock Synchronous Serial Interface (CSIO (SPI))

 Local Interconnect Network (LIN)

 Inter-Integrated Circuit (I2C)

 Inter-IC Sound (I2S)

 Base Timer (Max 16 channels)

 Up to 121 high-speed general-purpose I/O ports in 144-pinpackage

 Up to 153 high-speed general-purpose I/O ports in 176-pinpackage

 Multi-function Timer (Max two units)

 Real-Time Clock (RTC)

 Analog to Digital Converter (ADC) (Max 32 Channels)

 Dual Timer (32-/16-bit Down Counter)

 Quadrature Position/Revolution Counter (QPRC; Max twochannels)

 Watch Counter

 External Interrupt Controller Unit

 Watchdog Timer (Two channels)

 Cyclic Redundancy Check (CRC) Accelerator

 SD Card Interface Available on S6E2GM, S6E2GH, andS6E2GK Devices Only

Ethernet-MAC Available on S6E2GM, S6E2GK, andS6E2G2 Devices only

 Smartcard Interface (Max 2 channels)

 Five Clock Sources

 Six Reset Sources

 Clock Supervisor (CSV)

 Low-Voltage Detector (LVD)

 Six Low-power Consumption Modes

 Sleep

 Timer

 RTC

 Stop

 Deep standby RTC

 Deep standby stop

 Peripheral Clock Gating System

 Crypto Assist Function

 Debug

 Serial wire JTAG debug port (SWJ-DP)

 Embedded trace macrocells (ETM) provide comprehensivedebug and trace facilities.

 AHB trace macrocells (HTM)

 41-bit Unique ID

 Wide range voltage: VCC = 2.7 to 5.5 V

图1. S6E2G系列框图

S6E2G系列产品具体特性:

32-bit Arm Cortex-M4F Core

 Up to 180 MHz frequency operation

 FPU built-in

 Support DSP instructions

 Memory protection unit (MPU): improves the reliability of anembedded system

 Integrated nested vectored interrupt controller (NVIC): 1NMI (non-maskable interrupt) and 128 peripheral interruptsand 16 priority levels

 24-bit system timer (Sys Tick): system timer for OS taskmanagement

On-chip Memories

 Flash memory

This series is on-chip flash memories.

 Up to 1024 Kbytes

 Built-in flash accelerator for zero wait state

 Security function for code protection

 SRAM

This is composed of three independent SRAMs (SRAM0,SRAM1 and SRAM2)。 SRAM0 is connected to the I-code busand D-code bus of Cortex-M4F core. SRAM1 and SRAM2

are connected to system bus of Cortex-M4F core.

 SRAM0: up to 128 Kbytes

 SRAM1: 32 Kbytes

 SRAM2: 32 Kbytes

External Bus Interface

 Supports SRAM, NOR, NAND flash and SDRAM device

 Up to 9 chip selects CS0 to CS8 (CS8 is only for SDRAM)

 8-/16-/32-bit data width

 Up to 25-bit address bus

 Supports address/data multiplexing

 Supports external RDY function

 Supports scramble function

 Possible to set the validity/invalidity of the scramblefunction for the external areas 0x6000_0000 to0xDFFF_FFFF in 4 Mbytes units.

 Possible to set two kinds of the scramble key

USB Interface (Max two channels)

The USB interface is composed of a Device and a Host.

 USB Device

 USB 2.0 Full-speed supported

 Max 6 EndPoint supported

• EndPoint 0 is control transfer

• EndPoint 1,2 can be selected bulk-transfer, interrupttransferor isochronous-transfer

• EndPoint 3 to 5 can select bulk-transfer or interrupttransfer

 EndPoint 1 to 5 comprise double buffer

 The size of each endpoint is as follows.

• Endpoint 0, 2 to 5: 64 byte

• EndPoint 1: 256 byte

 USB Host

 USB2.0 Full-Speed/Low-Speed supported

 Bulk-transfer, interrupt-transfer, and isochronoustransfersupport

 USB Device connected/dis-connected automaticallydetect

 IN/OUT token handshake packet automatically

 Max 256-byte packet length supported

 Wake-up function supported

CAN Interface (Max one channel) Available onS6E2GM and S6E2GH Devices Only

 Compatible with CAN specification 2.0A/B

 Maximum transfer rate: 1 Mbps

 Built-in 32-message buffer

Multi-function Serial Interface (Max 10 Channels)

 Separate 64 byte receive and transmit FIFO buffers forchannels 1 and channels 4 to 7.

 Operation mode is selectable for each channel from thefollowing:

 UART

 CSIO (SPI)

 LIN

 I2C

 I2S

 UART

 Full-duplex double buffer

 Selection with or without parity supported

 Built-in dedicated baud rate generator

 External clock available as a serial clock

 Various error detect functions available (parity errors,framing errors, and overrun errors)

 CSIO (SPI)

 Full-duplex double buffer

 Built-in dedicated baud rate generator

 Overrun error detect function available

 Serial chip select function (ch 6 and ch 7 only)

 Supports high-speed SPI (ch 4 and ch 6 only)

 Data length 5 to 16-bit

 LIN

 LIN protocol Rev.2.1 supported

 Full-duplex double buffer

 Master/slave mode supported

 LIN break field generation (can change to 13- to 16-bitlength)

 LIN break delimiter generation (can change to 1- to 4-bitlength)

 Various error detect functions available (parity errors,framing errors, and overrun errors)

 I2C

 Standard mode (Max 100 kbps)/Fast mode (Max 400 kbps)supported

 Fast mode Plus (Fm+) (Max 1000 kbps, only for ch 3 = ch Aand ch 7 = ch B) supported

 I2S

 Using CSIO (SPI) (ch 1 only) and I2S clock generator

 Supports two transfer protocol: I2S and MSB-justified

 Master mode only

DMA Controller (Eight Channels)

DMA controller has an independent bus, so the CPU andDMA controller can process simultaneously.

 Eight independently configured and operated channels

 Transfer can be started by software or request from thebuilt-in peripherals

 Transfer address area: 32-bit (4 GB)

 Transfer mode: Block transfer/Burst transfer/Demandtransfer

 Transfer data type: bytes/half-word/word

 Transfer block count: 1 to 16

 Number of transfers: 1 to 65536

DSTC (Descriptor System Data Transfer Controller;256 channels)

The DSTC can transfer data at high-speed without going viathe CPU. The DSTC adopts the descriptor system and,following the specified contents of the descriptor that has

already been constructed on the memory, can access directlythe memory/peripheral device and perform the data-transferoperation.

It supports the software activation, the hardware activation,and the chain activation functions.

A/D Converter (Max 32 Channels)

 12-bit A/D Converter

 Successive approximation type

 Built-in three units

 Conversion time: 0.5 μs at 5 V

 Priority conversion available (priority at two levels)

 Scanning conversion mode

 Built-in FIFO for conversion data storage (for SCANconversion: 16 steps, for priority conversion: 4 steps)

Base Timer (Max 16 channels)

Operation mode is selected from the following for eachchannel:

 16-bit PWM timer

 16-bit PPG timer

 16-/32-bit reload timer

 16-/32-bit PWC timer

 Event counter mode (External clock mode)

General Purpose I/O Port

This series can use its pins as general purpose I/O portswhen they are not used for external bus or peripherals;moreover, the port relocate function is built in. It can set the

I/O port to which the peripheral function can be allocated.

 Capable of pull-up control per pin

 Capable of reading pin level directly

 Built-in port-relocate function

 Up to 121 high-speed general-purpose I/O ports in 144-pinpackage

 Some pins 5 V tolerant I/O.

See 6. Pin Descriptions and 7. I/O Circuit Type for thecorresponding pins.

Multi-function Timer (Max two units)

The multi-function timer is composed of the following blocks:Minimum resolution: 5.56 ns

 16-bit free-run timer × 3 ch/unit

 Input capture × 4 ch/unit

 Output compare × 6 ch/unit

 A/D activation compare × 6 ch/unit

 Waveform generator × 3 ch/unit

 16-bit PPG timer × 3 ch/unit

The following functions can be used to achieve the motorcontrol:

 PWM signal output function

 DC chopper waveform output function

 Dead time function

 Input capture function

 A/D convertor activate function

 DTIF (motor emergency stop) interrupt function

Real-Time Clock (RTC)

The real-time clock can count year, month, day, hour, minute,second, or day of the week from 00 to 99.

 Interrupt function with specifying date and time(year/month/day/hour/minute) is available. This function isalso available by specifying only year, month, day, hour, or

minute.

 Timer interrupt function after set time or each set time.

 Capable of rewriting the time with continuing the time count.

 Leap year automatic count is available.

Quadrature Position/Revolution Counter (QPRC;Max two channels)

The Quadrature Position/Revolution Counter (QPRC) is usedto measure the position of the position encoder. It is alsopossible to use up/down counter.

 The detection edge of the three external event input pinsAIN, BIN and ZIN is configurable.

 16-bit position counter

 16-bit revolution counter

 Two 16-bit compare registers

Dual Timer (32-/16-bit Down Counter)

The dual timer consists of two programmable 32-/16-bit downcounters.

Operation mode is selectable from the following for eachchannel:

 Free-running

 Periodic (= Reload)

 One shot

Watch Counter

The watch counter is used for wake up from low-powerconsumption mode. It is possible to select the main clock,sub clock, built-in High-speed CR clock, or built-in low-speedCR clock as the clock source.

 Interval timer: up to 64 s (max) with a sub clock of 32.768kHz

External Interrupt Controller Unit

 External interrupt input pin: Max 32 pins

 Both edges(Rise edge and Fall edge) detect

 Include one non-maskable interrupt (NMI)

Watchdog Timer (Two channels)

A watchdog timer can generate interrupts or a reset when atime-out value is reached.

This series consists of two different watchdogs: a “hardware”watchdog and a “software” watchdog.

The hardware watchdog timer is clocked by low-speedinternal CR oscillator. The hardware watchdog is thus activein any power saving mode except RTC mode and Stop mode.

Cyclic Redundancy Check (CRC) Accelerator

The CRC accelerator helps to verify data transmission orstorage integrity.

CCITT CRC16 and IEEE-802.3 CRC32 are supported.

 CCITT CRC16 generator polynomial: 0x1021

 IEEE-802.3 CRC32 generator polynomial: 0x04C11DB7

SD Card Interface Available on S6E2GM, S6E2GH,and S6E2GK Devices Only

It is possible to use the SD card that conforms to thefollowing standards.

 Part 1 Physical Layer Specification version 3.01

声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/news/dongtai/345881.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部