26.12.2012 Views

Communicating via HDLC over a TDM Interface with a QUICC ...

Communicating via HDLC over a TDM Interface with a QUICC ...

Communicating via HDLC over a TDM Interface with a QUICC ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Timeslot Assigner Description/Configuration<br />

The TSA entries for both Rx and Tx RAM are identical in this example. They are programmed to create<br />

24 one-byte entries. This is similar to a T1 line. The entries used in this example are as shown in Table 1:<br />

Table 1. Example Entries<br />

Entry Number CSEL CNT BYT LST<br />

0 0 1 1 0<br />

1 0100b (UCC8) 1 1 0<br />

2 0 1 1 0<br />

3 0 1 1 0<br />

4 0 1 1 0<br />

5 0 1 1 0<br />

6 0 1 1 0<br />

7 0 1 1 0<br />

8 0 1 1 0<br />

9 0 1 1 0<br />

10 0 1 1 0<br />

11 0 1 1 0<br />

12 0 1 1 0<br />

13 0 1 1 0<br />

14 0 1 1 0<br />

15 0 1 1 0<br />

16 0 1 1 0<br />

17 0 1 1 0<br />

18 0 1 1 0<br />

19 0 1 1 0<br />

20 0 1 1 0<br />

21 0 1 1 0<br />

22 0 1 1 0<br />

23 0 1 1 1<br />

As no time slots after the second slot are used in this example, it could work <strong>with</strong> the second entry having<br />

its LST bit set. However, if another time slot were to be used, additional entries would need to be added.<br />

This, too, could be done differently, by modifying the CNT field in the first entry to skip unused timeslots.<br />

However, this example allows easy changes on a timeslot-by-timeslot basis <strong>with</strong>out having to change the<br />

<strong>over</strong>all TSA RAM setup. If an application requires the ability of allowing configurable timeslot<br />

programming, the above approach simplifies software management of the TSA RAM.<br />

<strong>Communicating</strong> <strong>via</strong> <strong>HDLC</strong> <strong>over</strong> a <strong>TDM</strong> <strong>Interface</strong> <strong>with</strong> a <strong>QUICC</strong> Engine UCC, Rev. 0<br />

12 Freescale Semiconductor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!