03.08.2013 Views

SENT/SPC Driver for the MPC560xP and MPC564xL Microcontroller ...

SENT/SPC Driver for the MPC560xP and MPC564xL Microcontroller ...

SENT/SPC Driver for the MPC560xP and MPC564xL Microcontroller ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>SENT</strong>/<strong>SPC</strong> software driver <strong>for</strong> <strong>the</strong> <strong>MPC560xP</strong> <strong>and</strong> <strong>MPC564xL</strong><br />

Figure 8 illustrates possible utilization of particular MCU modules by two <strong>SENT</strong>/<strong>SPC</strong> channels,<br />

differentiated by colors (a single eTimer module usage example). It also shows channel control structure<br />

parameters assigned to an appropriate hardware module configuration.<br />

IPBus<br />

(Motor control clock)<br />

...<br />

...<br />

...<br />

...<br />

SRAM<br />

eDMA<br />

SentSpcEtimer<br />

eTimer SentSpcEtimerDma<br />

Primary input clock 6 : 2<br />

Input pin MUX<br />

eTimer channel<br />

secondary input<br />

DMA<br />

6<br />

Output pin MUX<br />

SIUL select<br />

SIUL<br />

In 0<br />

In 1<br />

In 2<br />

In 5<br />

Filter<br />

Filter<br />

Filter<br />

Filter<br />

SentSpcDma<br />

DMA_MUX<br />

O<strong>the</strong>r DMA trigger sources<br />

Channel 0<br />

Channel 1<br />

Channel 2<br />

Channel 5<br />

Figure 8. Example of MCU peripheral utilization (two <strong>SENT</strong>/<strong>SPC</strong> channels)<br />

<strong>SENT</strong>/<strong>SPC</strong> <strong>Driver</strong> <strong>for</strong> <strong>the</strong> <strong>MPC560xP</strong> <strong>and</strong> <strong>MPC564xL</strong> <strong>Microcontroller</strong> Families, Rev. 0<br />

Freescale Semiconductor 13<br />

Out 0<br />

Out 1<br />

Out 2<br />

Out 5<br />

SentSpcInputMux SentSpcEtimerInput SentSpcEtimerOutput SentSpcInputMux<br />

... ... ... ...

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

Saved successfully!

Ooh no, something went wrong!