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.
Hi everybody. I need some help with the serial interface. The transmission is giving me no problems, but the reception is hanging my software. In the register S0CON (Serial configuration register) I enable the Baud Rate Generator, select 8 bit asynchronous tramsmission but leave the "Enable Receiver" bit off (because I don't want to receive anything at the moment). Both pins for receive and transmit have bit defined Input, output accordingly. Anyway, when I trasmit there is no problem, but when I turn this "enable receiver" bit on my software hangs. At the beginning I thought it was the Loopback function so I put it away, it was not that, then I thought it was the interrupt function with the trap number so I put this interrupt function as a comment and still crashed. Does anybody have an idea what may be causing the problem? PLEASE HELP! Thanks Ernesto Garcia
I intermixed the platforms (C51 vs C166). Take a look to the Getting Started User's Guide, Using On-Chip Peripherals, Serial Interface.