CHAPTER 6 CLOCK GENERATION FUNCTION
User’s Manual U15905EJ2V1UD
211
(2) Prescaler compare register (PRSCM)
This is an 8-bit compare register.
It can be read or written in 8-bit or 1-bit units.
PRSCM7
PRSCM
PRSCM6 PRSCM5 PRSCM4 PRSCM3 PRSCM2 PRSCM1 PRSCM0
After reset: 00H
R/W
Address: FFFFF8B1H
Cautions 1. Do not change the value of the PRSCM register during transmission/reception.
2. Set the PRSCM register before setting the CE bit of the PRSM register to 1.
3. Set the PRSM and PRSCM registers in accordance with the main clock frequency to be
used, so that the frequency of fBRG is 32.768 kHz.
6.5.2
Generation of clock
(1) Count clock of watch timer
The clock (fBRG) input to the watch timer can be corrected to 32.768 kHz or equivalent frequency.
The relationship between the main clock oscillation frequency (fX), the set value of input clock selection bit
BGCSn (m), the set value of the PRCSM register (N), and the output clock (fBRG) is as follows:
Example: Where fX = 4.00 MHz, m = 0 (BGCS1 = BGCS = 0), N = 3DH, fBRG = 32.768 kHz
fBRG = fX/(2
m
× N × 2)
Remark
fBRG: Count clock
N:
Value of compare register in prescaler 3 (1 to FFH)
N = 256 if the value of the compare register is “00H”.
(2) Interval timer
This timer generates a baud rate interrupt request (INTBRG) at preset time intervals.
The interval time can be set by using the BGCS1 and BGCS0 bits of the prescaler mode register (PRSM) and
the prescaler compare register (PRSCM).
The interval time can be calculated by the following expression.
Interval time = fX/(2
m
× N)
相关PDF资料
XF2L-0535-1 CONN FPC 5POS 0.5MM SMT
PIC18LF23K22-I/SS IC PIC MCU 8KB FLASH 28SSOP
PIC16LF1933-I/ML IC PIC MCU FLASH 4K 28-QFN
PIC16F1933-I/ML IC MCU 8BIT FLASH 28-QFN
PIC16F785-I/ML IC PIC MCU FLASH 2KX14 20QFN
XF2L-0425-1 CONN FPC 4POS 0.5MM SMT
PIC16F1933-I/MV IC MCU 8BIT FLASH 28-UQFN
PIC16F785-I/SO IC PIC MCU FLASH 2KX14 20SOIC
相关代理商/技术参数
PIC24F08KL302-I/SP 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 256B 3V RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302-I/SS 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/ML 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/MQ 功能描述:16位微控制器 - MCU 8KB FL 1KB RAM 256B 3V RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/SO 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/SS 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL401 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F08KL401-I/MQ 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT