We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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