Renesas SH7046 Series Manuel d'utilisateur Page 3

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 3
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 2
RENESAS TECHNICAL UPDATE TN-SH7-A551A/E Date: Apr.28.200 5
Page 2 of 2
3. Measures to Handle Error
The following three measures can be used to handle this error.
3.1 Measure A
The CST bit should not be cleared to 0 when the counter is restarted by setting the CST bit to 1. If the CST bit needs to be
cleared, the CST bit should not be set to 1 after clearing.
3.2 Measure B
To set the CST bit again after clearing, follow the following procedure.
1. Specify the PWM output pin as a general input port by the pin function controller (PFC).
2. Write H'0000 to free-operation addresses of all buffer registers (TBRU, TBRV, and TBRW).
3. After the specified dead time has elapsed, write H'00 to TCNR to clear the CST bit to 0.
4. Set the CST bit to 1 to restart the counter.
3.3 Measure C
To set the CST bit again after clearing, follow the following procedure.
1. Stop the counter by clearing the CST bit in TCNR to 0.
2. Specify the PWM output pin as a general input port by the pin function controller (PFC).
3. Clear bit MSTP14 in the module standby control register 2 (MSTCR2) to 0 to enter the module standby mode. The internal
states of the MMT is initialized.
4. Immediately, set bit MSTP14 to 1 to leave the module standby mode. Again, initialize the MMT and pin functions.
5. Set the CST bit to 1 to restart the counter.
Vue de la page 2
1 2 3

Commentaires sur ces manuels

Pas de commentaire