Datenblatt-pdf.com


STC12C5A60S2 Schematic ( PDF Datasheet ) - STC

Teilenummer STC12C5A60S2
Beschreibung Single-Chip Microcontroller
Hersteller STC
Logo STC Logo 




Gesamt 30 Seiten
STC12C5A60S2 Datasheet, Funktion
www.STCMCU.com
Mobile:(86)13922809991
Tel:86-755-82948412
Fax:86-755-82905966
SSTTCSC1T12C2LCE5D5MAAa6Ct6a0U0SSS2h2LseseeiemrtriieiteessdM.MCCUU
STC MCU Limited
www.STCMCU.com
STC MCU Limited.
Update date: 2011-7-15
websitewww.STCMCU.com

Free Datasheet http://www.datasheet4u.com/






STC12C5A60S2 Datasheet, Funktion
Chapter 11. Serial Peripheral Interface (SPI)..........................321
11.1 Special Function Registers related with SPI..................................... 321
11.2 SPI Structure..................................................................................... 325
11.3 SPI Data Communication.................................................................. 326
11.3.1 SPI Configuration............................................................................................. 326
11.3.2 SPI Data Communication Modes..................................................................... 327
11.3.3 SPI Data Modes................................................................................................ 329
11.4 SPI Function Demo Programs (Single Master — Single Slave)....... 331
11.4.1 SPI Function Demo Programs using Interrupts (C and ASM)......................... 331
11.4.2 SPI Function Demo Programs using Polling (C and ASM)............................. 337
11.5 SPI Function Demo Programs (Each other as the Master-Slave)..... 343
11.5.1 SPI Function Demo Programs using Interrupts (C and ASM)......................... 343
11.5.2 SPI Function Demo Programs using Polling.................................................... 349
11.6 SPI Demo (Single Master Multiple Slave) ....................................... 355
Chapter 12. IAP / EEPROM......................................................365
12.1 IAP / EEPROM Special Function Registers..................................... 366
12.2 STC12C5A60S2 series Internal EEPROM Allocation Table........... 369
12.3 IAP/EEPROM Assembly Language Program Introduction.............. 371
12.4 EEPROM Demo Program (C and ASM).......................................... 374
Chapter 13. STC12 series programming tools usage..............382
13.1 In-System-Programming (ISP) principle.......................................... 382
13.2 STC12C5A60S2 series application circuit for ISP........................... 383
13.3 PC side application usage................................................................. 385
13.4 Compiler / Assembler Programmer and Emulator............................ 387
13.5 Self-Defined ISP download Demo................................................... 387
Appendix A: Assembly Language Programming....................391
Appendix B: 8051 C Programming...........................................413
Appendix C: STC12C5Axx series Electrical Characteristics 423
Appendix D: Program for indirect addressing inner 256B RAM
................................................................................425
Appendix E: Using Serial port expand I/O interface..............426
Free Datasheet http://www.datasheet4u.com/

6 Page









STC12C5A60S2 pdf, datenblatt
www.STCMCU.com
Mobile:(86)13922809991
Tel:086-755-82948412
Fax:86-755-82905966
In STC-ISP writter/programmer, users can select what RST/P4.7 is used as. the pin RST/P4.7 is as reset function
acquiescently, see the following figure.
ited.Register AUXR1 is used to select whether PCA/PWM/SPI/UART2 function is on P1 port or P4 port
Mnemonic Add
Name
76
5 4 3 2 1 0 Reset Value
LimAUXR1 A2H Auxiliary register 1 - PCA_P4 SPI_P4 S2_P4 GF2 ADRJ - DPS x000,00x0
PCA _P4
0 : Default. The PCA function is on P1[4:2]
CU1 : The PCA function on P1[4:2] is switched to P4[3:1].
ECI is switched from P1.2 to P4.1
MPCA0/PWM0 is switched from P1.3 to P4.2
PCA1/PWM1 is switched from P1.4 to P4.3
STCSPI_P4
0 : Default. The SPI function is on P1[7:4]
1 : The SPI function on P1[7:4] is switched to P4[3:0].
SCLK is switched from P1.7 to P4.3
MOSI is switched from P1.6 to P4.2
MISO is switched from P1.5 to P4.1
SS is switched from P1.4 to P4.0
S2_P4
0 : Default. the UART2(S2) function is on P1[3:2]
1 : The UART2(S2) function on P1[3:2] is switched to P4[3:2].
TxD2 is switched from P1.3 to P4.3
RxD2 is switched from P1.2 to P4.2
GF2 : General Flag. It can be used by software.
ADRJ
0 : The 10-bit conversion result of ADC is arranged as {ADC_RES[7:0], ADC_RESL[1:0]}.
1 : The 10-bit conversion result is right-justified, {ADC_RES[1:0], ADC_RESL[7:0]}.
DPS
0 : Default. DPTR0 is selected as Data pointer.
1 : The secondary DPTR is switched to use.
12 STC MCU Limited.
websitewww.STCMCU.com
Free Datasheet http://www.datasheet4u.com/

12 Page





SeitenGesamt 30 Seiten
PDF Download[ STC12C5A60S2 Schematic.PDF ]

Link teilen




Besondere Datenblatt

TeilenummerBeschreibungHersteller
STC12C5A60S2Single-Chip MicrocontrollerSTC
STC
STC12C5A60S2Single-Chip MicrocontrollerSTC
STC
STC12C5A60S2MCUSTC
STC

TeilenummerBeschreibungHersteller
CD40175BC

Hex D-Type Flip-Flop / Quad D-Type Flip-Flop.

Fairchild Semiconductor
Fairchild Semiconductor
KTD1146

EPITAXIAL PLANAR NPN TRANSISTOR.

KEC
KEC


www.Datenblatt-PDF.com       |      2020       |      Kontakt     |      Suche