Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HC705E5GRS/D Datasheet(PDF) 91 Page - NXP Semiconductors

Part # HC705E5GRS/D
Description  General Release Specification
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

HC705E5GRS/D Datasheet(HTML) 91 Page - NXP Semiconductors

Back Button HC705E5GRS/D Datasheet HTML 87Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 88Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 89Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 90Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 91Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 92Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 93Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 94Page - NXP Semiconductors HC705E5GRS/D Datasheet HTML 95Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 148 page
background image
Motorola Bus (M Bus) Interface
Programming Considerations
MC68HC705E5 — Rev. 1.0
General Release Specification
Motorola Bus (M Bus) Interface
11.8.4 Generation of the Stop Signal
A data transfer ends with a stop signal generated by the master device.
A master transmitter can simply generate a stop signal after all the data
has been transmitted.
The following is an example showing how a stop condition is generated
by a master transmitter.
MASTX
BRSET
0,MSR,END
; IF NO ACK, BRANCH TO END
LDA
TXCNT
; GET VALUE FROM THE
; TRANSMITTING COUNTER
BEQ
END
; IF NO MORE DATA, BRANCH TO
; END
LDA
DATABUF
; GET NEXT BYTE OF DATA
STA
MDR
; TRANSMIT THE DATA
DEC
TXCNT
; DECREASE THE TXCNT
BRA
EMASTX
; EXIT
END
BCLR
5,MCR
; GENERATE A STOP CONDITION
EMASTX
RTI
; RETURN FROM INTERRUPT
If a master receiver wants to terminate a data transfer, it must inform the
slave transmitter by not acknowledging the last byte of data. This can be
done by setting the transmit acknowledge bit (TXAK) before reading the
second to the last byte of data. Before reading the last byte of data, a
stop signal must be generated first.
The following is an example showing how a stop signal is generated by
a master receiver.
MASR
DEC
RXCNT
BEQ
ENMASR
; LAST BYTE TO BE READ
LDA
RXCNT
DECA
; CHECK LAST 2ND BYTE TO BE READ
BNE
NXMAR
; NOT LAST ONE OR LAST SECOND
LAMAR
BSET
3,MCR
; LAST SECOND, DISABLE ACK
; TRANSMITTING
BRA
NXMAR
ENMASR
BCLR
5,MCR
; LAST ONE, GENERATE 'STOP'
; SIGNAL
NXMAR
LDA
MDR
; READ DATA AND STORE
STA
RXBUF
RTI
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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