поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

ST72344 датащи(PDF) 131 Page - STMicroelectronics

номер детали ST72344
подробное описание детали  8-BIT MCU WITH UP TO 16K FLASH MEMORY, 10-BIT ADC, TWO 16-BIT TIMERS, TWO I2C, SPI, SCI
PDF  191 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST72344 датащи(HTML) 131 Page - STMicroelectronics

Back Button ST72344 Datasheet HTML 127Page - STMicroelectronics ST72344 Datasheet HTML 128Page - STMicroelectronics ST72344 Datasheet HTML 129Page - STMicroelectronics ST72344 Datasheet HTML 130Page - STMicroelectronics ST72344 Datasheet HTML 131Page - STMicroelectronics ST72344 Datasheet HTML 132Page - STMicroelectronics ST72344 Datasheet HTML 133Page - STMicroelectronics ST72344 Datasheet HTML 134Page - STMicroelectronics ST72344 Datasheet HTML 135Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 131 / 191 page
background image
ST72340, ST72344, ST72345
131/191
I2C3S INTERFACE (Cont’d)
This process continues until a Stop or Restart
condition occurs.
2. I2C3S attempts to read a word while the CPU is
updating the RAM buffer. To prevent data cor-
ruption, the CPU must switch operation to Word
mode prior to updating a word in the RAM
buffer. Word mode is enabled by software using
the B/W bit in the I2C3SCR2 register. In Word
mode, when the CPU writes the MSB of a word
to address 2n, it is stored in a shadow register
rather than being actually written in RAM. When
the CPU writes the second byte (the LSB) at
address 2n+1, it is directly written in RAM. The
next cycle after the write to address 2n+1, the
MSB is automatically written from the shadow
register to RAM address 2n. DMA is disabled
for a 1 cycle while the CPU is writing a word.
Word mode is disabled by hardware after the
word update is performed. It must be enabled
before each word update by CPU.
Use the following procedure when the ST7 writes
a word in RAM:
1. Disable interrupts
2. Enable Word mode by setting the B/W and
BusyW bits in the I2C3SCR2 register. BusyW
bit is set to 1 when modifying any bits in Control
Register 2. Writing a 1 to this bit does not actu-
ally modify BusyW but prevents accidental
clearing of the bit.
3. Write Byte 1 in an even address in RAM. The
byte is not actually written in RAM but in a
shadow register. This address must be within
the I2C RAM buffer of slave addresses 1, 2 or
3.
4. Write Byte 2 in the next higher address in RAM.
This byte is actually written in RAM. During the
next cycle, the shadow register content is writ-
ten in the lower address. The DMA request is
disabled during this cycle.
5. Byte mode resumes automatically after writing
byte 2 and DMA is re-enabled.
6. Enable interrupts
Note: Word mode does not guarantee byte-pair
coherency of words WRITTEN by the I2C master
in RAM and read by the ST7. Byte pair coherency
in this case must be handled by software.
Figure 70. 16-bit Word Write Operation Flowchart
SENDS ADDRESS
AND WRITE BIT
DECODES I2C3SNS ADDRESS
DECODES R/W BIT
SETS WRITE FLAG
SENDS WRITE ADDRESS
SENDS 1 BYTE OF DATA
STOP CONDITION
UPDATES CURRENT ADDRESS-
ISSUES DMA REQUEST
RESETS I2C3SNS WRITE FLAG
HALTS EXECUTION
RESUMES EXECUTION
SERVICES I2C3SNS INTERRUPT
READS I2C3SNS STATUS REGISTER
REGISTER
Y
N
DELAYS WHILE CPU
COMPLETES WORD WRITE
SETS BUSYW IN CONTROL -
WORD MODE?
HOST
ST7 CPU
ST7 I2C3SNS
Repeat
RAM start address depends on slave address
Byte-Pair Coherency ensured by setting Word Mode
NORMAL EXECUTION
Max
1 Cycle
WRITES ONE BYTE TO RAM
Max
1 Cycle
REGISTER + I2C3S DISABLED
ISSUES INTERRUPT
ENABLES I2C3SNS
UPDATES CONTROL REGISTER



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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