RussellMc wrote: >>> Someone here know where i can find some sample code with the >>> autobauding function enabled? >> >> Yes, most likely someone does. Why do you care? > > Allow me to translate for you :-) It sounds like you are trying more to translate for me than him. If you really want to be in the translations business, then you should have "translated" my message to him instead. It would be something like: "That is a logically incorrect and mildly annoying way to ask a question. I'll therefore answer exactly what you asked so you will hopefully stop and think and realize what you really asked, as apposed to what you most likely had intended to ask. However, since this is your first time here, and to provide some content actually relevant to the PIC tag, I'll indirectly answer your intended question below anyway. Hopefully you'll feel enough like a fool having been caught in front of 2000 people that next time you'l= l directly ask what you really want to know." I thought what I said was rather more succinct and less in your face and most likely effective enough, but alas Russell couldn't let it go at that. > By Olin and of some relevance > > http://www.piclist.com/techref/microchip/autobaud-ol.htm Wow, that's old. I don't know why the URL contains "autobaud", since the mentioned macro computes the baud rate at assembly time, which is then fixe= d at run time. By the way, the much updated version of that macro and many others are available in the file STD.INS.ASPIC, which is part of my PIC development environment described at http://www.embedinc.com/pic. I have never written auto-baud code, so have no particular advice to offer other than the usual READ THE DATASHEET extra carefully. I do remember reading in some of the datasheets of a "autobaud" feature. If I remember right, it provided a linking between the UART and one of the CCP modules to allow capturing of a character period or some part thereof. You then use that information to compute the baud rate. Sorry, I don't remember which PICs those were. Look around the more advanced 18Fs or maybe the 24F/24H/33F. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .