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.
I need receive data through the uart via interrupts. I am using the philips 89lcp935 which claims to have separate tx and rx interrupts. As soons as I enable the Rx interrupts in whatever mode, I get tx interrupts when I printf(from MAIN) and nothing comes out of the uart as the transmit interrupts are not enabled. If I enable them then I get one character and no more until I manually set TI...where upon I get another character etc.
I was expecting that if I disabled the tx interrupts then printf would work normally, but it doesn't seem to be doing that. Any ideas? Also, with separate tx and rx ints (CIDIS ==1) the debugger never shows and access to the tx interrupt routine that code architect generates. Could it be that the interrupt vector generation isn't supported correctly, or could I just be doing something daft?
Any assistance would be greatly appreciated. Regards
Ian