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

ST92F150JDV1Q6 参数 Datasheet PDF下载

ST92F150JDV1Q6图片预览
型号: ST92F150JDV1Q6
PDF下载: 下载PDF文件 查看货源
内容描述: 8月16日- BIT单电压闪存单片机系列内存, E3 TMEMULATED EEPROM , CAN 2.0B和J1850 BLPD [8/16-BIT SINGLE VOLTAGE FLASH MCU FAMILY WITH RAM, E3 TMEMULATED EEPROM, CAN 2.0B AND J1850 BLPD]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管可编程只读存储器电动程控只读存储器电可擦编程只读存储器时钟
文件页数/大小: 426 页 / 3830 K
品牌: STMICROELECTRONICS [ ST ]
 浏览型号ST92F150JDV1Q6的Datasheet PDF文件第235页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第236页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第237页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第238页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第240页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第241页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第242页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第243页  
ASYNCHRONOUS SERIAL COMMUNICATIONS INTERFACE (SCI-A)  
ASYNCHRONOUS SERIAL COMMUNICATIONS INTERFACE (Cont’d)  
10.6.4.2 Transmitter  
When no transmission is taking place, a write in-  
struction to the SCIDR register places the data di-  
rectly in the shift register, the data transmission  
starts, and the TDRE bit is immediately set.  
The transmitter can send data words of either 8 or  
9 bits depending on the M bit status. When the M  
bit is set, word length is 9 bits and the 9th bit (the  
MSB) has to be stored in the T8 bit in the SCICR1  
register.  
When a frame transmission is complete (after the  
stop bit or after the break frame) the TC bit is set  
and an interrupt is generated if the TCIE is set and  
the IMI0 bit is set in the SIMRH register.  
Character Transmission  
During an SCI transmission, data shifts out least  
significant bit first on the TDO pin. In this mode,  
the SCIDR register consists of a buffer (TDR) be-  
tween the internal bus and the transmit shift regis-  
ter (see Figure 117).  
Clearing the TC bit is performed by the following  
software sequence:  
1. An access to the SCISR register  
2. A write to the SCIDR register  
Note: The TDRE and TC bits are cleared by the  
same software sequence.  
Procedure  
– Select the M bit to define the word length.  
LIN Transmission  
– Select the desired baud rate using the SCIBRR  
and the SCIETPR registers.  
The same procedure has to be applied with the fol-  
lowing differences:  
– Set the TE bit to send an idle frame as first trans-  
mission.  
– Clear the M bit to configure 8-bit word length  
– Set the LINE bit to enter LIN Master mode. In this  
case, setting the SBK bit will send 13 low bits.  
– Access the SCISR register and write the data to  
send in the SCIDR register (this sequence clears  
the TDRE bit). Repeat this sequence for each  
data to be transmitted.  
Break Characters  
Setting the SBK bit loads the shift register with a  
break character. The break frame length depends  
on the M bit (see Figure 118).  
Clearing the TDRE bit is always performed by the  
following software sequence:  
1. An access to the SCISR register  
2. A write to the SCIDR register  
As long as the SBK bit is set, the SCI sends break  
frames to the TDO pin. After clearing this bit by  
software, the SCI inserts a logic 1 bit at the end of  
the last break frame to guarantee the recognition  
of the start bit of the next frame.  
The TDRE bit is set by hardware and it indicates:  
– The TDR register is empty.  
– The data transfer is beginning.  
Idle Characters  
– The next data can be written in the SCIDR regis-  
ter without overwriting the previous data.  
Setting the TE bit drives the SCI to send an idle  
frame before the first data frame.  
This flag generates an interrupt if the TIE bit is set  
in the SCICR2 register and the IMI0 bit is set in the  
SIMRH register.  
Clearing and then setting the TE bit during a trans-  
mission sends an idle frame after the current word.  
Note: Resetting and setting the TE bit causes the  
data in the TDR register to be lost. Therefore the  
best time to toggle the TE bit is when the TDRE bit  
is set, i.e. before writing the next byte in the  
SCIDR.  
When a transmission is taking place, a write in-  
struction to the SCIDR register stores the data in  
the TDR register and which is copied in the shift  
register at the end of the current transmission.  
239/426  
9
 复制成功!