29
/
246
ABOV Semiconductor
System Control Unit - SCU
CLOCK SYSTEM
1.2
AC30M1x64/1x32 has two main operating clocks. One is HCLK which supplies the clock to CPU and AHB bus system. The
other one is PCLK which supplies the clock to Peripheral systems.
User can control the clock system variation by software. Figure 1.2 shows the clock system of the chip. And Table 1.1
shows clock source descriptions.
LSI
40KHz
SOSC
32.768KHz
MOSC
4~16MHz
HSI
40MHz
0
1
1/2
0
1
1/2
0
1
1/2
0
1
1/2
000
100
101
110
111
10
00
00
01
0
1
SCU
CRC16
Clock
N
Divider
SYSTICK
MPWM
WDT
TIMER 0~3
DBCLK
ADC
UART
DIV64
GPIOA
GPIOB
GPIOC
GPIOD
TIMER0
TIMER1
TIMER2
TIMER3
SPI
I2C
UART0
UART1
MPWM
ADC
WDT
FMC
PCLK_A
SCU.MCCR1
SCU.MCCR2
SCU.MCCR3
SCU.MCCR3
SCU.MCCR4,5
SCU.MCCR7
SCU.MCCR7
MCCRn.CLK
SCU.SCCR[1:0]
SCU.SCCR[1:0]
SCU.SCCR[2]
SCU.MCCRn.DIV
Power down
Mode
Power down
Mode
CM0
Power down
Mode
Sleep Mode
FCLK
HCLK
MCLK
SCU.CSCR[4]
SCU.CSCR[6]
SCU.CSCR[0]
SCU.CSCR[3]
SCU.PCER1,2
SCU.CSCR[7]
SCU.CSCR[1]
SCU.CSCR[2]
SCU.MCCRn.CSEL
MCLK
[7:0]
[2:0]
MEM
BUS
PCLK_B
Power down
Mode
SCU.CSCR[5]
SCU.SMR[9]
Power down
Mode
SOSC
CLK
LSI
CLK
MOSC
CLK
HSI
CLK
FRT
MOSC CLK
SOSC CLK
LSI CLK
Figure 1.2 Clock Tree Configuration
All mux to switch clock source have a glitch-free circuit in each. So clock can be switched without glitch risks. When you
try to change the clock mux control, both of clock sources should be alive. If one of them is not alive, clock change
operation is stopped and system will be halted and not be recovered.
Table 1.1 Clock sources
Clock name
Frequency
Description
MOSC
4-16 MHz
External Crystal OSC
SOSC
32.768 kHz
External Sub Crystal OSC
Summary of Contents for AC30M1x64
Page 3: ...3 246 ABOV Semiconductor INTRODUCTION SECTION 1 INTRODUCTION...
Page 4: ...4 246 4 246 AC30M1x64 1x32 ABOV Semiconductor OVERVIEW CHAPTER 1...
Page 18: ...18 246 18 246 ABOV Semiconductor AC30M1x64 1x32 CPU CHAPTER 2...
Page 22: ...22 246 22 246 ABOV Semiconductor AC30M1x64 1x32 Boot Mode CHAPTER 3...
Page 26: ...26 246 26 246 ABOV Semiconductor AC30M1x64 1x32 SECTION 2 PERIPHERALS...
Page 27: ...27 246 ABOV Semiconductor System Control Unit SCU SYSTEM CONTROL UNIT SCU CHAPTER 1...
Page 69: ...69 246 ABOV Semiconductor Port Control Unit PCU PORT CONTROL UNIT PCU CHAPTER 2...
Page 85: ...85 246 ABOV Semiconductor General Purpose I O GPIO GENERAL PURPOSE I O GPIO CHAPTER 3...
Page 92: ...92 246 92 246 AC30M1x64 1x32 ABOV Semiconductor FLASH MEMORY CONTROLLER CHAPTER 4...
Page 105: ...105 246 ABOV Semiconductor Internal SRAM INTERNAL SRAM CHAPTER 5...
Page 107: ...107 246 ABOV Semiconductor Watch Dog Timer WATCH DOG TIMER WDT CHAPTER 6...
Page 113: ...113 246 ABOV Semiconductor 16 bit Timer 16 BIT TIMER CHAPTER 7...
Page 129: ...129 246 ABOV Semiconductor FRT FREE RUN TIMER FRT CHAPTER 8...
Page 134: ...134 246 134 246 ABOV Semiconductor AC30M1x64 1x32 FUNCTION DESCRIPTION 8 3...
Page 135: ...135 246 UART ABOV Semiconductor UNIVERSAL ASYNCHRONOUS CHAPTER 9 RECEIVER TRANSMITTER UART...
Page 151: ...151 246 ABOV Semiconductor UART Figure 9 6 Transmit interrupt timing diagram...
Page 152: ...152 246 152 246 ABOV Semiconductor AC30M1x64 1x32 SERIAL PERIPHERAL INTERFACE SPI CHAPTER 10...
Page 164: ...164 246 164 246 ABOV Semiconductor AC30M1x64 1x32 I2 C Interface CHAPTER 11...
Page 185: ...185 246 ABOV Semiconductor Motor PWM MOTOR PULSE WIDTH MODULATOR CHAPTER 12 MPWM...
Page 215: ...215 246 ABOV Semiconductor Divider DIVIDER DIV64 CHAPTER 13...
Page 221: ...221 246 ABOV Semiconductor 12 BIT A D Converter 12BIT A D CONVERTER CHAPTER 14...
Page 235: ...235 246 ABOV Semiconductor CHARACTERISTIC SECTION 3 CHARACTERISTIC...
Page 236: ...236 246 236 246 ABOV Semiconductor AC30M1x64 1x32 Electrical Characteristic CHAPTER 1...
Page 243: ...243 246 ABOV Semiconductor Package Package CHAPTER 2...