STMicroelectronics AN3070 Application Note Managing Driver Enable Signal

This application note explains the methods for managing the driver enable signal in RS-485 and IO-Link communications with the STM32™'s USART interface, as well as the timing measurements of the DE signal. The document is divided into three parts: it first explains the timing constraint of the DE signal, then describes the two methods used to manage the DE signal, and finally provides different measurements of the DE signal switching time using these methods.


STMicroelectronics AN3070 Application Note Managing Driver Enable Signal - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
English
Pages
12
File format
PDF
File size
191 KB
Published
07 August, 2012
Updated
29 September, 2023
Model
AN307
MD5 checksum
7B43D7E4F63396DBCC8397DBDC487468

About this manual

This document addresses the critical timing requirements for the Driver Enable (DE) signal in half-duplex communication protocols like RS-485 and IO-Link. It details how the master device must switch the DE signal to ensure proper reception of slave responses without data collisions.

What's inside

  • DE signal timing constraint
  • Method using the DMA interrupt
  • Method using the USART interrupt
  • Measuring the DE signal switching time
  • Timing measurements at 72 MHz
  • Timing measurements at 24 MHz
  • Revision history

Specifications

Baud rate for transmission230400 baud
Stop bits1 stop bit
DE signal emulation pinGPIO port C pin 6 (PC6)

Frequently asked questions

Which CPU frequencies are supported for timing measurements?

The examples support CPU frequencies of 72 MHz and 24 MHz.

What compilers are used for the firmware examples?

The examples are built with Keil 4.00 and IAR 5.40.

What is the timing constraint for the DE signal?

The DE signal must switch from high to low within the bit time following the last bit of the last byte sent.

Download PDF (191 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →