công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

68HC705SB7 bảng dữ liệu(PDF) 89 Page - Freescale Semiconductor, Inc

tên linh kiện 68HC705SB7
Giải thích chi tiết về linh kiện  SPECIFICATION (General Release)
PDF  170 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  FREESCALE [Freescale Semiconductor, Inc]
Trang chủ  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

68HC705SB7 bảng dữ liệu(HTML) 89 Page - Freescale Semiconductor, Inc

Back Button 68HC705SB7 Datasheet HTML 85Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 86Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 87Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 88Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 89Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 90Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 91Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 92Page - Freescale Semiconductor, Inc 68HC705SB7 Datasheet HTML 93Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 170 page
background image
August 27, 1998
GENERAL RELEASE SPECIFICATION
MC68HC05SB7
SM-BUS
MOTOROLA
REV 2.1
12-11
12.6
PROGRAMMING CONSIDERATIONS
12.6.1 Initialization
1.
Update Frequency Divider Register (FDR) to select a SCL frequency.
2.
Update SM-Bus Address Register (SMADR) to define its own slave
address.
3.
Set SMEN bit of SM-Bus Control Register (SMCR) to enable the SM-
Bus interface system.
4.
Modify the bits of SM-Bus Control Register (SMCR) to select Master/
Slave mode, Transmit/Receive mode, interrupt enable or not.
12.6.2 Generation of a START Signal and the First Byte of Data Transfer
After completion of the initialization procedure, serial data can be transmitted by
selecting the “master transmitter” mode. If the device is connected to a multi-mas-
ter bus system, the state of the SM-Bus busy bit (SMBB) must be tested to check
whether the serial bus is free. If the bus is free (SMBB = 0), the start condition and
the first byte (the slave address) can be sent. An example of a program which
generates the START signal and transmits the first byte of data (slave address) is
shown below:
SEI
; DISABLE INTERRUPT
CHFALG
BRSET
5,SMSR,CHFLAG
; CHECK THE SMBB BIT OF THE
; STATUS REGISTER. IF IT IS
; SET, WAIT UNTIL IT IS CLEAR
TXSTART
BSET
4,SMCR
; SET TRANSMIT MODE
BSET
5,SMCR
; SET MASTER MODE
; i.e. GENERATE START CONDITION
LDA
#CALLING
; GET THE CALLING ADDRESS
STA
SMDR
; TRANSMIT THE CALLING
; ADDRESS
CLI
; ENABLE INTERRUPT
12.6.3 Software Responses after Transmission or Reception of a Byte
Transmission or reception of a byte will set the data transferring bit (SMCF) to 1,
which indicates one byte communication is finished. Also, the SM-Bus interrupt bit
(SMIF) is set to generate an SM-Bus interrupt if the interrupt function is enable
during initialization. Software must clear the SMIF bit in the interrupt routine first.
The SMCF bit will be cleared by reading from the SM-Bus DATA I/O Register
(SMDR) in receive mode or writing to SMDR in transmit mode. Software may
serve the SM-Bus I/O in the main program by monitoring the SMIF bit if the inter-
rupt function is disabled. The following is an example of a software response by a
“master transmitter” in the interrupt routine (see Figure 12-5).



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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