> > Hi, > I'm working on a project using a 16c84-10 for serial (rs-232) interface. > I'm trying to use AN-555 as a shell but am not having much luck. The main > problem I'm running into is that the code was written for a 16c71 using rtcc, > which the 84 apparently doesn't have. Microchip changed terminology a couple of years ago. RTCC is now TMR0 on all products. AN555 was written before the change and hasn't been updated. Of course both the 16c84 and the 16c71 have TMR0. > Does anybody know a good method for > using the 84 for this or a similar application? > Or has anybody converted this application note for use on a 84? >I'm shooting for 96, n, 1, with handshake. 9600? right? Should be no problem. One of my students had 16C84's talking fine at 19200 BPS using TMR0 for delays. The one thing we figured out is that it worked best if TMR0 is just allowed to free run especially at the higher baud rates. Resetting the timer introduces jitter. > At this point I can use any four I\O pins. Any help will be appreciated as I > am somewhat pressed for time. Good luck, BAJ