Rabbit 6000 User’s Manual
digi.com
292
6. Select the desired configuration of transmit and receive operation by writing to NBTCR,
NBTESR, and MBRCR.
7. Write the device’s physical MAC address to the physical address (NBPAxR) and station
address registers (NBSAxR).
8. If desired, write to the multicast filter registers (NBMFxR) to generate a multicast filter.
9. Select other options in the configuration registers NBCFxR, NBGxR, NBRMR, NBCWR, and
NBFLxR.
10.Enable the network port transmitter by writing to NBTCR.
11.Enable the network port receiver by writing to NBRCR.
25.3.2 Transmit
The following steps explain how to transmit an Ethernet packet.
1. Set up a DMA buffer descriptor that will read the packet data from memory and write it to
NBDR. Write the buffer descriptor’s address to the DMA’s initial address registers (see
Chapter 24 for more information).
2. Enable the DMA transfer by auto-loading the buffer.
3. The packet transmission will proceed automatically. If any interrupts were enabled for any
transmitted packet events, they will occur upon completion (or error).
Note that network interrupts will occur when the data appears in the network peripheral, but DMA
interrupts will occur when the DMA transfer is complete.
25.3.3 Receive
The following steps explain how to receive an Ethernet packet.
1. Set up a DMA buffer descriptor that will read the packet data from NBDR and write it to mem-
ory. Write the buffer descriptor’s address to the DMA’s initial address registers (see
for more information).
2. Set up a DMA interrupt to handle the packet once it has been received and copied to memory.
3. Enable the DMA transfer by auto-loading the buffer.
4. The packet transmission will proceed automatically when data come in. When the DMA trans-
fer is complete, the DMA interrupt can be used to start the packet processing. The status of the
received packet is appended to the received data.
Summary of Contents for 6000
Page 1: ...Rabbit 6000 Microprocessor User s Manual 90001108_J...
Page 11: ...Rabbit 6000 User s Manual digi com 11 1 3 Block Diagram Figure 1 1 Rabbit 6000 Block Diagram...
Page 43: ...Rabbit 6000 User s Manual digi com 43 4 1 1 Block Diagram...
Page 57: ...Rabbit 6000 User s Manual digi com 57 5 1 1 Block Diagram...
Page 88: ...Rabbit 6000 User s Manual digi com 88 7 2 Block Diagram...
Page 115: ...Rabbit 6000 User s Manual digi com 115 11 1 1 Block Diagram...
Page 127: ...Rabbit 6000 User s Manual digi com 127 12 1 1 Block Diagram...
Page 138: ...Rabbit 6000 User s Manual digi com 138 13 1 1 Block Diagram...
Page 154: ...Rabbit 6000 User s Manual digi com 154 15 1 1 Block Diagram...
Page 163: ...Rabbit 6000 User s Manual digi com 163 16 1 1 Block Diagram...
Page 170: ...Rabbit 6000 User s Manual digi com 170 17 1 1 Block Diagram...
Page 177: ...Rabbit 6000 User s Manual digi com 177 18 1 1 Block Diagram...
Page 186: ...Rabbit 6000 User s Manual digi com 186 19 1 1 Block Diagram...
Page 230: ...Rabbit 6000 User s Manual digi com 230 22 2 Block Diagram...
Page 234: ...Rabbit 6000 User s Manual digi com 234 Figure 22 3 Sample Slow A D Converter Circuit...
Page 287: ...Rabbit 6000 User s Manual digi com 287 25 1 1 Block Diagram...
Page 310: ...Rabbit 6000 User s Manual digi com 310 26 1 1 Block Diagram...
Page 323: ...Rabbit 6000 User s Manual digi com 323 28 1 1 Block Diagram...
Page 351: ...Rabbit 6000 User s Manual digi com 351 31 1 4 Block Diagram...
Page 361: ...Rabbit 6000 User s Manual digi com 361 32 1 1 Block Diagram...
Page 369: ...Rabbit 6000 User s Manual digi com 369 33 2 Block Diagram...
Page 390: ...Rabbit 6000 User s Manual digi com 390 35 1 1 Block Diagram...
Page 408: ...Rabbit 6000 User s Manual digi com 408...
Page 410: ...Rabbit 6000 User s Manual digi com 410...
Page 411: ...Rabbit 6000 User s Manual digi com 411...
Page 420: ...Rabbit 6000 User s Manual digi com 420 Figure 37 1 Memory Read and Write Cycles...