| Electronic Components Datasheet Search |
|
CD2481 Datasheet(PDF) 53 Page - Intel Corporation |
|
|
|||||||||||||||||||||||||||||
CD2481 Datasheet(HTML) 53 Page - Intel Corporation |
|
53 / 222 page ![]() Programmable Four-Channel Communications Controller — CD2481 Datasheet 53 automatically switches to the other buffer and advances the Receive Current Buffer Address enough to complete the desired gap. The CD2481 readjusts data alignment in its internal FIFO as needed to maintain alignment with the external buffer. Receiver A and B Buffers In the following drawing, buffers A and B are contained in RAM external to the CD2481. All others (DMABSTS, ARBADR, ARBCNT, ARBSTS, RCBADR, BRBADR, BRBCNT, and BRBSTS) are inside the CD2481. Example 1 Receive a frame from channel 1, no chaining. 1. The host must first make a receive buffer available before a frame can be received. Thus, the host checks the Nrbuf bit in the DMABSTS register for channel 1 to determine which buffer is next. In this example, Nrbuf is set to ‘0’ indicates buffer A is used next. 2. The host sets up the starting address — ARBADR, and the buffer byte count — ARBCNT. When the host writes the count — ARBCNT, the host has defined the size limit for the buffer. 3. The host then gives the buffer to the CD2481 by setting the 2481OWN bit in the status register — ARBSTS. This notifies the CD2481 that it is now OK to write received. 4. The Rbusy bit in the DMABSTS register for channel 1 is ‘0’ until a frame starts to be received. When frame data starts coming in, the CD2481 sets Rbusy to notify the host that buffer B is next. As data bytes are written into the buffer, the current buffer pointer, RCBADR, is updated by the CD2481. 5. At the end of the received frame, the CD2481 tests for correct end of frame delimiter and CRC. When the received frame is complete, the CD2481 clears the Rbusy bit. In this example, there is no receive chaining, so the received frame byte count is less than or equal to the buffer size count — ARBCNT. The CD2481 writes the value of the actual received byte count into Figure 8. Receiver A and B Buffers CD2481 Transmit DMA Registers Physical Memory Receiver Buffer A Receiver Buffer B ARBADR (32) ARBCNT (16) ARBSTS (8) (Status Register) RCBADR (32) (Currently using Buffer A) BRBADR (32) BRBCNT (16) BRBSTS (8) (Status Register) Starting Address Buffer Byte Count Current Address Starting Address Buffer Byte Count NOTE: Number of bits in each register is shown in parentheses (). Buffer A and buffer B do not need to be the same length. |
|
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 |
| 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 |