Renesas SH7046 Series Uživatelský manuál Strana 3

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 3
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 2
1 2 3

Komentáře k této Příručce

Žádné komentáře