EasyManua.ls Logo

Cmsemicon CMS32L051 - User Manual

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 1 CPU
www.mcu.com.cn 1 / 703
CMS32L051 User Manual
Ultra-low-power 32-bit microcontroller based on the ARM® Cortex®-M0+
V1.2.2














Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Cmsemicon CMS32L051 and is the answer not in the manual?

Summary

Chapter 1 CPU

1.1 Overview

Brief introduction to the features and debugging features of the ARM Cortex-M0+ core.

1.2 Cortex-M0+ core features

Details on the ARM Cortex-M0+ processor, including its architecture and capabilities.

1.3 Debugging features

Overview of debugging capabilities, including interfaces, breakpoints, and data observation points.

1.4 SWD interface pin

Configuration and usage of the 2-wire Serial Wire Debug (SWD) interface pins.

1.5 ARM reference document

List of related ARM documentation for further details on the Cortex-M0+ core and CoreSight suite.

Chapter 2 Pin Function

2.1 Port function

Description of port functions, referring to data sheets for each product family.

2.2 Port multiplexing function

Explanation of port multiplexing functions, referring to data sheets for each product family.

2.3 Registers for controlling port functions

Details on registers used to control port functions, including PMxx, Pxx, PSETxx, PCLRxx, PUxx, PDxx, POMxx, PMCxx, and PxxCFG.

2.4 Handling of unused pins

Recommended connection methods for unused pins.

2.5 Register setting when using the multiplexed function

Basic ideas and examples of register settings for using multiplexed output and input functions.

Chapter 3 System Structure

3.1 Overview

Introduction to the system structure, including AHB bus masters and slaves.

3.2 System address partition

Schematic diagram of the address area partition, detailing memory regions.

Chapter 4 Clock Generation Circuit

4.1 Function of the clock generation circuit

Description of the clock generation circuit's function and types of system clocks.

4.2 Structure of clock generation circuit

Overview of the hardware components of the clock generation circuit.

4.3 Registers for controlling clock generation circuit

Details of registers used to control the clock generation circuit.

4.4 System clock oscillation circuit

Explanation of the X1 and XT1 oscillation circuits, including external clock inputs.

4.5 Operation of clock generation circuit

Description of the clock generation circuit's operation and control of CPU operating modes.

4.6 Clock control

Examples and procedures for setting up oscillators and controlling clock switching.

4.7 High-speed internal oscillation correction

Description of the self-adjustment function for high-speed internal oscillator frequency.

Chapter 5 Universal Timer Unit (Timer4)

5.1 Function of universal timer unit

Overview of the functions of the universal timer unit, including independent and multi-channel operations.

5.2 Structure of the universal timer unit

Details the hardware structure of the universal timer unit, including counters and registers.

5.3 Registers for controlling general-purpose timer unit

Lists and describes registers for controlling the general-purpose timer unit.

5.4 Basic rules of the universal timer unit

Fundamental rules for operating the multi-channel linkage function.

5.5 Operation of the counter

Details on the count clock (fTCLK) selection and counter operation for various modes.

5.6 Control of the channel output (TOmn pin)

Explanation of how to control the channel output pins, including structure and state changes.

5.7 Control of timer input (TImn)

Description of the timer input circuit structure and considerations for channel input manipulation.

5.8 Independent channel operation function of the universal timer unit

Details on operating modes like interval timer, square wave output, and event counting.

5.9 Multi-channel linkage operation of the universal timer unit

Explanation of functions like single-trigger pulse output, PWM, and multiple PWM outputs.

Chapter 6 Function of EPWM Output Control Circuit

6.1 Structure of the output control circuit

Overview of the hardware structure of the EPWM output control circuit.

6.2 Registers for controlling EPWM output control circuit

Lists and describes registers for controlling the EPWM output control circuit.

6.3 Operation of EPWM output control circuit

Describes the initial setup, normal operation, and force truncation processing of the EPWM output circuit.

6.4 Control example of brushless DC motor

Example demonstrating the use of EPWM control for a brushless DC motor.

6.5 Example of stepper motor control

Example of using real-time outputs to control two 2-phase stepper motors.

Chapter 7 Real-Time Clock

7.1 Function of real-time clock

Overview of the functions of the real-time clock, including counters and alarm features.

7.2 Structure of real-time clock

Description of the hardware components that constitute the real-time clock.

7.3 Registers for controlling real-time clock

Lists and describes registers for controlling the real-time clock, including counters and control registers.

7.4 Operation of real-time clock

Detailed steps and procedures for operating the real-time clock, including start, sleep, and alarm settings.

Chapter 8 15-Bit Interval Timer

8.1 Function of 15-bit interval timer

Description of the functions of the 15-bit interval timer, including interrupt generation and wake-up.

8.2 Structure of 15-bit interval timer

Overview of the hardware structure of the 15-bit interval timer.

8.3 Registers for controlling 15-bit interval timer

Lists and describes registers for controlling the 15-bit interval timer.

8.4 15-bit interval timer operation

Details the operation timing and procedures for the 15-bit interval timer.

Chapter 9 Clock output;Buzzer Output Controller

9.1 Functions of clock output;buzzer output controller

Description of the functions of the clock output and buzzer output controller.

9.2 Structure of clock output;buzzer output controller

Overview of the hardware structure of the clock output/buzzer output controller.

9.3 Registers for controlling clock output;buzzer output controller

Lists and describes registers for controlling the clock output/buzzer output controller.

9.4 Operation of clock output;buzzer controller

Details the operation of the clock output and buzzer controller.

9.5 Cautions for clock output;buzzer output control circuitry

Important notes and precautions for using the clock output/buzzer output control circuitry.

Chapter 10 Watchdog Timer

10.1 Function of watchdog timer

Description of the watchdog timer's function, including program runaway detection.

10.2 Structure of watchdog timer

Overview of the hardware structure of the watchdog timer.

10.3 Registers for controlling watchdog timer

Lists and describes registers for controlling the watchdog timer.

10.4 Operation of the watchdog timer

Details the operational control of the watchdog timer, including overflow time and window settings.

Chapter 11 A;D Converter

11.1 Function of A;D converter

Description of the A/D converter's functions, including 12-bit resolution and various conversion modes.

11.2 Control registers of A;D converter

Lists and describes registers used for controlling the A/D converter.

11.3 Input voltage and conversion results

Explanation of the relationship between analog input voltage and A/D conversion results.

11.4 Operation mode of A;D converter

Details the operation modes of the A/D converter, including software and hardware trigger modes.

Chapter 12 Universal Serial Communication Unit

12.1 Function of universal serial communication unit

Overview of the functions of the universal serial communication unit, supporting 3-wire SPI, UART, and simple I2C.

12.2 Structure of universal serial communication unit

Description of the hardware structure of the universal serial communication unit.

12.3 Registers for controlling universal serial communication unit

Lists and describes registers for controlling the universal serial communication unit.

12.4 Operation stop mode

Explanation of how to stop the operation of serial interfaces by unit or channel.

12.5 3-wire serial I;O (SSPI00, SSPI01, SSPI10, SSPI11, SSPI20, SSPI21) communication

Details on 3-wire serial I/O communication modes: master transmission, reception, and slave operations.

12.6 Operation of clock-synchronous serial communication with slave selection input function

Explanation of clock-synchronous serial communication using the slave select input function.

12.7 Operation of UART (UART0~UART2) communication

Details on UART communication operations, including transmission, reception, and error handling.

12.8 Operation of LIN communication

Description of LIN communication features, including transmission and reception.

12.9 Simplified I2 C (IIC00, IIC01, IIC10, IIC11, IIC20, IIC21) communication operation

Details on simplified I2C communication, including data transfer, start/stop conditions, and error detection.

Chapter 13 Serial Interface SPI

13.1 Serial interface SPI function

Overview of the SPI interface functions, including operation stop mode and 3-wire serial I/O mode.

13.2 Structure of SPI

Block diagram illustrating the structure of the SPI interface.

13.3 Registers for controlling SPI

Lists and describes registers used for controlling the SPI interface.

13.4 Operation of SPI

Details the operation of the SPI interface in 3-wire serial I/O mode, including timing and precautions.

Chapter 14 Serial interface IICA

14.1 Function of IICA

Overview of the IICA interface functions, including operation stop, I2C-bus, and wake-up modes.

14.2 Structure of the serial interface IICA

Description of the hardware structure of the serial interface IICA.

14.3 Registers for controlling serial interface IICA

Lists and describes registers for controlling the serial interface IICA.

14.4 Function of I2 C-bus mode

Explanation of the I2C-bus mode, including pin structure and settings.

14.5 Definition and control method of I2 C-bus

Details the serial data communication format and signals used by the I2C-bus.

Chapter 15 IrDA

15.1 Function of IrDA

Description of the IrDA function, enabling infrared communication via SCI.

15.2 Registers for controlling the IrDA

Lists and describes registers for controlling the IrDA function.

15.3 Operation of IrDA

Details the operating steps for IrDA communication, including initial setup and stop processes.

15.4 Considerations when using IrDA

Important notes and considerations for using the IrDA function.

Chapter 16 Enhanced DMA

16.1 The function of DMA

Description of the DMA function, enabling data transfer between memories without CPU intervention.

16.2 Structure of DMA

Block diagram illustrating the structure of the enhanced DMA controller.

16.3 Registers for controlling DMA

Lists and describes registers used for controlling DMA operations.

16.4 DMA operation

Details the operation of DMA, including startup, normal mode, and repeat pattern transfers.

16.5 Precautions when using DMA

Important precautions and considerations when using the DMA controller.

Chapter 17 Linkage Controller (EVENTC)

17.1 Feature of EVENTC

Overview of the features of the EVENTC, enabling linking peripheral events.

17.2 Structure of EVENTC

Block diagram illustrating the structure of the EVENTC.

17.3 Control registers

Lists and describes the control registers for the EVENTC.

17.4 Operation of EVENTC

Explanation of the operation of EVENTC, including interrupt processing and event acceptance.

Chapter 18 Interrupt Function

18.1 Types of interrupt function

Description of the two types of interrupt functions: masked and non-masked.

18.2 Interrupt source and structure

Overview of interrupt sources and their structure.

18.3 Registers controlling interrupt function

Lists and describes registers for controlling interrupt functions, including flags and enable registers.

18.4 Operation of interrupt handling

Details the procedures for accepting maskable and non-maskable interrupt requests.

Chapter 19 Key Interrupt Function

19.1 Function of key interrupt

Description of the key interrupt function, generated by input pins on the falling edge.

19.2 Structure of key interrupt

Overview of the hardware structure of the key interrupt.

19.3 Registers for controlling key interrupt

Lists and describes registers for controlling key interrupt functions.

Chapter 20 Standby Function

20.1 Standby function

Overview of the standby function for reducing operating current, with two modes: sleep and deep sleep.

20.2 Sleep mode

Details the sleep mode operation, including CPU clock status and peripheral module states.

20.3 Deep sleep mode

Explains deep sleep mode, stopping most peripherals and oscillators for significant current reduction.

Chapter 21 Reset Function

21.1 Register for confirming the reset source

Describes the Reset Control Flag Register (RESF) for identifying internal and external reset sources.

22.2 Structure of power-on reset circuit

Block diagram illustrating the structure of the power-on reset circuit.

22.3 Operation of power-on reset circuit

Details the timing of internal reset signal generation for power-on reset and voltage detection circuits.

Chapter 23 Voltage Detection Circuit

23.1 Function of voltage detection circuit

Description of the voltage detection circuit's functions, including internal reset/interrupt generation.

23.2 Structure of voltage detection circuit

Block diagram illustrating the structure of the voltage detection circuit.

23.3 Registers for controlling voltage detection circuit

Lists and describes registers for controlling the voltage detection circuit.

23.4 Operation of voltage detection circuit

Details the settings and operation of the voltage detection circuit in different modes.

23.5 Considerations for voltage detection circuits

Important considerations when using voltage detection circuits, especially regarding power fluctuations.

Chapter 24 Security Features

24.1 Overview

Introduction to the built-in safety features in response to IEC60730 and EC61508 standards.

24.2 Registers used by security functions

Lists registers associated with various security functions like CRC, RAM parity, and SFR protection.

24.3 Operation of security functions

Details the operation of security functions, including Flash CRC, RAM parity, SFR protection, frequency detection, and A/D test.

Chapter 25 Temperature Sensor

25.1 Function of temperature sensor

Description of the on-chip temperature sensor's function for monitoring core temperature.

25.2 Register for temperature sensor

Details the temperature sensor calibration data registers (TSN25, TSN85).

25.3 Instructions for use with the temperature sensor

Provides instructions on how to use the temperature sensor and calculate temperature from voltage output.

Chapter 26 Option Byte

26.1 Function of option byte

Explanation of the function of option bytes for configuring various features like watchdog timer and LVD.

26.2 Format of user option byte

Details the format of user option bytes (000C0H~000C2H) for configuring watchdog timer and LVD settings.

26.3 Format of flash data protection option bytes

Describes the format of flash data protection option bytes (000C3H, 500004H) for debugging and flash access control.

Chapter 27 FLASH Control

27.1 Description of FLASH control

Overview of the FLASH memory, including its capacity, sectors, and supported operations.

27.2 Structure of FLASH memory

Diagram illustrating the structure of the FLASH memory, detailing address regions.

27.3 Registers for controlling FLASH

Lists and describes registers for controlling FLASH operations like write protection, erase, and timing.

27.4 FLASH operation method

Details the sector erase and chip erase operations.

27.5 Flash read

Information on the fastest finger frequency supported by the FLASH and wait period.

27.6 Cautions for FLASH operation

Important cautions regarding FLASH operation, including timing requirements and CPU behavior.

Cmsemicon CMS32L051 Specifications

General IconGeneral
BrandCmsemicon
ModelCMS32L051
CategoryMicrocontrollers
LanguageEnglish

Related product manuals