User manual for SyncMOS SM59Rxx MCU's MDU, covering operation steps, registers, and programming methods.
This document explains how to use the MDU (Multiplication Division Unit) in SyncMOS SM59Rxx series MCUs. It details register operations, control flags, and programming methods using Keil C or assembly. The MDU supports 32/16-bit division, 16/16-bit division, 16x16-bit multiplication, 32-bit shift, and normalization. It requires specific register write sequences and can be enabled via compiler directives or IDE settings.
The manual includes performance benchmarks, error flags, and usage examples for different operations. It also addresses compatibility with UV2 development tools, recommending UV3 or UV4 for full MDU support. This manual is written in Chinese.
| MDU Operation Speed | Division 32bit/16bit: 17 clock cycles; Division 16bit/16bit: 9 clock cycles; Multiplication: 11 clock cycles; Shift: 3-18 clock cycles; Normalize: 4-19 clock cycles |
|---|
Division 32bit/16bit: 17 clock cycles; Division 16bit/16bit: 9 clock cycles; Multiplication: 11 clock cycles; Shift: 3-18 clock cycles; Normalize: 4-19 clock cycles.
The supported models include SM59R16A2, SM59R08A2, SM59R16A5, SM59R09A5, SM59R05A5, SM59R16A3, SM59R09A3, SM59R05A3, SM59R04A2, SM59R04A1, SM59R03A1, and SM59R02A1.
The execution time for 32-bit/16-bit division is 17 clock cycles.