Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

(38D5) Why H output when I want to output L from P65/TXOUT1 if switch from IGBT?

Latest Updated:09/29/2006

Question:

(Timer)   Why is "H" sometimes output even though the user wants to output "L" from the P65/TXOUT1 pin when switching from IGBT output mode to general-purpose port output? [2006/09/29]

Answer:

Cause: Because the port latch value has been changed to "1".
Example: When executing the read-modify-write instruction in byte units with SEB or CLB, etc. of port P6 while IGBT output is "H", output data "H" is read and the port latch value is changed to "1".
Countermeasures: use the following procedure to switch the timer X output 1 selection bit.
1. Stop timer X (IGBT output (TXOUT1) is "L").
2. Write "0" to the P65 port latch.
3. Set the timer X output 1 selection bit to "0" (I/O port).
The above also applies to the P63/TXOUT2 pin. (#104966)
Suitable Products
38D5