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

/UART of C167 is not generated

Hello,
I am trying to get an interrupt signal from C167 internal UART, which normally should be generated when there is a signal input at RX.
I send out a command MVAR(), which generate TX output signal and jump the pin TX to RX, in order to get RX signal. Then I use oscilloscope to catch at /UART (active low) pin but it's always "high" logic.
That mean even there is RX input to the UART, there is no receive interrupt. Does anyone has idea how can I get it ? I would be very appreciate for your help.

Parents
  • Keil's C166 package normally includes some example programs. Look in Keil\C166\Examples. The one you would be interested in is the Traffic example program. It includes interrupt-driven buffered serial I/O implementation. Note that MVAR is not what is usually used to access SFRs, although it should be possible as well.

    Regards,
    - mike

Reply
  • Keil's C166 package normally includes some example programs. Look in Keil\C166\Examples. The one you would be interested in is the Traffic example program. It includes interrupt-driven buffered serial I/O implementation. Note that MVAR is not what is usually used to access SFRs, although it should be possible as well.

    Regards,
    - mike

Children
No data