| 数据搜索系统,热门电子元器件搜索 |
|
ST7LITE3 数据表(PDF) 96 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LITE3 数据表(HTML) 96 Page - STMicroelectronics |
|
96 / 167 page ![]() ST7LITE3 96/167 LINSCI ™ SERIAL COMMUNICATION INTERFACE (SCI Mode) (Cont’d) 11.5.5.6 Receiver Muting and Wake-up Feature In multiprocessor configurations it is often desira- ble that only the intended message recipient should actively receive the full message contents, thus reducing redundant SCI service overhead for all non-addressed receivers. The non-addressed devices may be placed in sleep mode by means of the muting function. Setting the RWU bit by software puts the SCI in sleep mode: All the reception status bits can not be set. All the receive interrupts are inhibited. A muted receiver may be woken up in one of the following ways: – by Idle Line detection if the WAKE bit is reset, – by Address Mark detection if the WAKE bit is set. Idle Line Detection Receiver wakes-up by Idle Line detection when the Receive line has recognised an Idle Line. Then the RWU bit is reset by hardware but the IDLE bit is not set. This feature is useful in a multiprocessor system when the first characters of the message deter- mine the address and when each message ends by an idle line: As soon as the line becomes idle, every receivers is waken up and analyse the first characters of the message which indicates the ad- dressed receiver. The receivers which are not ad- dressed set RWU bit to enter in mute mode. Con- sequently, they will not treat the next characters constituting the next part of the message. At the end of the message, an idle line is sent by the transmitter: this wakes up every receivers which are ready to analyse the addressing characters of the new message. In such a system, the inter-characters space must be smaller than the idle time. Address Mark Detection Receiver wakes-up by Address Mark detection when it received a “1” as the most significant bit of a word, thus indicating that the message is an ad- dress. The reception of this particular word wakes up the receiver, resets the RWU bit and sets the RDRF bit, which allows the receiver to receive this word normally and to use it as an address word. This feature is useful in a multiprocessor system when the most significant bit of each character (except for the break character) is reserved for Ad- dress Detection. As soon as the receivers re- ceived an address character (most significant bit =’1’), the receivers are waken up. The receivers which are not addressed set RWU bit to enter in mute mode. Consequently, they will not treat the next characters constituting the next part of the message. 11.5.5.7 Parity Control Hardware byte Parity control (generation of parity bit in transmission and parity checking in recep- tion) can be enabled by setting the PCE bit in the SCICR1 register. Depending on the character for- mat defined by the M bit, the possible SCI charac- ter formats are as listed in Table 19. Note: In case of wake up by an address mark, the MSB bit of the data is taken into account and not the parity bit Table 19. Character Formats Legend: SB = Start Bit, STB = Stop Bit, PB = Parity Bit Even parity: the parity bit is calculated to obtain an even number of “1s” inside the character made of the 7 or 8 LSB bits (depending on whether M is equal to 0 or 1) and the parity bit. Ex: data=00110101; 4 bits set => parity bit will be 0 if even parity is selected (PS bit = 0). Odd parity: the parity bit is calculated to obtain an odd number of “1s” inside the character made of the 7 or 8 LSB bits (depending on whether M is equal to 0 or 1) and the parity bit. Ex: data=00110101; 4 bits set => parity bit will be 1 if odd parity is selected (PS bit = 1). Transmission mode: If the PCE bit is set then the MSB bit of the data written in the data register is not transmitted but is changed by the parity bit. Reception mode: If the PCE bit is set then the in- terface checks if the received data byte has an even number of “1s” if even parity is selected (PS=0) or an odd number of “1s” if odd parity is se- lected (PS=1). If the parity check fails, the PE flag is set in the SCISR register and an interrupt is gen- erated if PCIE is set in the SCICR1 register. M bit PCE bit Character format 0 0 | SB | 8 bit data | STB | 0 1 | SB | 7-bit data | PB | STB | 1 0 | SB | 9-bit data | STB | 1 1 | SB | 8-bit data | PB | STB | 1 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |