Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN3070 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN3070
Description  Managing the Driver Enable signal for RS-485 and IO-Link
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3070 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN3070 Datasheet HTML 2Page - STMicroelectronics AN3070 Datasheet HTML 3Page - STMicroelectronics AN3070 Datasheet HTML 4Page - STMicroelectronics AN3070 Datasheet HTML 5Page - STMicroelectronics AN3070 Datasheet HTML 6Page - STMicroelectronics AN3070 Datasheet HTML 7Page - STMicroelectronics AN3070 Datasheet HTML 8Page - STMicroelectronics AN3070 Datasheet HTML 9Page - STMicroelectronics AN3070 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 12 page
background image
Description of the methods used to manage the DE signal
AN3070
6/12
Doc ID 16312 Rev 1
2
Description of the methods used to manage the DE
signal
The purpose of this section is to provide two methods to control the DE signal and switch
between the USART send and receive modes.
The first method uses two interrupts: the transmit complete interrupt of the DMA and the
transmit complete interrupt of the USART.
The second method uses two USART interrupts: the transmit complete interrupt and the
transmit buffer empty interrupt.
2.1
Method using the DMA interrupt
In this method, the DMA manages the data buffer transmission entirely. It continuously
sends the data buffer to the USART data register until the DMA counter reaches 0. When
the DMA transmit complete interrupt occurs, the USART transmit complete interrupt is
enabled. In this interrupt, the DE pin is driven low.
The DE signal goes high just before the DMA transfer is enabled.
Figure 2 shows an example of management of the DE signal by using the DMA transmit
complete interrupt.
Figure 2.
DMA interrupt method to control the DE signal
2.2
Method using the USART interrupt
The transmit complete interrupt of the USART is used to drive low the DE pin, and so inform
the slave to send its response. The transmit data register empty interrupt is also used to
drive this pin high to inform that the master is to send data to the slave. Figure 3 shows an
example of the DE signal management using the USART interrupts.
The DE pin is pulled high before the first byte is sent. It is driven low after the last bit of the
last byte is sent. This is done by enabling the TC interrupt during the last byte transmission.
The next occurrence of the transmit complete interrupt drives the DE pin low.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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