Wiznet W7500 Reference Manual page 48

Internet offload processor
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

Once all Sn_TXBUF_SIZE registers have been configured, Socket TX Buffer is allocated with
the configured size of 16KB TX Memory and is assigned sequentially from Socket 0 to Socket
7. Its physical memory address is automatically determined in 16KB TX memory. Therefore,
the total sum of Sn_TXBUF_SIZE should not exceed 16 in case of error in data transmission.
The 16KB RX memory allocation method is the same as the 16KB TX memory allocation
method. 16KB RX memory is initially allocated into 2KB size for each Socket RX Buffer Block
(2KB X 8 = 16KB). The initial allocated 2KB size of Socket n RX Buffer can be re-allocated by
using „Socket n RX Buffer Size Register (Sn_RXBUF_SIZE)‟.
When all Sn_RXBUF_SIZE registers have been configured, the Socket RX Buffer is allocated
with the configured size in 16KB RX Memory and is assigned sequentially from Socket 0 to
Socket 7. The physical memory address of the Socket RX Buffer is automatically determined
in 16KB RX memory. Therefore, the total sum of Sn_RXBUF_SIZE should not exceed 16 or data
reception error will occur.
For 16KB TX/RX memory allocation, refer to Sn_TXBUF_SIZE & Sn_RXBUF_SIZE in „Chapter
7.4.2‟. The Socket n TX Buffer Block allocated in 16KB TX memory is buffer for saving data to
be transmitted by host. The 16bits Offset Address of Socket n TX Buffer Block has 64KB
address space ranged from 0x0000 to 0xFFFF, and is configured with reference to „Socket n
TX Write Pointer Register (Sn_TX_WR)‟ & „Socket n TX Read Pointer Register(Sn_RX_RD)‟.
However, the 16bits Offset Address automatically converts into the physical address to be
accessible in 16KB TX memory such as Figure 5. Refer to „Chapter 7.4.2‟ for Sn_TX_WR &
Sn_TX_RD.
The Socket n RX Buffer Block allocated in 16KB RX memory is buffer for saving the received
data through the Ethernet. The 16bits Offset Address of Socket n RX Buffer Block has 64KB
address space ranged from 0x0000 to 0xFFFF, and is configured with reference to „Socket n
RX RD Pointer Register (Sn_RX_RD)‟ & „Socket n RX Write Pointer Register (Sn_RX_WR)‟.
However, the 16bits Offset Address automatically converts into the physical address to be
accessible in 16KB RX memory such as Figure 5. Refer to „Chapter 7.4.2‟ for Sn_RX_RD &
Sn_RX_WR.
48 / 512
W7500 Datasheet Version1.0.0

Advertisement

Table of Contents
loading

Table of Contents