Electronic Components Datasheet Search
  English  ▼

X  

AS8267 Datasheet(PDF) 73 Page - ams AG

Part # AS8267
Description  Single-Phase 2-Current Energy Measurement Integrated Circuits with Microcontroller, RTC, Programmable Multi-Purpose I/Os
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMSCO [ams AG]
Direct Link  http://www.ams.com
Logo AMSCO - ams AG

AS8267 Datasheet(HTML) 73 Page - ams AG

Back Button AS8267 Datasheet HTML 69Page - ams AG AS8267 Datasheet HTML 70Page - ams AG AS8267 Datasheet HTML 71Page - ams AG AS8267 Datasheet HTML 72Page - ams AG AS8267 Datasheet HTML 73Page - ams AG AS8267 Datasheet HTML 74Page - ams AG AS8267 Datasheet HTML 75Page - ams AG AS8267 Datasheet HTML 76Page - ams AG AS8267 Datasheet HTML 77Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 136 page
background image
Data Sheet AS8267 / AS8268
Revision 1.0, 19-Jun-07
Page 73 of 136
Read
The SPI_Flash is selected by pulling S_N low. The 8-bit read instruction is transmitted to the SPI_Flash followed by the 16-bit
address with the MSB (address[15]) of the address word being don’t care. After the correct read instruction and address are
sent, the data stored in the memory at the selected address is shifted out on the MOSI pin. (After an access time of 13
system clocks the Flash data is available in the SPI transit register). The data stored in the memory at the next address can
be read sequentially by continuing to provide clock pulses. The internal address pointer is automatically incremented to the
next higher address after each byte of data is shifted out. When the highest address is reached (7FFFh), the address counter
rolls over to address 0000h allowing the read cycle to be continued indefinitely. Rising the S_N pin terminates the read
operation.
Timing
SC
MISO
MOSI
15
01
2
8
34
56
7
9
10
11
14
13
12
0
0
0
0
0
0
1
1
2
1
0
21
31
22
23
24
25
26
27
28
29
30
7
6
5
4
3
2
1
0
S_N
High Impedance
Instruction
16 Bit Address
Data Out
Example Read FLASH Sequence
1.
0x01
… … set REQ bit by writing 0x04 to status register
2.
0x04
… -“-
3.
0x05
… read Flash status register until Flash is ready
4.
0x03
… read Flash instruction
5.
0x00
… Start address, e.g. 80h
6.
0x80
… -“-
7.
Dat0
… read byte 0 from address
8.
Dat1
… read byte 1 from address + 1
9.
… read bytes as long as you want, after address overrun it restarts at address 0.
10. 0x01
… clear REQ bit by writing 0x00 to status register
11. 0x00
… -“-
Page Program
The whole memory of 32K bytes is split into 512 pages with 64 bytes per page. Each page can be written with 64 bytes at
once or, it can be written byte-wise or in groups of bytes. The addressing order is arbitrary. Prior to any attempt to write data
to the SPI_Flash or status register, the write enable latch must be set by issuing the WREN instruction. Setting S_N low and
then clocking out the proper instruction into the SPI_Flash does this. After all eight bits of the instruction are transmitted; the
S_N must be brought high to set the write enable latch. If the write operation is initiated immediately after the WREN
instruction without S_N being brought high, the data will not be written to the array because the write enable latch will not
have been properly set.
Once the write enable latch is set, the user may proceed by setting the S_N low, issuing a write instruction, followed by the
address, and then the data to be written. Up to 64 bytes of data can be sent to the SPI_Flash before a program cycle is
necessary. The only restriction is that all of the bytes must reside in the same page. An address consists of a page address
(9 bits) and the address in page (6 bits), where the page address = address [15:6] and the address in page is address [5:0]. If
the internal address counter reaches 0x7FFF and the clock continues, the counter will roll over to the first address 0x0000.



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