欢迎访问ic37.com |
会员登录 免费注册
发布采购

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第158页浏览型号C8051F530-IM的Datasheet PDF文件第159页浏览型号C8051F530-IM的Datasheet PDF文件第160页浏览型号C8051F530-IM的Datasheet PDF文件第161页浏览型号C8051F530-IM的Datasheet PDF文件第163页浏览型号C8051F530-IM的Datasheet PDF文件第164页浏览型号C8051F530-IM的Datasheet PDF文件第165页浏览型号C8051F530-IM的Datasheet PDF文件第166页  
C8051F52x-53x  
17.4.2. Bit Rate Options: Manual or Autobaud (Slave only)  
The peripheral can be selected to have its bit rate calculated manually or automatically. A master node  
must always have its bit rate set manually but for slave nodes the designer can choose between a manual  
or automatic setup. The following C-code fragment shows how to select the peripheral to use manual baud  
rate:  
LINCF &= ~0x20;  
// Manual Baud Rate  
Both manual and automatic baud rate require the setup of some registers. The following chapters explain  
the different options available and their relation with the baud rate along with the steps necessary to  
achieve the required baud rate.  
17.4.3. Baud Rate Calculations - Manual Mode  
The baud rate used by the peripheral is a function of the System Clock (SYSCLK) and the bit-timing Reg-  
isters according to the following equation:  
SYSCLK  
------------------------------------------------------------------------------------------------------  
2
bit_rate =  
(prescaler + 1) × divider × (multiplier + 1)  
The prescaler, divider and multiplier factors are part of the LINDIV and LINMUL registers and can assume  
values in the following range:  
Table 17.2. Table Needs Title  
Factor  
prescaler  
divider  
Range  
0…3  
0…31  
multiplier  
200…511  
Important: The minimum system clock (SYSCLK) to operate the LIN peripheral is 8 MHz.  
To calculate the value of the several factors used to create a required bit-rate the following equations are  
defined:  
20000  
bit_rate  
--------------------  
multiplier =  
– 1  
SYSCLK  
(multiplier + 1) × bit_rate × 200  
1
ln2  
-----------------------------------------------------------------------------------  
-------  
prescaler = ln  
divider =  
×
– 1  
SYSCLK  
-----------------------------------------------------------------------------------------------  
(2(prescaler + 1) × multiplier × bit_rate)  
162  
Rev. 0.3  
 复制成功!