This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A question about UV3 debug.

When c8051f02x 's I/O ports is configured to opendrain ,can see the outputting value in the peripherals I/O_ports when debugging?

Parents
  • I'm not sure what device erik is talking about but on my uv3 ver 7.50a and SiLabs driver SiC8051F_uv2 ver 1.6, I can see the PORTs toggle in the peripherals dialog window in simulation mode. I do not have an -020 target board but I tried the same on an -005 target and I can see the PORTs toggle in the OD configuration.
    One thing very confusing about SiLabs driver is they consider Open Drain as an INPUT and Totem-pole as an OUTPUT. This totally defeats Keil's Port/Pin definitions in the peripherals dialog. If you attempt to externally toggle a PIN on Totem Pole defined pin, the driver will complain that you have tried to change an output pin.
    Don't try to get info from SiLbs Tech support. They don't know an open drain from a flying kite.

Reply
  • I'm not sure what device erik is talking about but on my uv3 ver 7.50a and SiLabs driver SiC8051F_uv2 ver 1.6, I can see the PORTs toggle in the peripherals dialog window in simulation mode. I do not have an -020 target board but I tried the same on an -005 target and I can see the PORTs toggle in the OD configuration.
    One thing very confusing about SiLabs driver is they consider Open Drain as an INPUT and Totem-pole as an OUTPUT. This totally defeats Keil's Port/Pin definitions in the peripherals dialog. If you attempt to externally toggle a PIN on Totem Pole defined pin, the driver will complain that you have tried to change an output pin.
    Don't try to get info from SiLbs Tech support. They don't know an open drain from a flying kite.

Children