Global Top Smart MCU Innovator, ABOV SemiconductorĢ Contents Contents Feature. The specific algorithm of BCC is: After each byte of data is XORed sequentially, the check code is finally obtained.1 A31G213, A31G bit Cortex-M0+ based General Purpose Microcontroller With Touch & LED Driver Datasheet Version 1.01 Feature Core High performance Cortex-M0+ core Memories 64/32KB code flash memory 6KB SRAM Clock, reset and power management Two main operating clocks: HCLK, PCLK Real time clock and calendar Two system reset: cold reset, warm reset Power management mode: Run mode, Sleep mode, Power Down mode Interrupt management Nested vector interrupt controller (NVIC) with 32 interrupt sources Timers Watchdog Timer 16-bit 4ch general purpose timers Periodic, one-shot, PWM, capture mode 32-bit 2ch general purpose timers Periodic, one-shot, PWM, capture mode 16-bit 6ch PWM timers Periodic timer mode, Back-to-Back mode, Capture mode Product selection table Communication interfaces External communication ports 2 USART (UART + SPI), 2 UARTs, 2 SPI, 2 I2Cs 12-bit ADC 14-channels inputs Capacitive Touch Switch 48-Pin: 24-ch LED driver 10 segments and 16 commons CRC generator CRC-CCITT, CRC-16 Development support SWD debug interface Four types of package options Package 48-pin LQFP (7 x 7, 0.5mm pitch) 44-pin MQFP (10 x 10, 0.8mm pitch) 32-pin LQFP (7 x 7, 0.8mm pitch) 28-pin TSSOP (9.7x 4.4, 0.65mm pitch) Operating temperature Commercial grade (-40 to +85 ) Industrial grade (-40 to +105) Part Number Flash SRAM UART USART SPI I2C TIMER PWM ADC I/O Package Ports A31G213CL 64KB 6KB (16bit)/2(32bit) LQFP-48 A31G213SQ* 64KB 6KB (16bit)/2(32bit) MQFP-44 A31G213KN* 64KB 6KB (16bit)/2(32bit) LQFP-32 A31G213GR* 64KB 6KB (16bit)/2(32bit) TSSOP-28 A31G212CL* 32KB 6KB (16bit)/2(32bit) LQFP-48 A31G212SQ* 32KB 6KB (16bit)/2(32bit) MQFP-44 A31G212KN* 32KB 6KB (16bit)/2(32bit) LQFP-32 A31G212GR* 32KB 6KB (16bit)/2(32bit) TSSOP-28 * For available options or further information on the devices with * marks, please contact the ABOV Sales Office. If they are equal, the communication is considered as error-free, and if they are not equal, the communication is considered as communication. The so-called BCC verification method is to perform bitwise exclusive OR of all characters of the character before and after sending, and compare the characters obtained after conversion as required. XOR (BCC) check: In fact, it is a parity check, and it is also the most commonly used and most efficient check method. Commonly used data checking methods include parity check, CRC check, LRC check, Gray code check, sum check, exclusive OR check and so on. In order to ensure the integrity and correctness of data transmission, it is necessary to adopt some methods to determine whether the data is correct and complete, or to perform immediate correction when the data is incorrect. In the process of data transmission through the network and serial port, there may be data errors.
0 Comments
Leave a Reply. |