8049 views|1 replies

5

Posts

0

Resources
The OP
 

HuaDa HC32M140 Cortex microcontroller (32-pin, 48-pin, 64-pin suitable for brushless inverter) [Copy link]

SummaryHC32M140 series products are 32bit MCU based on ARM-Cortex M0+ developed by Huada Semiconductor. Compared with traditional CPU cores, they are more efficient and have lower power consumption. Wider operating voltage range, can support 3V and 5V systems at the same time. Integrate rich peripheral resources such as TIMER4, asynchronous serial port, SPI, I2C, 12-bit high-speed ADC, operational amplifier, voltage comparator, etc. This product is the first 5V voltage product of Huada Semiconductor on the M0+ platform. Typical applications  Motor control: UAV motor speed regulator, electric bicycle, variable frequency fan, range hood, air purifier, power tool; Compressor control: refrigerator compressor control. Features  32-bit ARM Cortex-M0+ core – Processor version: r0p1 – Maximum operating frequency: 48MHz – Nested Vectored Interrupt Controller (NVIC): supports 1-channel NMI (non-maskable interrupt) and 32-channel peripheral interrupt, and can set 4 interrupt priorities – 24-bit system timer (Sys Tick): This system timer is used to manage operating system tasks – Supports bit band operation  On-chip memory – Flash memory  Maximum 128KB  Encryption function for code protection  Supports read wait (0 or 1 cycle) – On-chip SRAM  Maximum 8KB  DMA controller (2 channels)  The DMA controller is equipped with a DMA-dedicated bus for the CPU, which can perform processing work simultaneously with the CPU.  2 channels that can be configured and operated independently  Transfers can be performed based on requests from software or built-in peripheral functions  Transfer address space: 32 bits (4 GB)  Transfer mode: Block transfer/burst transfer/request transfer  Transfer data type: byte/half word/word  Number of transfer blocks: 1 ~ 16  Number of transfers: 1 ~ 65536 Multi-function communication serial port (up to 3 channels simultaneously) – The operating mode of each channel can be selected from the following modes.  UART (supports baud rate compensation)  SPI  I2C – UART  Full-duplex double buffer  Parity check selectable  Built-in dedicated baud rate generator  Various error detection functions (parity error, frame error, overrun error)  Support hardware flow control: automatically control data reception/transmission according to CTS/RTS  Support baud rate compensation – SPI  Full-duplex double buffer  Built-in dedicated baud rate generator  Overrun error detection  Chip select function  Data length: 5 to 16 bits – I2C  Support standard mode (up to 100 kbps) / high-speed mode (up to 400 kbps) A/D converter (up to 16 channels) – 12-bit A/D converter  Successive approximation type  Sampling/conversion cycle ≥ 20 clock cycles, Conversion rate up to 1MBPS(M-bit per second).  Optional priority conversion mode or scan conversion mode  Built-in FIFO for storing conversion results  Monotonic 12-bit conversion without missing codes  Adjustable sampling, holding time and conversion rate.  Supports 16 external port inputs and 2 internal signal source sampling (OPA0/OPA1)  Window threshold comparison function  Analog voltage comparator (VC) – 1-channel port voltage monitoring – Can generate asynchronous interrupts, support low-power wake-up function – Support hysteresis circuit to enhance anti-interference ability – Configurable response time (16us-64ms) – Comparator output can be used as composite timer input Composite timer (maximum: 4 channels) The operating mode of each channel can be selected from the following modes. – 16-bit PWM mode – 16-bit PPG mode – 16/32-bit reload timer – 16/32-bit PWC mode General purpose IO port When the pins of this series are not used as external bus or peripheral functions, they can be used as I/O ports. In addition, any I/O port can be equipped with a port relocation function to configure the settings of peripheral functions. – Fast GPIO supports single-cycle access – Each port can be configured with a built-in pull-up resistor – Each port can be configured with an open-drain output – The port pin level can be read directly – Port relocation – Some pins support high current output 12 mA  Dual timer The dual timer consists of two programmable 32/16-bit down counters. The operating mode of the timer channel can be selected from the following modes. – Free-running mode – Periodic mode (= reload mode) – One-shot modeTIMER4 (1 unit) TIMER4 consists of the following modules: – Counter unit 1 channel – Comparison output unit 6 channels (2 channels x 3 units) – ADC start trigger unit 6 channels (1 channel x 6 units) – EMII emergency input unit 1 channel Motor control can be achieved using the following functions: – PWM signal output function – Dead-band timer function – A/D converter start function – EMII (motor emergency stop) interrupt functionExternal interrupt controller unit – External interrupt input pins: Up to 16 – Non-maskable interrupt (NMI) input pin: 1 Watchdog timer (2 channels) – When the timeout value is reached, the watchdog timer generates an interrupt or reset, – There are two types of watchdogs in this series: “hardware” watchdog and “software” watchdog. The “hardware” watchdog timer uses the internal low-speed RC oscillator and can therefore operate in any low-power mode except stop mode. Watch counter – The watch counter can wake up the system in low-power mode. – The clock source of the watch counter can come from any clock except the PLL clock. Clock/Reset – Clock Five clock sources are available (two external oscillators, two internal RC oscillators)  External high-speed OSC oscillator: 4MHz ~ 16 MHz  External low-speed OSC oscillator: 32.768 kHz  Internal high-speed RC oscillator: 4 MHz  Internal low-speed RC oscillator: 32 kHz  Internal PLL: up to 48MHz – Reset  RSTB pin reset  Power-on reset  Software reset  Watchdog timer reset  Low voltage detection reset  Clock monitor reset The clock monitor monitors the external clock for abnormalities based on the clock generated by the internal RC oscillator. – When an external oscillation clock failure (clock stop) is detected, a reset occurs – When an external frequency abnormality is detected, an interrupt or reset is valid  Low Voltage Detection (LVD) This series of products contains two low voltage detection units: LVD1 and LVD2, which are used to detect the DVCC voltage. The LVD detection threshold is adjustable. When the voltage is lower than the threshold voltage, an interrupt or reset can be generated according to the configuration.  Operational Amplifier – This series of products contains two operational amplifiers that can work independently SRAM Check – This series of products supports SRAM parity check function, and an interrupt can be generated when a parity error is detected.  Low Power Mode There are the following low power modes: – Sleep mode (Sleep) – Timer mode (Timer) – Stop mode (Stop)  Peripheral clock gating can reduce system power consumption by gating the operating clock of unused peripherals.  Debug interface – Serial Wire Debug Interface (SW-DP) – Micro Trace Buffer (MTB)  Unique ID Each chip has a fixed 80-bit unique ID.  Power supply – supports wide range voltage: DVCC = 2.7V ~ 5.5 V Brushless frequency conversion library files can be provided Sample request method: WeChat & mobile phone 18602160290 QQ772960647



变频方案.jpg (1.45 MB, downloads: 4)

变频方案.jpg

HC32M140系列数据手册v1.0.pdf

2.66 MB, downloads: 236

This post is from MCU

Latest reply

Which STM model is compatible?   Details Published on 2020-5-9 18:17
 

1

Posts

0

Resources
2
 

Which STM model is compatible?

This post is from MCU
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list