Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AN1753 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN1753
Description  Software UART using ST7LITE0 12-bit autoreload timer
Download  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1753 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN1753 Datasheet HTML 3Page - STMicroelectronics AN1753 Datasheet HTML 4Page - STMicroelectronics AN1753 Datasheet HTML 5Page - STMicroelectronics AN1753 Datasheet HTML 6Page - STMicroelectronics AN1753 Datasheet HTML 7Page - STMicroelectronics AN1753 Datasheet HTML 8Page - STMicroelectronics AN1753 Datasheet HTML 9Page - STMicroelectronics AN1753 Datasheet HTML 10Page - STMicroelectronics AN1753 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 22 page
background image
DocID9986 Rev 2
7/22
AN1753
ST7FLITE0 configuration
3
ST7FLITE0 configuration
3.1
Clock source
This application is implemented using an ST7FLITE0 device with an 8 MHz internal clock.
PLL * 8 is used to generate this 8 MHz clock.
3.2
Input initialization
Two pins of the ST7FLITE0 are used:
PA3: pin of PortA
PA7: pin of PortA with interrupt
Pin PA3 is a normal input/output port pin with no alternate function, used for transmission.
During the initialization, it is configured as an output.
Pin PA7 is a normal input/output port pin with no alternate function, used for data receive.
During the initialization, it is configured as an input. While in receive mode, at start, the
same pin is used with interrupt enabled (“ei1”) to sense the start bit. So this pin is configured
with “pull up interrupt input” by setting PADDR to 0 & PAOR to 1. To set the interrupt
sensitivity “Falling edge only”, you have to set IS11=1 & IS10=0 in the EICR register.
Refer to the device datasheet for a detailed description of the I/O and interrupt control
registers.
3.3
Auto-reload timer register configuration
The AT timer is based on a free running 12-bit upcounter with 12-bit auto reload register
(ATR). Apart from this, it also includes other functions such as PWM signal generator,
Output Compare Function, etc.
The “Output Compare” function is used for this application. To use it, the OE bit must be 0,
otherwise the compare is done with the shadow register instead of the DCRx register. The
software must then write a 12-bit value in the DCR0H and DCR0L registers. When the 12-bit
upcounter (CNTR) reaches the value stored in the DCR0H and DCR0L registers, the
CMPF0 bit in the PWM0CSR register is set and an interrupt request is generated, provided
that the CMPIE bit is set.
The registers that are used in the application note are:
TIMER CONTROL STATUS REGISTER (ATCSR):
CK1, CK0: select the clock frequency of the counter.
For fcounter = fcpu, set CK1=1 and CK0=0
CMPIE: allows to mask the interrupt generation when the CMPF bit is set:
0: the CMPF interrupt is disabled
1: the CMPF interrupt is enabled
CMPIE
OVFIE
OVF
CK0
CK1
0
0
0


Similar Part No. - AN1753

ManufacturerPart #DatasheetDescription
logo
List of Unclassifed Man...
AN1750-521P ETC1-AN1750-521P Datasheet
39Kb / 1P
   AN0625-521P
logo
STMicroelectronics
AN1751 STMICROELECTRONICS-AN1751 Datasheet
579Kb / 7P
   EMI Filters: Recommendations and measurements
AN1752 STMICROELECTRONICS-AN1752 Datasheet
118Kb / 14P
   ST72324 QUICK REFERENCE NOTE
AN1754 STMICROELECTRONICS-AN1754 Datasheet
135Kb / 19P
   DATA LOGGING PROGRAM FOR TESTING ST7 APPLICATIONS VIA ICC
AN1755 STMICROELECTRONICS-AN1755 Datasheet
84Kb / 7P
   The goal of this application note is to present
More results

Similar Description - AN1753

ManufacturerPart #DatasheetDescription
logo
Silicon Laboratories
AN110 SILABS-AN110 Datasheet
238Kb / 12P
   16-BIT PWM USING AN ON-CHIP TIMER
logo
Maxim Integrated Produc...
MAX5134 MAXIM-MAX5134_10 Datasheet
453Kb / 19P
   Pin-/Software-Compatible, 16-/12-Bit, Voltage-Output DACs
Rev 2; 1/10
MAX5134 MAXIM-MAX5134 Datasheet
372Kb / 19P
   Pin-/Software-Compatible, 16-/12-Bit, Voltage-Output DACs
Rev 1; 10/08
MAX1272 MAXIM-MAX1272 Datasheet
850Kb / 20P
   Fault-Protected, 12-Bit ADCs with Software-Selectable Input Range
19-2921; Rev 1; 12/03
logo
STMicroelectronics
ST52T301 STMICROELECTRONICS-ST52T301 Datasheet
497Kb / 100P
   8-Bit OTP/EPROM DuaLogic] MCUs WITH ADC, UART, TIMER, TRIAC & PWM DRIVER
logo
Maxim Integrated Produc...
MAX1272 MAXIM-MAX1272_V01 Datasheet
1Mb / 19P
   Fault-Protected, 12-Bit ADCs with Software-Selectable Input Range
2011
logo
STMicroelectronics
AN2475 STMICROELECTRONICS-AN2475 Datasheet
1Mb / 37P
   STR91xFAxxx in-application programming using UART
AN2078 STMICROELECTRONICS-AN2078 Datasheet
155Kb / 13P
   STR7 In-Application Programming using UART
AN1605 STMICROELECTRONICS-AN1605 Datasheet
93Kb / 7P
   USING AN ACTIVE RC TO WAKEUP THE ST7LITE0 FROM POWER SAVING MODE
ST62T35B STMICROELECTRONICS-ST62T35B Datasheet
617Kb / 82P
   8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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