Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3070 Datasheet(PDF) 8 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) 8 Page - STMicroelectronics

Back Button 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 AN3070 Datasheet HTML 11Page - STMicroelectronics AN3070 Datasheet HTML 12Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 8 / 12 page
background image
Measuring the DE signal switching time using the two methods
AN3070
8/12
Doc ID 16312 Rev 1
3
Measuring the DE signal switching time using the
two methods
This section gives some DE timing measurements using the two previously described
methods.
The timing to be measured is the time interval between the end of the stop bit of the last byte
and the falling edge of the DE signal. It is measured in CPU clock cycles (refer to Figure 4).
Figure 4.
Zoom in DE signal switching period
The MCO pin (PA8) is used to output the system clock (CPU clock) in order to measure in
CPU cycles the time taken by the DE signal to switch to the low level.
The end of the stop bit is evaluated by measuring the number of CPU clock cycles during a
bit time.
This application note is released with two examples of firmware that implement the two
previously described methods. Both examples describe the same sequence: drive PC6 high
(DE signal), send a buffer of 4 bytes and then drive PC6 low.
The user can select the CPU frequency (72 MHz or 24 MHz) by commenting/uncommenting
the following define in the main.c files:
#define HCLK_FREQ_72MHz
72 MHz is selected by default.
3.1
Measuring the DE signal switching time
This timing depends on different factors such as the compiler used, the level of optimization
or the CPU frequency.
The examples are built with two compilers: Keil™ 4.00 and IAR 5.40.
They implement two optimization modes: low optimization and high optimization on timing.
The baud rate for transmission is 230400 baud (bit time = 4.34 µs), 1 stop bit.



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