データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STM8S データシート(PDF) 344 Page - STMicroelectronics

部品番号 STM8S
部品情報  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S データシート(HTML) 344 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 340Page - STMicroelectronics STM8S Datasheet HTML 341Page - STMicroelectronics STM8S Datasheet HTML 342Page - STMicroelectronics STM8S Datasheet HTML 343Page - STMicroelectronics STM8S Datasheet HTML 344Page - STMicroelectronics STM8S Datasheet HTML 345Page - STMicroelectronics STM8S Datasheet HTML 346Page - STMicroelectronics STM8S Datasheet HTML 347Page - STMicroelectronics STM8S Datasheet HTML 348Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 344 / 467 page
background image
Universal asynchronous receiver transmitter (UART)
RM0016
344/467
DocID14587 Rev 14
Figure 126. ISO 7816-3 asynchronous protocol
When connected to a smartcard, the UART_TX output drives a bidirectional line that is also
driven by the smartcard.
Smartcard is a single wire half duplex communication protocol.
•
Transmission of data from the transmit shift register is guaranteed to be delayed by a
minimum of 1/2 baud clock. In normal operation a full transmit shift register will start
shifting on the next baud clock edge. In Smartcard mode this transmission is further
delayed by a guaranteed 1/2 baud clock.
•
If a parity error is detected during reception of a frame programmed with a 1.5 stop bit
period, the transmit line is pulled low for a baud clock period after 1/2 baud clock
period. This is to indicate to the Smartcard that the data transmitted to the UART has
not been correctly received. This NACK signal (pulling transmit line low for 1 baud
clock) will cause a framing error on the transmitter side (configured with 1.5 stop bits).
The application can handle re-sending of data according to the protocol. A parity error
is ‘NACK’ed by the receiver if the NACK control bit is set, otherwise a NACK is not
transmitted.
•
The TE bit must be set to enable:
–
Data transmission
–
Transmission of acknowledgements in case of parity error.
Software must manage the timing of data transmission to avoid conflicts on the
data line when it writes new data in the data register.
•
The RE bit must be set to enable:
–
Data reception (sent by the Smartcard as well as by the UART),
–
Detection of acknowledgements in case of parity error.
•
The assertion of the TC flag can be delayed by programming the Guard Time register.
In normal operation, TC is asserted when the transmit shift register is empty and no
further transmit requests are outstanding. In Smartcard mode an empty transmit shift
register triggers the guard time counter to count up to the programmed value in the
Guard Time register. TC is forced low during this time. When the guard time counter
reaches the programmed value TC is asserted high.
•
The de-assertion of TC flag is unaffected by Smartcard mode.
•
If a framing error is detected on the transmitter end (due to a NACK from the receiver),
the NACK will not be detected as a start bit by the receive block of the transmitter.
According to the ISO protocol, the duration of the received NACK can be 1 or 2 baud
clock periods.
•
On the receiver side, if a parity error is detected and a NACK is transmitted the receiver
will not detect the NACK as a start bit.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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