中国电子技术网

设为首页 网站地图 加入收藏

 

[原创] Microchip ATSAME54 32位ARM MCU开发方案

关键词:ARM Cortex-M4F MCU 以太网 ATSAME5x/D5x系列

时间:2019-03-08 11:38:06       来源:中电网

microchip公司的ATSAME5x/D5x系列是高性能微控制器,具有浮点单元(FPU)的32位ARM®Cortex®-M处理器,工作频率高达120 MHz/400 CoreMark®,集成了多达带ECC的1MB的双面闪存和多达带ECC的256KB SRAM.该系列具有极好特性和一流功率性别能和集成的硬件安全特性,还增加了10/100以太网MAC和两个CAN-FD端口.此外还集成了1Msps 12位ADC,ADC, QSPI, USB和以太网与PTC.主要用在工业自动化,汽车电子应用和需要有线连接的通用应用.本文介绍了SAM D5x/E5x系列主要特性,SAM D5x/E5x系列框图以及ATSAME54 100引脚马达控制插入模块MA320207,dsPICDEM™ MCHV-3 开发板主要特性,框图,电路图和PCB设计图.

The SAMD5 high-performance microcontroller series features a 32-bit ARM®Cortex®-M4 processor with Floating Point Unit (FPU), running up to 120 MHz/400 CoreMark®, up to 1 MB dual-panel Flash with ECC, and up to 256 KB of SRAM with ECC. This series offers excellent features with class-leading power performance and integrated hardware security. The SAME5 series adds an 10/100 Ethernet MAC and two CAN-FD ports targeted for industrial automation, automotive applications and general-purpose applications requiring wired connectivity

SAM D5x/E5x系列主要特性:

Operating Conditions:
• 1.71V to 3.63V, -40℃ to +125℃, DC to 100 MHz
• 1.71V to 3.63V, -40℃ to +105℃, DC to 120 MHz
• 1.71V to 3.63V, -40℃ to +85℃, DC to 120 MHz
Core: 120 MHz ARM® Cortex®-M4
• 403 CoreMark® at 120 MHz
• 4 KB combined instruction cache and data cache
• 8-zones Memory Protection Unit (MPU)
• Thumb®-2 instruction set
• Embedded Trace Module (ETM) with instruction trace stream
• Core Sight Embedded Trace Buffer (ETB)
• Trace Port Interface Unit (TPIU)
• Floating Point Unit (FPU)
Memories
• 1 MB/512 KB/256 KB in-system self-programmable Flash with:
– Error Correction Code (ECC)
– Dual bank with Read-While-Write (RWW) support
– EEPROM hardware emulation
• 256/192/128 KB SRAM Main Memory
– 128/96/64 KB of Error Correction Code (ECC) RAM option
• Up to 4 KB of Tightly Coupled Memory (TCM)
• Up to 8 KB additional SRAM
– Can be retained in backup mode
• Eight 32-bit backup registers
System
• Power-on Reset (POR) and Brown-out detection (BOD)
• Internal and external clock options
• External Interrupt Controller (EIC)
• 16 external interrupts
• One non-maskable interrupt
• Two-pin Serial Wire Debug (SWD) programming, test, and debugging interface
Power Supply
• Idle, Standby, Hibernate, Backup, and Off sleep modes
• SleepWalking peripherals
• Battery backup support
• Embedded Buck/LDO regulator supporting on-the-fly selection
High-Performance Peripherals
• 32-channel Direct Memory Access Controller (DMAC)
– Built-in CRC, with memory CRC generation/monitor hardware support
• Up to two SD(HC) Memory Card Interfaces (SDHC)
– Up to 50 MHz operation
– 4-bit or 1-bit interface
– Compatibility with SD and SDHC memory card specification version 3.01
– Compatibility with SDIO specification version 3.0
– Compliant with JDEC specification, MMC memory cards V4.51
• One Quad I/O Serial Peripheral Interface (QSPI)
– eXecute-In-Place (XIP) support
– Dedicated AHB memory zone
• One Ethernet MAC (SAM E53 and SAM E54)
– 10/100 Mbps in MII and RMII with dedicated DMA
– IEEE 1588 Precision Time protocol (PTP) support
– IEEE 1588 Time Stamping Unit (TSU) support
– IEEE802.3AZ energy efficiency support
– Support for 802.1AS and 1588 precision clock synchronization protocol
– Wake on LAN support
• Up to two Controller Area Network CAN (SAM E51 and SAM E54)
– Support for CAN2.0 A/B and CAN-FD (ISO 11898-1:2015)
• One Full-Speed (12 Mbps) Universal Serial Bus (USB) 2.0 interface
– Embedded host and device function
– Eight endpoints
– On-chip transceiver with integrated serial resistor
System Peripherals
• 32-channel Event System
• Up to eight Serial Communication Interfaces (SERCOM), each configurable to operate as either:
– USART with full-duplex and single-wire half-duplex configuration
– ISO7816
– I2C up to 3.4MHz
– SPI
– LIN master/slave
– RS485
– SPI inter-byte space
• Up to eight 16-bit Timers/Counters (TC) each configurable as:
– 16-bit TC with two compare/capture channels
– 8-bit TC with two compare/capture channels
– 32-bit TC with two compare/capture channels, by using two TCs
• Two 24-bit Timer/Counters for Control (TCC), with extended functions:
– Up to six compare channels with optional complementary output
– Generation of synchronized pulse width modulation (PWM) pattern across port pins
– Deterministic fault protection, fast decay and configurable dead-time between complementaryoutput
– Dithering that increase resolution with up to 5 bit and reduce quantization error
• Up to Three 16-bit Timer/Counters for Control (TCC), with extended functions:
– Up to three compare channels with optional complementary output
• 32-bit Real Time Counter (RTC) with clock/calendar function
• Up to 4 wake-up pins with tamper detection and debouncing filter
• Watchdog Timer (WDT) with Window mode
• CRC-32 generator
• One two-channel Inter-IC Sound Interface (I2S)
• Position Decoder (PDEC)
• Frequency meter (FREQM)
• One Configurable Custom Logic (CCL)
• Dual 12-bit, 1 MSPS Analog-to-Digital Converter (ADC) with up to 16 channels each
– Differential and single-ended input
– Automatic offset and gain error compensation
– Oversampling and decimation in hardware to support 13-, 14-, 15-, or 16-bit resolution
• Dual 12-bit, 1 MSPS Output Digital-to-Analog Converter (DAC)
• Two Analog Comparators (AC) with Window Compare function
• One temperature sensor
• Parallel Capture Controller (PCC)
– Up to 14-bit parallel capture mode
• Peripheral Touch Controller (PTC)
– Capacitive Touch buttons, sliders, and wheels
– Wake-up on touch
– Up to 32 self-capacitance, and up to 256 mutual-capacitance channels
Cryptography
• One Advanced Encryption System (AES) with 256-bit key length and up to 2 MB/s data rate
– Five confidential modes of operation (ECB, CBC, CFB, OFB, CTR)
– Supports counter with CBC-MAC mode
– Galois Counter Mode (GCM)
• True Random Number Generator (TRNG)
• Public Key Cryptography Controller (PUKCC) and associated Classical Public Key Cryptography
Library (PUKCL)
– RSA, DSA
– Elliptic Curves Cryptography (ECC) ECC GF(2n), ECC GF(p)
• Integrity Check Module (ICM) based on Secure Hash Algorithm (SHA1, SHA224, SHA256), DMAassisted
Oscillators
• 32.768 kHz crystal oscillator (XOSC32K)
– Clock failure detection
• Up to two 8 MHz to 48 MHz crystal oscillator (XOSC)
– Clock failure detection
• 32.768 kHz ultra low-power internal oscillator (OSCULP32K)
• 48 MHz Digital Frequency Locked Loop (DFLL48M)
• Two 96-200 MHz Fractional Digital Phased Locked Loop (FDPLL200M)
I/O
• Up to 99 programmable I/O pins

图1.SAM D5x/E5x系列框图

ATSAME54 100引脚马达控制插入模块MA320207

The ATSAME54 100-Pin Motor Control Plug-in Module (PIM), MA320207, is designed to demonstrate thecapabilities of the ATSAME54 128-pin Motor Control devices using external op amps with the followinghardware:

• The dsPICDEM™ MCLV-2 development board (DM330021-2)
• The dsPICDEM™ MCHV-3 development board (DM330023-3)

Both development boards support 100-pin PIM interfaces. The ATSAME54 Motor Control PIM is designedto use on board external op amps for signal conditioning of analog feedback inputs.

For the dsPICDEM™ MCLV-2 development board, insert the external op amp onfiguration board(included with the development board) at header J14.
For the dsPICDEM™ MCHV-3 development board, insert the PFC–EXT-OPAMP configuration board(included with the development board) at header J4.

图2.dsPICDEM™ MCLV-2的运放配置板外形图

图3.dsPICDEM™ MCHV-3的运放配置板外形图

图4. ATSAME54马达控制PIM电路图(1)

图5. ATSAME54马达控制PIM电路图(2)

图6. ATSAME54马达控制PIM PCB设计图(1)

图7. ATSAME54马达控制PIM PCB设计图(2)

图8. ATSAME54马达控制PIM PCB设计图(3)

dsPICDEM™ MCHV-3 开发板

The Microchip dsPICDEM™ MCHV-3 Development Board is intended to aid the user in the rapid evaluation and development of a wide variety of motor control applications using PIC32 and PIC24 Microcontrollers (MCUs), and dsPIC® Digital SignalControllers (DSCs). This development system is targeted to control Brushless DC(BLDC) motors, Permanent Magnet Synchronous Motors (PMSM) and AC InductionMotors (ACIM) in sensor or sensorless operation.

This flexible and cost-effective tool can be configured in different ways for use with Microchip’s specialized motor control devices. The dsPICDEM™ MCHV-3 Development Board is essentially an upgraded version of the dsPICDEM MCHV DevelopmentSystem. The dsPICDEM™ MCHV-3 Development Board is designed to support thePIC24F, PIC24E, dsPIC33F, dsPIC33E and PIC32 Motor Control device families, andoffers a mounting option to connect a generic 100-pin Plug-In Module (PIM).

The system has a three-phase power module device that contains the motor inverter and the gate driver’s circuitry. The circuit drives a BLDC, PMSM or ACIM motor using different control techniques without requiring any additional hardware. It also hasPower Factor Correction (PFC) circuitry in order to provide a full set of tools usedin motor control applications.

The rated continuous output current from the inverter is 6.5A (RMS). This allows up to approximately 2 kVA output when running from a 208V to 230V single-phase input voltage in a maximum 30ºC (85ºF) ambient temperature environment. Therefore, the system is ideally suited for running a standard 3-phase induction motor of up to a1 kW (1.34 HP) rating or a slightly higher rated industrial servo motor. The powermodule is capable of driving other types of motors and electrical loads that do notexceed the maximum power limit, and are predominantly inductive. Furthermore,single-phase loads can be driven using one or two of the inverter outputs.
The unit is capable of operating from 90V, up to a maximum of 265V.

图9.dsPICDEM™ MCHV-3 开发板外形图

图10.dsPICDEM™ MCHV-3 开发板框图

dsPICDEM™ MCHV-3 开发板主要特性:

This section provides some of the key features of the dsPICDEM MCHV-3Development Board.
1.2.1 Motor Control Interfaces:
• Three-phase inverter bridge with a power rating of 400V/6.5A (J17)
• Hall sensors/Quadrature Encoder Interface (QEI) for sensored motor control
algorithms (J9)
• Phase voltage feedback for sensorless BLDC operation
• DC bus current sense resistor for single shunt vector control
• Phase current sense resistor for dual shunt vector control
• Overcurrent protection
• Support for Microchip MCUs/dsPIC DSCs with internal op amps and comparators
1.2.2 Input/Output:
• One isolated push button (S1)
• Isolated Reset push button (RESET)
• Isolated 10 kpotentiometer (POT1)
• LED indicators for PWM outputs
• Two LED indicators for debugging purposes (D2 and D19)
1.2.3 Isolated Communication Ports:
• UART communication via USB (J6)
• UART communication via RS-232 (J8)
1.2.4 Built-in Isolated Programmer/Debugger (J20):
• Starter Kit on-board programmer/debugger (daughter board)
1.2.5 Power Factor Corrector:
• Maximum input voltage: 90 VAC to 265 VAC
• Current feedback circuitry
• VAC input voltage sensing
• Zero-crossing detection
• DC bus sensing
• Overcurrent protection
1.2.6 Built-in Power Supplies:
• 15V power supply, maximum power available: 11W
• 3.3V power supply, maximum power available: 2W
1.2.7 Relay Circuit:
• In parallel with inrush current limiter
• Turns on after inrush current minimizes
1.2.8 Additional Protection Circuitry:
• 250 VAC/15A fuse
• Inrush current limiter
• EMI filter
The dsPICDEM™ MCHV-3 Development Board consists of two stages:
• PFC Stage
The first stage is integrated by the Power Factor Correction (PFC) circuitry, the
full-bridge rectifier, the 15V power supply, the 3.3V power supply and the relay circuit.
• Power Module Stage
The second stage is the Power Module Board. This board contains the PIM
connector, the isolated user interface connectors and the motor drive.

图11.PFC级板布局图(顶层)

图12.PFC级板电路图(1)

图13.PFC级板电路图(2)

图14.PFC级板电路图(3)

图15.dsPICDEM™ MCHV-3 开发板 PCB设计图(正面)

图16.dsPICDEM™ MCHV-3 开发板 PCB设计图(底面)

图17.功率模块级电路图(1)

图18.功率模块级电路图(2)

图19.功率模块级电路图(3)

图20.功率模块级电路图(4)

图21.功率模块级电路图(5)

图22.功率模块级电路图(6)

图23.内部运放配置矩阵板电路图


图24.外部运放配置矩阵板电路图

图25.PFC-外部运放配置矩阵板电路图
详情请见:
http://59.80.44.98/ww1.microchip.com/downloads/en/DeviceDoc/60001507C.pdf
http://59.80.44.98/ww1.microchip.com/downloads/en/DeviceDoc/ATSAME54-100Pin-Motor-Control-PlugIn-Module-Information-Sheet-DS50002807A.pdf
以及http://59.80.44.98/ww1.microchip.com/downloads/en/DeviceDoc/DS50002505a.pdf
DS50002505a.pdf
ATSAME54-100Pin-Motor-Control-PlugIn-Module-Information-Sheet-DS50002807A.pdf
60001507C.pdf

  • 分享到:

 

猜你喜欢