CMT2380F64
www. cmostek. com
74 / 83
5.19
Temperature Sensor
(
TS
)
The temperature sensor generates a voltage that changes linearly with temperature, and the conversion range is
between 1.8 V < VDDA < 3.6 V. The temperature sensor is internally connected to the input channel of ADC_IN12 to
convert the output of the sensor to a digital value.
5.20 BEEPER
The BEEPER module supports complementary outputs and can generate periodic signals to drive external passive beeper. Used
to generate prompt sound or alarm sound.
5.21 HDIV/ SQRT
The divider (HDIV) and square root (SQRT) are mainly used in some scenarios with high requirements for computing energy
efficiency, and are used to partially supplement the deficiencies of the microcontroller in computing. The divider and square root
calculator can perform division or square root calculation of unsigned 32-bit integers
.
The main features of HDIV and SQRT are as follows:
◆
Only support word operation
◆
8 clock cycles to complete an unsigned integer division operation
◆
32-bit dividend, 32-bit divisor, output 32-bit quotient and 32-bit remainder
◆
Divisor is zero warning flag, division operation end flag
◆
32-bit unsigned square root integer, 16-bit root root output
◆
Complete an unsigned integer square root operation in 8 clock cycles
◆
You can judge whether the calculation is complete by setting the interrupt enable or query the relevant register bits
5.22
Cyclic Redundancy Check Calculation Unit
(
CRC
)
Integrating CRC 32 and CRC 16 functions, the cyclic redundancy check (CRC) calculation unit obtains any CRC calculation result
according to a fixed generator polynomial. In many applications, CRC-based technology is used to verify the consistency of data
transmission or storage. Within the scope of the EN/IEC 60335- 1 standard, it provides a means to detect flash memory errors.
The CRC calculation unit can be used to calculate the signature ofthe software in real time and compare it with the signature
generated when the software is linked and generated
The main characteristics of CRC are as follows:
◆
CRC 16
:
Support polynomial X16+X15+X2+X0
◆
CRC 32
:
Support polynomial X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 +X2 + X +1
◆
CRC calculation time
:
4 AHB clock cycles (HCLK)
◆
The initial value of cyclic redundancy calculation can be configured
◆
Support DMA mode
5.23 Unique device ID
(
UID
)
CMT2380F64 have built-in two unique device ID of different lengths, 96-bit UID (Unique device ID) and 128-bit UCID (Unique
Customer ID). These two device serial numbers are stored in the system configuration block of the flash memory. The information
contained in them is programmed at the factory, and is guaranteed to be unique to any micro-controller under any circumstances.
User applications or external devices can be read through the CPU or SWD interface and cannot be modified.
The UID is 96 bits, usually used as a serial number or as a password. When programming the flash memory, this unique identification
is combined with the software encryption and decryption algorithm to further improve the security ofthe code in the flash memory. It
can also be used for activation with security Functional bootloader (Secure Bootloader).
The UCID is 128 bits and complies with the definition of the chip serial number which contains information on chip
production and version.