| Electronic Components Datasheet Search |
|
ML145488 Datasheet(PDF) 6 Page - LANSDALE Semiconductor Inc. |
|
|
|||||||||||||||||||||||||||||
ML145488 Datasheet(HTML) 6 Page - LANSDALE Semiconductor Inc. |
|
6 / 12 page ![]() www.lansdale.com Page 6 of 12 Issue A LANSDALE Semiconductor, Inc. ML145488 Non–Octet Aligned Packets The receiver has the capability of operating in non–octet aligned packet systems. The residue bit count indicating the num- ber of orphan data bits at the end of the information field is placed in the RC bits of the Receive Status register. These bits are valid until overwritten by another frame. In non–octetaligned sys- tems, the software should check the residue count soon after receiving a Receive Buffer Complete Interrupt to ensure that the residue count is not overwritten by the next frame. Orphan bits are LSB justified in memory. Note: The DDLC does not transmit non–octet aligned frames. Address Recognition (Filtering) The receiver can filter received frames by comparing their address fields to user programmable addresses. Two addresses may be programmed with another (broadcast, FFhex) hardwired into the receiver. Address filtering may be performed on either the first OR second octet following the opening flag of a frame. Typically, in ISDN terminal applications, the TEI address (sec- ond) field will be of interest. In network applications, the SAPI (first) field will be checked. A separate Wildcard register allows selected bits of Compare Address 0 to be ignored during the com- parison procedure. If received frames are rejected by address recognition, the receiver is reset and searches for a new frame. Address recognition may be disabled by clearing the Address CompareEnable bit to 0. Receive FIFO The receiver has a FIFO that is similar to the transmitter’s. It is four characters deep and ten bits wide (eight bits for data and two bits for the Tag). Serial bytes are produced by the receiver and converted to parallel. As each byte is formed, it is pushed into the FIFO. A comparator in the controller keeps track of the occupan- cy of the FIFO and requests that the DMA controller place a word of data (16 bits) in memory when there are two or more bytes in the FIFO. In 8–bit operation, the FIFO requests service when one or more bytes of data read are ready to be placed in memory. If the FIFO overruns because the DMA controller did not service a request, an interrupt is queued. When a receiver is operating at 64 kbps in the 16–bit mode, DMA requests from that FIFO occur at approximately 250 µs intervals. Transparent Operation The DDLC receiver provides a transparent operation mode for passing raw octet–aligned serial data to memory via DMA. This feature is useful for storing PCM voice or proprietary protocols in memory. When using the DDLC to pass PCM voice to memory, maximum buffer size of 4096 bytes should be used. The Receive Buffer Overrun Interrupt is used in conjunction with Receive Buffers A and B that are available for each channel when trans- parent mode is used. Because the transparent mode requires that data be in eight–bit quantities, synchronization procedures for defining octet boundaries are required. In the modem mode, the sync signal is externally generated and input on the CD pin. In IDL mode timeslot operation, the sync signal is internally gener- ated but user programmable. Once byte alignment is obtained in the receiver, it is maintained through the DMA controller into memory. Interrupts There are two interrupts generated by the receiver. The receiver queues an interrupt when a frame has been successfully received. The receive idle interrupt indicates that 15 or more consecutive 1s were received. This interrupt is considered normal operation. The current status of receive idle and carrier detect is available in the Receive Status register, but the user must remember that they can change immediately after being read. The carrier detect pin also generates an interrupt when it changes state. DMA CONTROLLER In order to relieve the host software from critically timed data transfers to or from the protocol controllers, the DDLC provides four DMA channels, one for each transmitter and receiver. DMA Operation When the DMA controller detects a service request from one of the FIFOs, it prepares the address and data from the transfer then requests ownership of the system bus from the host. When owner- ship is granted, the DMA controller assumes control of the bus and transfers data either to or from memory. Transfers are 16 bits or 8 bits, depending on the selected bus width. When the number of bytes in a received frame is odd, the last byte is placed in the most significant byte of the last word. The least significant byte contains unknown data. The receive byte count contains the cor- rect number of bytes received (including the CRC). When odd length frames are transmitted, the last word read from memory has the last byte transmitted in the most significant byte, and the least significant byte of that word is discarded. The DMA controller uses a round robin strategy to service internal DMA requests. A channel that was just serviced is not polled again until all other channels have been polled and serv- iced, if needed. The DDLC services one DMA request per bus arbitration cycle. The DDLC does not perform burst DMAs, so other devices can have access to the microprocessor bus. This type of operation improves system performance and guarantees that the DDLC is well behaved. IN FRAME ABORT OR ADDRESS MISMATCH FLAG FOUND NO FLAG ABORT FLAG FLAG FOUND OUT OF FRAME NO FLAG NO FLAG FLAG FOUND Figure 4. Receiver State Diagram HDLC Operation |
|
|
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 |