历史上的今天
返回首页

历史上的今天

今天是:2025年04月22日(星期二)

正在发生

2018年04月22日 | FM4 S6E2C系列主要特性和框图

2018-04-22 来源:社区化

Cypress公司的FM4 S6E2C系列是基于ARM® Cortex®-M4的高度集成的32位MCU, 集成了闪存和SRAM,以及包括马达控制计时器,ADC和通信接口(USB, CAN, UART, CSIO (SPI), I2C, LIN)的外设,以及硬件加密引擎(AES-128/192/256, SHA-256, PKA).工作频率200MHz.本文介绍了FM4 S6E2C系列主要特性和框图,开发板FM4-216-ETHERNE主要特性和框图,电路图和PCB设计图.

  Devices in the S6E2CCSeries are highly integrated 32-bit microcontrollers with high performance and compeTITIve cost.This series is based on the ARM Cortex-M4F processor with on-chip flash memory and SRAM. The serieshasperipherals such as motor control TImers, A/Dconverters,and communicaTIonsinterfaces (USB, CAN, UART, CSIO (SPI), I2C, LIN).The productsthatare described in this data sheet are placed into TYPE3-M4 product categories “FM4 Family Peripheral ManualMain Part (002-04856)。”

    The FM4 S6E2C-Series provides a highly integrated single chip solution with 200MHz of CPU power, up to 2Mbytes of dual banked high speed on chip flash memory, up to 256Kbytes of on chip SRAM, and integrated peripheral features including IEEE1588 compliant 10/100 base Ethernet, CAN, CAN-FD, USB and inverter control timers. The dedicated hardware cryptographic engine (AES-128/192/256, SHA-256, PKA) enables secure data communication with minimal CPU processing overhead.

  FM4 S6E2C系列主要特性:

  32-bit ARM Cortex-M4F Core

   Processor version: r0p1

   Up to 200 MHz frequency operation

   FPU built-in

   Support DSP instructions

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

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

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

  On-chip Memories

   Flash memory

  Thisseries isbased on two independent on-chip flashmemories.

   Up to2048 Kbytes

   Built-in flashaccelerator system with 16 Kbytes trace buffer memory

   Read access to flashmemorythatcan be achieved without wait-cycle up to an operatingfrequency of72 MHz. Even at the operatingfrequency more than 72 MHz, an equivalent single cycle access to flashmemorycan be obtained by the flashaccelerator system.

   Security function for code protection

   SRAM

  This is composed of three independent SRAMs (SRAM0, SRAM1 and SRAM2)。 SRAM0 is connectedto the I-code bus andD-code bus of Cortex-M4F core. SRAM1 and SRAM2 are connected to system bus ofCortex-M4F core.

   SRAM0: up to 192 Kbytes

   SRAM1: 32 Kbytes

   SRAM2: 32 Kbytes

  External Bus Interface

   Supports SRAM, NOR, NAND flashand 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 scramble function for the external areas 0x6000_0000 to 0xDFFF_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 function and a host.

   USB function

   USB2.0 Full-speedsupported

   Max 6 EndPoint supported

  • EndPoint 0 is control transfer

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

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

  • EndPoint 1 to 5 comprise double buffer

  • The size of each endpoint is as follows.

  −Endpoint0, 2to 5: 64byte

  • EndPoint 1: 256byte

  USB host

   USB2.0 Full-Speed/Low-Speedsupported

   Bulk-transfer,interrupt-transfer,and isochronous-transfer support

   USB Device connected/dis-connected automatically detect

   IN/OUT token handshake packet automatically

   Max 256-byte packetlength supported

   Wake-up function supported

  CAN Interface (Max twochannels)

   Compatible with CAN specification 2.0A/B

   Maximum transfer rate: 1 Mbps

   Built-in 32-message buffer

  CAN-FDInterface(Onechannel)

   Compatible with CAN Specification 2.0A/B

   Maximum transfer rate: 5Mbps

   Message buffer for receiver: up to 192 messages

   Messagebuffer for transmitter: up to 32messages

   CAN with flexible data rate(non-ISO CAN FD)

   Notes:

   CAN FD cannot communicate between non-ISO CAN FD and ISO CAN FD, because non-ISO CAN FD and ISO CAN FD are different frame format.

   About the problem of “non-ISO CAN FD”, see the White Paper from CiA(CAN in Automation)。

  Multi-function Serial Interface (Max16Channels)

   Separate 64 byte receive and transmit FIFObuffers for channels 0 to 7.

   Operation mode is selectable for each channel from the following:

   UART

   CSIO (SPI)

   LIN

   I2C

   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

   LINbreak field generation (can change to 13-to 16-bit length)

   LINbreak delimiter generation (can change to 1-to 4-bit length)

   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 A and ch 7=ch B) supported

  DMA Controller (EightChannels)

  DMA controller has an independent bus, so the CPU and DMA controller can process

  simultaneously.

   Eightindependently configured and operated channels

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

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

   Transfer mode: Block transfer/Burst transfer/Demand transfer

   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 via the CPU. The DSTC adopts the descriptor system and, following the specified contents of the descriptor thathas already been constructed onthememory,can access directly the memory/peripheral device and perform the data-transfer operation.

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

  A/DConverter (Max 32 Channels)

   12-bit A/D Converter

   Successive approximation type

   Built-in threeunits

   Conversion time: 0.5μs at5V

   Priority conversion available (priority at two levels)

   Scanning conversion mode

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

  D/A Converter (Maxtwochannels)

   R-2R type

   12-bit resolution

  Base Timer (Max 16channels)

  Operation mode is selectedfrom the following for each channel:

   16-bit PWM timer

   16-bit PPG timer

   16-/32-bit reload timer

   16-/32-bit PWC timer

  General Purpose I/O Port

  This series can use its pins as general purpose I/O ports when they are not used for external bus orperipherals; moreover, the port relocate function is built in. It can set the I/O port to which the peripheral functioncan be allocated.

   Capable of pull-up control per pin

   Capable of reading pin level directly

   Built-in port-relocate function

   Up to 120high-speedgeneral-purpose I/O ports in 144-pin package

   Some pins 5V tolerant I/O.See “4. Pin Descriptions” and “5. I/O Circuit Type”for the corresponding pins.

  Multi-function Timer (Max threeunits)

  The multi-function timer is composed of the following blocks:

  Minimum resolution: 5.00ns

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

   Input capture × 4 ch/unit

   Output compare × 6ch/unit

   A/D activation compare × 6ch/unit

   Waveform generator × 3 ch/unit

   16-bit PPG timer × 3 ch/unit

  The following functionscan be used to achieve the motor control:

   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 01 to 99.

   Interrupt function with specifying date and time (year/month/day/hour/minute/second/day of theweek) is available. This function is also 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 fourchannels)

  The Quadrature Position/Revolution Counter (QPRC) is used to measure the position of the positionencoder. It is also possible to use up/down counter.

   The detection edge of the three external event input pins AIN, 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 down counters.Operation mode is selectable from the following for each channel:

   Free-running

   Periodic (= Reload)

   Oneshot

  Watch Counter

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

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

  External Interrupt Controller Unit

   External interrupt input pin: Max 32pins

   Include one non-maskable interrupt (NMI)

  Watchdog Timer (Twochannels)

  A watchdog timer can generate interrupts or a reset when a time-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-speed internal CR oscillator. The hardwarewatchdog is thus active in any power saving mode except RTC mode and Stopmode.

  Cyclic Redundancy Check(CRC) Accelerator

  The CRC accelerator helps to verify data transmission or storage integrity.

  CCITT CRC16 and IEEE-802.3 CRC32 are supported.

   CCITT CRC16 generator polynomial: 0x1021

   IEEE-802.3 CRC32 generator polynomial: 0x04C11DB7

  Programmable Cyclic Redundancy Check(PRGCRC)Accelerator

  The CRC accelerator helps a verify data transmission or storage integrity.

  CCITT CRC16, IEEE-802.3 CRC32and generating polynomial are supported.

   CCITT CRC16 generator polynomial: 0x1021

   IEEE-802.3 CRC32 generator polynomial: 0x04C11DB7

   Generating polynomial

  SD Card Interface

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

   Part 1 Physical Layer Specification version 3.01

   Part E1 SDIO Specification version 3.00

   Part A2 SD Host Controller Standard Specification version 3.00

   1-bit or 4-bit data bus

  Ethernet-MAC

   Compliant with IEEE802.3 specification

   10Mbps/100 Mbps data transfer rates supported

   MII/RMII for external PHY device supported.

   MII: Max one channel

   RMII: Max one channel

   Full-duplex and half-duplex mode supported.

   Wake-ON-LAN supported

   Built-in dedicated descriptor-system DMAC

   Built-in 2Kbytestransmit FIFO and 2Kbytesreceive FIFO.

   Compliant IEEE1558-2008 (PTP)

  I2S(Inter-IC Sound Bus)Interface (TX x onechannel, RX x onechannel)

   Supportsthree transfer protocols

   I2S

   Left justified

   DSP mode

   Separate clock generation block for flexible system integration options

   Master/slave mode selectable

   RX Only, TX Only or TX and RX simultaneous operation selectable

   Word length is programmable from 7-bits to 32-bits

   RX/TX FIFO integrated (RX: 66 words x 32-bits, TX: 66 words x 32-bits)

   DMA, interrupts,or polling based data transfer supported

  High-speed Quad SPI

  Up to 66 MHz clock rates for very fast data transfers to and from SPI compatible devices.

  Up to 256 Mbytes of memory mapped address space.

   Single data rate(SDR)

   Supportssingle,dual,and quad data modes

   Built-indirectmode and commandsequencermode

   Direct mode: Accessby use oftransmissionFIFO/reception FIFO(up to16word x 32bit)

   Commandsequencer mode: Automaticaccessassignedtoexternaldevice area.

  Clock and Reset

   Clocks

  Five clock sources (twoexternal oscillators, twointernal CR oscillators, and Main PLL) that are dynamicallyselectable.

   Main clock:4MHz to 48MHz

   Sub clock:30 kHz to 100 kHz

   High-speed internal CR clock:4MHz

   Low-speed internal CR clock:100kHz

   Main PLL Clock

   Resets

   Reset requests from INITX pin

   Power on reset

   Software reset

   Watchdog timer reset

   Low-voltage detector reset

   Clock supervisor reset

  Clock Supervisor (CSV)

  Clocks generated by internal CR oscillators are used to supervise abnormality of the external clocks.

   External OSC clock failure (clock stop) is detected, reset is asserted.

   External OSCfrequency anomaly is detected, interrupt or reset is asserted.

  Low-Voltage Detector (LVD)

  This Series include two-stage monitoring of voltage on the VCC pins. When the voltage falls below the voltage that has been set, the low-voltage detector functiongenerates an interrupt or reset.

   LVD1: error reporting via interrupt

   LVD2: auto-reset operation

  Low-power Consumption mode

  Six lowpower consumption modes are supported.

   Sleep

   Timer

   RTC

   Stop

   Deep standby RTC (selectable from with/without RAM retention)

   Deep standby stop (selectable from with/without RAM retention)

  Peripheral Clock Gating

  The system canreducethe current consumption of the total system with gating the operation clocks of peripheralfunctions not used.

  VBAT

  The consumption power duringthe RTC operation can be reduced by supplying the power supplyindependent from the RTC (calendar circuit)/32 kHz oscillation circuit. The following circuits can also beused.

   RTC

   32-kHz oscillation circuit

   Power-on circuit

   Back up register: 32 bytes

   Portcircuit

  Crypto Assist Function

  These features are enabled for the crypto assist function.The dedicated middleware is necessary for this calculator operation.

   PKA (Public Key Accelerator)

   PKA(Public Key Accelerator)is modular exponentiation calculation accelerator used of RSA Public Key crypto and so on.

   Available bit length: Up to 2048-bit

   AES calculator

   AES(Advanced Encryption Standard) calculator is a AES common key crypto accelerator which is compliant with FIPS(Federal Information Processing Standard Publication)197.

   Available key length: 128/192/256-bit

   CBC modeand ECB mode support

   SHA-256 calculator

   SHA-256 calculator is a SHA-256 hash function accelerator which is compliant with FIPS180-2.

   External Bus Data Scramble

   It enables to scramble input/output data of External Bus Interface.

  Voice Function

  These features are enabled for the voice function.Thededicated library is necessary for using the voice function.

   Automatic Speech Recognition (ASR)

   100 custom commands in multiple languages

   User commands defined with a text file (no audio input or training required)

   Natural Language Understanding (NLU)

  Debug

   Serial wire JTAG debug port (SWJ-DP)

   Embedded trace macrocells (ETM) provide comprehensive debug and trace facilities.

   AHB trace macrocells(HTM)

  Unique ID

  Unique value of the device (41-bit) is set.

  Power Supply

   Five power supplies

   Wide range voltage: VCC= 2.7Vto 5.5V

   Power supply for USB ch 0 I/O: USBVCC0= 3.0V to 3.6V (when USB is used)

  = 2.7V to 5.5V (when GPIO is used)

   Power supply for USB ch 1 I/O: USBVCC1= 3.0V to 3.6V (when USB is used)

  = 2.7V to 5.5V (when GPIO is used)

   Power supply for Ethernet-MAC I/O: ETHVCC = 3.0Vto 5.5V(when Ethernet is used.)

  = 2.7Vto 5.5V(when GPIO is used)

   Power supply for VBAT: VBAT= 1.65Vto 5.5V

图1.FM4 S6E2C系列框图

开发板FM4-216-ETHERNE

The FM4-216-ETHERNET is a development platform for developing applications using the ARM® Cortex®-M4-based FM4 S6E2CC MCU. This board provides a variety of peripherals for evaluating different modules of the MCU, including Ethernet, CAN and USB Host .

图2.开发板FM4-216-ETHERNE外形图

图3.开发板FM4-216-ETHERNE主要功能分布图

图4.开发板FM4-216-ETHERNE主要特性和框图

图5.开发板FM4-216-ETHERNE电路图(1)

图6.开发板FM4-216-ETHERNE电路图(2)

图7.开发板FM4-216-ETHERNE电路图(3)

图8.开发板FM4-216-ETHERNE电路图(4)

图9.开发板FM4-216-ETHERNE电路图(5)

图10.开发板FM4-216-ETHERNE电路图(6)

图11.开发板FM4-216-ETHERNE电路图(7)

图12.开发板FM4-216-ETHERNE PCB设计图(1)

图13.开发板FM4-216-ETHERNE PCB设计图(2)

图14.开发板FM4-216-ETHERNE PCB设计图(3)

图15.开发板FM4-216-ETHERNE PCB设计图(4)

图16.开发板FM4-216-ETHERNE PCB设计图(5)

图17.开发板FM4-216-ETHERNE PCB设计图(6)

图18.开发板FM4-216-ETHERNE PCB设计图(7)

图19.开发板FM4-216-ETHERNE PCB设计图(8)

推荐阅读

史海拾趣

BENCENT公司的发展小趣事

随着市场的不断变化和竞争的加剧,BENCENT公司意识到只有不断创新才能在行业中立足。公司加大了研发投入,引进了一批高素质的技术人才,并与其他科研机构展开合作。通过一系列的技术创新,公司成功推出了一系列具有自主知识产权的电子产品,进一步提升了市场竞争力。

DLP Design公司的发展小趣事

DLP创新设计公司,一家专注于DLP技术应用的企业,通过精准的市场定位和灵活的市场策略,成功在电子行业中脱颖而出。公司深入了解消费者需求,针对不同市场推出差异化产品。同时,DLP创新积极寻求合作伙伴,通过渠道拓展和品牌建设,逐渐提高了市场占有率。其独特的商业模式和敏锐的市场洞察力,使DLP创新在激烈的市场竞争中保持了稳健的发展。

AIM公司的发展小趣事

AIM公司深知质量是企业的生命线。因此,公司始终将质量管理放在首位,建立了严格的质量控制体系。从原材料采购到产品出厂,每一个环节都经过严格把关,确保产品的质量稳定和可靠。同时,AIM还注重品牌建设,通过提供优质的产品和服务,树立了良好的品牌形象和口碑。

Cooper Industries公司的发展小趣事

随着市场需求的不断变化,Cooper Industries不断通过收购来扩大其业务范围和提升技术实力。例如,在2008年,公司宣布收购了三家公司:Sure Power Industries、OMNEX Control Systems和Roam Secure。这三家公司在各自的领域都有着丰富的经验和卓越的技术,收购后极大地增强了Cooper在电力系统管理、无线电远程控制以及文字报警、区域警示系统等领域的能力。这些收购不仅使公司的产品线更加丰富,也为其在全球市场的竞争提供了有力武器。

Glenair公司的发展小趣事
检查电路中的连接线是否松动、接触不良或断裂,确保信号能够正确传输。
Cypress Industries公司的发展小趣事

2020年,Cypress迎来了其发展历程中的一个重要时刻——与德国半导体巨头英飞凌(Infineon)的合并。这次合并使Cypress成为英飞凌的一部分,双方在技术、市场和资源等方面实现了互补和整合。这次合并不仅增强了Cypress在全球半导体市场的竞争力,也为其未来的发展提供了更广阔的空间。

以上故事均基于Cypress Semiconductor(赛普拉斯半导体)的发展历史而创作,旨在客观描述公司在电子行业中的发展历程和成就。

问答坊 | AI 解惑

DSP编程的几个关键问题!!!(经典!!!)

找到一份好资料,跟大家分享一下,顺便挣点钱!!o(∩_∩)o...…

查看全部问答>

转载:多种传感器书籍大集锦

刚在网上看到的,迫不及待的与大家分享,转自OURAVR [ 本帖最后由 绿茶 于 2009-4-9 13:21 编辑 ]…

查看全部问答>

有没有纯数字的精确测量信号时间间隔的方法?

十个ns左右的误差范围啊,疯了都,目前我想到两个方法,一个是精确扩展计数时间,一个是多测几次,牺牲测量速度,不好弄…

查看全部问答>

HI-TECH C V9.70 和谐文件

HI-TECH C Compiler for PIC10-12-16 MCUs V9.70 已经测试过,破解成功! 1,先安装HI-TECH C Compiler for PIC10-12-16 MCUs V9.70  安装路径为默认路径 \"C 盘下\" 激活PICC 45天试用版! 2,破解,先写入注册文件,运行破解文件, ...…

查看全部问答>

DDRAW程序问题,在全屏方式下,用创建程序的方式打开一个程序后,程序的界面显示不出来,LCD上显示的还是DDRAW的画面

请问如何解决这个问题 // // Copyright (c) Microsoft Corporation.  All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft end-user // license agreement (EULA) under which you l ...…

查看全部问答>

wince usb 驱动问题

我在看wince5.0 usb从驱动源代码具体位置是:/%wince500boot%/public/common/oak/usbfn 这个文件下有3个文件夹: 1.CLASS文件: RNDIS,SERIAL, STORAGE三个文件夹 2.CONTROLLER文件: MDD,NET2280 3.UFNCLIENLIB文件 请问这三个文件都有什 ...…

查看全部问答>

usb拔掉了,如何判断呢

在usb中断中有这个类别的处理吗? (没有多余管脚来判断Vusb)…

查看全部问答>

国产FPGA助学计划

国产FPGA助学计划          自打去年12月中旬开始接触AgateLogic这家本土FPGA器件制造商,不到四个月的时间,虽然手头上总是多个项目齐头并进,真正花在研究琢磨这个国产FPGA项目上的时间或许不会超过 ...…

查看全部问答>

有木有CH4浓度传感器啊,急求资料,帮忙呀

最还好有单片机程序代码,电路图等等,越全越好.谢谢啊 …

查看全部问答>

4-20ma转换成0-5V

各位高手,本人摸电只是懂点基本的.想请教大家个问题.传感器输出的4-20ma如何转换成0-5V.我以前一直就是用250欧电阻将4-20ma转换成1-5V,再进行A/D转换,感觉这样处理没有0-5V方便.比如4-20ma表示0-50度的温度,0V的时候就表示温度是0度,5V的时候就表示 ...…

查看全部问答>