www.ti.com
Event-Trigger (ET) Submodule
Figure 2-42. Event-Trigger SOCA Pulse Generator
ETCLR[SOCA]
SOCA
Clear
Latch | ETFLG[SOCA] |
|
| |
Set |
|
| ||
|
|
| ||
| ETPS[SOCACNT] |
|
| |
|
| ETSEL[SOCASEL] |
| |
Generate | ClearCNT |
|
| |
| ETFRC[SOCA] |
| ||
SOC |
| |||
|
| |||
pulse | Counter | 000 | 0 | |
when | ||||
| 001 | CTR=Zero | ||
input=1 |
| |||
IncCNT | 010 | CTR=PRD | ||
| 011 | 0 | ||
|
| |||
| ETSEL[SOCAEN] | 100 | CTRU=CMPA | |
| 101 | CTRD=CMPA | ||
|
| |||
| ETPS[SOCAPRD] | 101 | CTRU=CMPB | |
| 111 | CTRD=CMPB | ||
|
|
Figure 2-43 shows the operation of the event-trigger's start-of-conversion-B (SOCB) pulse generator. The event-trigger's SOCB pulse generator operates the same way as the SOCA.
Figure 2-43. Event-Trigger SOCB Pulse Generator
ETCLR[SOCB]
SOCB
Clear
Latch | ETFLG[SOCB] |
|
| |
Set |
|
| ||
|
|
| ||
| ETPS[SOCBCNT] |
|
| |
|
| ETSEL[SOCBSEL] | ||
Generate | ClearCNT |
|
| |
| ETFRC[SOCB] |
| ||
SOC |
|
| ||
|
| |||
pulse | Counter | 000 | 0 | |
when | ||||
| 001 | CTR=Zero | ||
|
| |||
input=1 | IncCNT | 010 | CTR=PRD | |
| 011 | 0 | ||
|
| |||
| ETSEL[SOCBEN] | 100 | CTRU=CMPA | |
| 101 | CTRD=CMPA | ||
|
| |||
| ETPS[SOCBPRD] | 101 | CTRU=CMPB | |
| 111 | CTRD=CMPB | ||
|
|
ePWM Submodules | 67 |