04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 15 STEPPER MOTOR CONTROLLER/DRIVER<br />

Figure 15-3. Format of Compare Control Registers (MCMPCk) (2/2)<br />

DIRk1 DIRk0 Selected output pins<br />

0 0 Quadrant 1: SMk1 (sin +), SMk3 (cos +)<br />

0 1 Quadrant 2: SMk1 (sin +), SMk4 (cos –)<br />

1 0 Quadrant 3: SMk2 (sin –), SMk4 (cos –)<br />

1 1 Quadrant 4: SMk2 (sin –), SMk3 (cos +)<br />

Selects the output pins for the PWM signals.<br />

Bits DIR1 and DIR0 address the quadrant to be activated by sine and cosine. The PWM signal is routed to the<br />

specific pin with respect to the sin/cos of each quadrant.<br />

At the other output pins, the output level is SMVSS.<br />

Remark These bits are only considered if bit AOUT is set to 0.<br />

R01UH0317EJ0004 Rev. 0.04 954<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!