C8051F521A-IM Silicon Laboratories Inc, C8051F521A-IM Datasheet - Page 166

IC 8051 MCU 8K FLASH 10DFN

C8051F521A-IM

Manufacturer Part Number
C8051F521A-IM
Description
IC 8051 MCU 8K FLASH 10DFN
Manufacturer
Silicon Laboratories Inc
Series
C8051F52xr
Datasheets

Specifications of C8051F521A-IM

Program Memory Type
FLASH
Program Memory Size
8KB (8K x 8)
Package / Case
10-DFN
Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
6
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.25 V
Data Converters
A/D 6x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
C8051F5x
Core
8051
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
SPI/UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
6
Number Of Timers
3
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Development Tools By Supplier
C8051F500DK
Minimum Operating Temperature
- 40 C
On-chip Adc
6-ch x 12-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
336-1488 - KIT DEV C8051F53XA, C8051F52XA770-1006 - ISP 4PORT FOR SILABS C8051F MCU336-1455 - ADAPTER PROGRAM TOOLSTICK F520
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1490-5
C8051F52x/F52xA/F53x/F53xA
The following code programs the interface in Master mode, using the Enhanced Checksum and enables
the interface to operate at 19200 bits/sec using a 24 MHz system clock.
Table 17.2 includes the configuration values required for the typical system clocks and baud rates:
166
LINDATA = 0x0C;// Reset any error and the interrupt
SYSCLK
22.1184
11.0592
(MHz)
LIN0CF
LIN0CF
LINADDR
// Initialize the register (prescaler, multiplier and bit 8 of divider)
LINDATA
LINADDR
LINDATA
LINADDR
LINDATA
LINADDR
12.25
24.5
25
24
16
12
8
|= 0x80;// Initialize the checksum as Enhanced
0
0
0
0
0
0
0
0
0
|= 0x40;// Set the node as a Master
= 0x0D;// Point to the LIN0MUL register
= ( 0x01 << 6 ) + ( 0x00 << 1 ) + ( ( 0x13F & 0x0100 ) >> 8 );
= 0x0C;// Point to the LIN0DIV register
= (unsigned char)_0x13F;// Initialize LIN0DIV
= 0x0B;// Point to the LIN0SIZE register
= 0x08;// Point to LIN0CTRL register
= 0x80;// Activate the interface
20 K
1
1
1
1
1
0
0
0
0
Table 17.2. Manual Baud Rate Parameters Examples
312
306
300
276
200
306
300
276
200
0
0
0
0
0
0
0
0
0
19.2 K
1
1
1
1
1
0
0
0
0
325
319
312
288
208
319
312
288
208
Rev. 1.3
Baud (bits / sec)
1
1
1
1
1
1
1
1
1
9.6 K
1
1
1
1
1
0
0
0
0
325
319
312
288
208
319
312
288
208
3
3
3
3
3
3
3
3
3
4.8 K
1
1
1
1
1
0
0
0
0
325
319
312
288
208
319
312
288
208
19
19
19
19
19
19
19
19
19
1 K
1
1
1
1
1
0
0
0
0
312
306
300
276
200
306
300
276
200

Related parts for C8051F521A-IM