数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ENC28J60-C/SP 数据表(PDF) 31 Page - Microchip Technology

部件名 ENC28J60-C/SP
功能描述  Stand-Alone Ethernet Controller with SPI Interface
PDF  96 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

ENC28J60-C/SP 数据表(HTML) 31 Page - Microchip Technology

Back Button ENC28J60-C/SP Datasheet HTML 27Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 28Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 29Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 30Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 31Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 32Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 33Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 34Page - Microchip Technology ENC28J60-C/SP Datasheet HTML 35Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 96 page
background image
© 2006 Microchip Technology Inc.
Preliminary
DS39662B-page 29
ENC28J60
4.2.4
WRITE BUFFER MEMORY
COMMAND
The Write Buffer Memory (WBM) command allows the
host controller to write bytes to the integrated 8-Kbyte
transmit and receive buffer memory.
If the AUTOINC bit in the ECON2 register is set, after
the last bit of each byte is written, the EWRPT Pointer
will automatically be incremented to point to the next
sequential address (current address + 1). If address
1FFFh is written with AUTOINC set, the Write Pointer
will increment to 0000h.
The WBM command is started by lowering the CS pin.
The WBM opcode should then be sent to the
ENC28J60, followed by the 5-bit constant 1Ah. After
the WBM command and constant are sent, the data to
be stored in the memory pointed to by EWRPT should
be shifted out MSb first to the ENC28J60. After 8 data
bits are received, the Write Pointer will automatically
increment if AUTOINC is set. The host controller can
continue to provide clocks on the SCK pin and send
data on the SI pin, without raising CS, to keep writing to
the memory. In this manner, with AUTOINC enabled, it
is possible to continuously write sequential bytes to the
buffer memory without any extra SPI command
overhead.
The WBM command is terminated by bringing up the
CS pin. Refer to Figure 4-6 for a detailed illustration of
the write sequence.
4.2.5
BIT FIELD SET COMMAND
The Bit Field Set (BFS) command is used to set up to
8 bits in any of the ETH Control registers. Note that this
command cannot be used on the MAC registers, MII
registers, PHY registers or buffer memory. The BFS com-
mand uses the provided data byte to perform a bit-wise
OR operation on the addressed register contents.
The BFS command is started by pulling the CS pin low.
The BFS opcode is then sent, followed by a 5-bit
address (A4 through A0). The 5-bit address identifies
any of the ETH registers in the current bank. After the
BFS command and address are sent, the data byte
containing the bit field set information should be sent,
MSb first. The supplied data will be logically ORed to
the content of the addressed register on the rising
edge of the SCK line for the D0 bit.
If the CS line is brought high before eight bits are
loaded, the operation will be aborted for that data
byte. The BFS operation is terminated by raising the
CS pin.
4.2.6
BIT FIELD CLEAR COMMAND
The Bit Field Clear (BFC) command is used to clear up
to 8 bits in any of the ETH Control registers. Note that
this command cannot be used on the MAC registers,
MII registers, PHY registers or buffer memory. The BFC
command uses the provided data byte to perform a bit-
wise NOTAND operation on the addressed register
contents. As an example, if a register had the contents
of F1h and the BFC command was executed with an
operand of 17h, then the register would be changed to
have the contents of E0h.
The BFC command is started by lowering the CS pin.
The BFC opcode should then be sent, followed by a
5-bit address (A4 through A0). The 5-bit address
identifies any of the ETH registers in the current bank.
After the BFC command and address are sent, a data
byte containing the bit field clear information should
be sent, MSb first. The supplied data will be logically
inverted and subsequently ANDed to the contents of
the addressed register on the rising edge of the SCK
line for the D0 bit.
The BFC operation is terminated by bringing the CS
pin high. If CS is brought high before eight bits are
loaded, the operation will be aborted for that data
byte.
FIGURE 4-6:
WRITE BUFFER MEMORY COMMAND SEQUENCE
SO
SI
SCK
CS
0
23456789
10 11 12
13 14 15 16 17 18 19
20 21 22
1
00
1
1
1
1
0
76
5
4
1D0
7654321
0
23
32
1
Data Byte 0
Data Byte 1
Opcode
Address
High-Impedance State



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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