EMAC Functional Architecture | www.ti.com |
2.7.3Divide-by-N State Machine (DSM)
The
The state machine has three states, WAITING, COUNT, and OUTPUT. Upon reset, the state machine is placed in the WAITING state. The state machine makes transitions between the states as shown in Figure 17. Note that states that are grayed out are transitional states, in the sense that the SM does not stay in the grayed state. While in the transitional state, it typically does an operation, like setting the counter to a certain value.
Figure 17. DSM State Transition Diagram
EVT_PULSE=0(or)EVT_PULSE=1&&
CNT >=CNT_CFG&& TIME_CFGI=0
|
|
|
|
|
| >= |
|
|
|
|
|
|
| && | CNT CFG==0 |
| PULSE=0 | CR=1 | |
|
|
|
|
| _ |
| |||
| PULSE=1 | TIME |
| _ | && |
| |||
|
|
| && |
|
|
| EVT |
| |
|
| CFG |
|
|
|
|
| ||
|
|
|
|
|
|
|
| ||
EVT | _ |
|
|
|
|
|
|
| |
| _ |
|
|
|
|
|
|
| |
CNT |
|
|
|
| EVT_PULSE=0 |
&&CR=0
|
|
|
|
| Waiting | ||
|
| PULSE=1 | && | && | Increment | ||
|
| CFG | |||||
|
|
| CNT | ||||
|
|
|
|
|
|
| |
EVT | _ |
|
| CNT |
|
|
|
|
| < | CR=0 |
|
| ||
CNT |
|
|
|
|
|
|
|
| EVT |
| |
|
|
| CNT |
| |
EVT |
|
|
| _ |
|
|
|
| >= |
| |
CNT |
|
|
| PULSE=0 | |
_ |
|
| CFG | ||
| PULSE=1 | ||||
< |
|
| CNT |
| |
CNT |
| _ | (or) | ||
|
| ||||
|
| _ | && |
| |
|
|
|
| ||
|
| CFG |
|
|
CNT=1
EVT_PULSE=1&&
CR=1&&CNT <
CNT_CFG
CNT=1
Count | CNT=1 | PULSE=1&& <CNTCFG |
CNT >=CNT_CFG |
| |
|
| |
&&EVT_PULSE=1 |
|
|
NEXT_ |
| EVT_ CNT |
DIV=1 |
|
|
|
| Output |
NEXT_ |
|
|
DIV=1 |
|
|
44 | C6472/TCI6486 EMAC/MDIO | SPRUEF8F |
|
| Submit Documentation Feedback |
Copyright ©