AN2262 Motorola / Freescale Semiconductor, AN2262 Datasheet - Page 24
![no-image](/images/no-image-200.jpg)
AN2262
Manufacturer Part Number
AN2262
Description
Wireless HC08 Modem
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
1.AN2262.pdf
(108 pages)
- Current page: 24 of 108
- Download datasheet (751Kb)
AN2262/D
OC Interrupt Service
Routine
24
NOTE:
This method is insensitive to any latencies which may occur (e.g., when some
other source of interrupt is being serviced). The only limitation is that the actual
OC interrupt service routine must complete before the next output compare
event occurs. This is demonstrated in
slightly shifted (delayed) after the output compare event, for example, until
another interrupt service routine (which is not interrupted by the OC ISR)
finishes its job.
The same code can be used to generate NRZ data stream. Clearing the
‘Toggle on overflow’ feature, no toggle in the middle of the bit occurs. For
example, this method could be helpful in generating a ‘software-SCI’ data
stream.
Since the transmit routine is a core part of the application, a more detailed
explanation of its function follows.
flows. It must be understood that this routine is periodically called at a bit rate,
right after an output compare event. The flow branches depending on whether
data (pay-load) or special (RF specific) symbols are to be sent. Special
symbols (if signalled by respective flags) always take precedence, upon RF
transmit initialization ‘preamble’ and ‘header’ flags are set, so transmission
starts with preamble followed by header and data.
Tail is defined as Manchester violation during two successive bits (logic 0 or
logic 1 during two bits time). Within this application, the data transmission is
simply stopped (creating logic 0 effectively). When all data are sent, the tail flag
is set. During the next interrupt (after the last data bit is really sent out), the ‘tail’
flag is cleared, transmit cleanup is done, transmission is finished, and this
condition is signalled to the main loop.
COMPARE
OC ISR = Output Compare Interrupt Service Routine
OUTPUT
OC ISR
TOGGLE ON
OVERFLOW
Figure 14. Manchester Data Encoding Through
Wireless HC08 Modem
ANOTHER ISR TASK
COMPARE
OUTPUT
Output Compare Interrupt
Figure 15
TOGGLE ON
OC ISR
OVERFLOW
Figure
shows the where program control
14, where the second OC ISR is
COMPARE
OUTPUT
OC ISR
TOGGLE ON
OVERFLOW
MOTOROLA
COMPARE
OUTPUT
Related parts for AN2262
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN177](/images/no-image3.png)
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
![AN1268](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
![AN1315](/images/no-image3.png)
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
![AN1998](/images/no-image3.png)
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
![AN2124](/images/no-image3.png)
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
![AN2428](/images/no-image3.png)
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
![AN2708](/images/no-image3.png)
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
![AN2783](/images/no-image3.png)
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
![MSD1819A-RT1](/images/no-image3.png)
Part Number:
Description:
NPN Silicon General Purpose Amplifier Transistor
Manufacturer:
Motorola / Freescale Semiconductor
![MSA1105](/images/no-image3.png)
Part Number:
Description:
Cascadable Silicon Bipolar MMIC Amplifier
Manufacturer:
Motorola / Freescale Semiconductor
![MMBR5031LT1](/images/no-image3.png)
Part Number:
Description:
NPN Silicon High-Frequency Transistor
Manufacturer:
Motorola / Freescale Semiconductor
![MMBR571](/images/no-image3.png)
Part Number:
Description:
NPN Silicon High Frequency Transisters
Manufacturer:
Motorola / Freescale Semiconductor
![MMBR5179LT1](/images/no-image3.png)
Part Number:
Description:
RF AMPLIFIER TRANSISTOR NPN SILICON
Manufacturer:
Motorola / Freescale Semiconductor
![MMBR521LT1](/images/no-image3.png)
Part Number:
Description:
HIGH-FREQUENCY TRANSISTOR PNP SILICON
Manufacturer:
Motorola / Freescale Semiconductor
![MMBR901LT1](/images/no-image3.png)
Part Number:
Description:
IC = 30 mA SURFACE MOUNTED HIGH-FREQUENCY TRANSISTOR NPN SILICON
Manufacturer:
Motorola / Freescale Semiconductor