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

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第203页浏览型号C8051F502-IM的Datasheet PDF文件第204页浏览型号C8051F502-IM的Datasheet PDF文件第205页浏览型号C8051F502-IM的Datasheet PDF文件第206页浏览型号C8051F502-IM的Datasheet PDF文件第208页浏览型号C8051F502-IM的Datasheet PDF文件第209页浏览型号C8051F502-IM的Datasheet PDF文件第210页浏览型号C8051F502-IM的Datasheet PDF文件第211页  
C8051F50x-F51x  
4. Changing the configuration of the checksum during a transaction will cause the interface to reset and  
the transaction to be lost. To prevent this, the checksum should not be configured while a transaction is  
in progress. The same applies to changes in the LIN interface mode from slave mode to master mode  
and from master mode to slave mode.  
21.5. Sleep Mode and Wake-Up  
To reduce the system’s power consumption, the LIN Protocol Specification defines a Sleep Mode. The  
message used to broadcast a Sleep Mode request must be transmitted by the LIN master application in  
the same way as a normal transmit message. The LIN slave application must decode the Sleep Mode  
Frame from the Identifier and data bytes. After that, it has to put the LIN slave node into the Sleep Mode by  
setting the SLEEP bit (LIN0CTRL.6).  
If the SLEEP bit (LIN0CTRL.6) of the LIN slave application is not set and there is no bus activity for four  
seconds (specified bus idle timeout), the IDLTOUT bit (LIN0ST.6) is set and an interrupt request is gener-  
ated. After that the application may assume that the LIN bus is in Sleep Mode and set the SLEEP bit  
(LIN0CTRL.6).  
Sending a wake-up signal from the master or any slave node terminates the Sleep Mode of the LIN bus. To  
send a wake-up signal, the application has to set the WUPREQ bit (LIN0CTRL.1). After successful trans-  
mission of the wake-up signal, the DONE bit (LIN0ST.0) of the master node is set and an interrupt request  
is generated. The LIN slave does not generate an interrupt request after successful transmission of the  
wake-up signal but it generates an interrupt request if the master does not respond to the wake-up signal  
within 150 milliseconds. In that case, the ERROR bit (LIN0ST.2) and TOUT bit (LIN0ERR.2) are set. The  
application then has to decide whether or not to transmit another wake-up signal.  
All LIN nodes that detect a wake-up signal will set the WAKEUP (LIN0ST.1) and DONE bits (LIN0ST.0) and  
generate an interrupt request. After that, the application has to clear the SLEEP bit (LIN0CTRL.6) in the  
LIN slave.  
21.6. Error Detection and Handling  
The LIN controller generates an interrupt request and stops the processing of the current frame if it detects  
an error. The application has to check the type of error by processing LIN0ERR. After that, it has to reset  
the error register and the ERROR bit (LIN0ST.2) by writing a 1 to the RSTERR bit (LIN0CTRL.2). Starting a  
new message with the LIN controller selected as master or sending a Wakeup signal with the LIN control-  
ler selected as a master or slave is possible only if the ERROR bit (LIN0ST.2) is set to 0.  
Rev. 1.1  
207