Electronic Components Datasheet Search
  English  ▼

X  

FS98O21 Datasheet(PDF) 88 Page - Fortune Semiconductor Corp.

Part # FS98O21
Description  8-bit MCU with 2k program EPROM, 128-byte RAM
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FORTUNE [Fortune Semiconductor Corp.]
Direct Link  https://www.ic-fortune.com/eng/index.asp
Logo FORTUNE - Fortune Semiconductor Corp.

FS98O21 Datasheet(HTML) 88 Page - Fortune Semiconductor Corp.

Back Button FS98O21 Datasheet HTML 84Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 85Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 86Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 87Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 88Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 89Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 90Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 91Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 92Page - Fortune Semiconductor Corp. Next Button
Zoom Inzoom in Zoom Outzoom out
 88 / 136 page
background image
FS98O21
Rev. 1.7
88/136
Table 9-2 I2C register table
Address
Name
Referenced
Section
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
Power on
Reset
06h
INTF
3/6/7/9/10/11
--
I2CIF
--
--
--
00000000
07h
INTE
3/6/7/9/10/11
GIE
--
I2CIE
--
--
--
00000000
37h
PT2OCB
9
PT2OC[4:3]
uuu11uuu
57h
I2CCON
9
WCOL I2COV I2CEN
CKP
0001uuuu
58h
I2CSTA
9
DA
P
S
RW
BF
uu0000u0
59h
I2CADD
9
I2CADD [7:0]
00000000
5Ah
I2CBUF
9
I2CBUF [7:0]
00000000
I2C data receive operation: (master to slave)
1.
Configure SCL and SDA pins as open-drain through the PTOCB[4:3]
2.
Set I2CEN register flag to enable the I2C module.
3.
Clear I2CIF to reset the I2C interrupt.
4.
Set I2CIE and GIE to enable the I2C interrupt.
5.
Wait for the interrupt.
6.
When the I2C master device sends data to slave side, the data (ID) transmitted from the master device
will be sent to I2CBUF, and the BF register flag will be set.
7.
If the RW register flag is set, the I2C module will enter the receive mode.
8.
The acknowledgement signal will be sent automatically and an interrupt will occur.
9.
Clear the I2CIF and reset the interrupt to wait for the interrupt happened again.
10.
When an interrupt occurs, read the I2CBUF for receiving the data transmitted from master side. The
acknowledgement signal will be sent automatically.
11.
If the user doesn’t read the data from I2CBUF, the BF register flag will be held high. When the data is sent
to slave again, the I2COV register flag will be set, and the interrupt will NOT happen.
SDA
A7A6
A5A4A3
A2A1
12
34
56
78
9
12
34
5
678
9
1
234
567
89
SCL
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
I2CIF (INTF<3>)
BF (I2CSTA<0>)
I2COV (I2CCON<6>)
S
P
Receiving Address
R/W = 0
__
ACK
____
ACK
____
ACK
____
Receiving Data
Receiving Data
Cleared in software
I2CBUF is read
I2COV is set
Because I2CBUF is
still full. ACK is not sent.
____
Bus Master
terminates
transfer
I2C Waveforms for Reception
Figure 9-3 I2C waveform for reception



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