Thanks Oli, and Michael, sometimes you can't see the forest due to the=20 trees. :) I think I must have been looking for something important like=20 that to be staring me in the face like the examples for the USART on=20 page 198 section 18.2. :( Thanks again, and sorry for all the bandwidth. On 2/21/2011 10:29 AM, Michael Rigby-Jones wrote: > > =20 >> -----Original Message----- >> From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On >> =20 > Behalf > =20 >> Of Olin Lathrop >> Sent: 21 February 2011 14:12 >> To: Microcontroller discussion list - Public. >> Subject: Re: [PIC] IC2 SSPADD value ? >> >> Carl Denk wrote: >> =20 >>> I had looked diligently for a formula prior to posting here, and >>> =20 > found > =20 >>> none. If someone can find one, I would appreciate where it is. My >>> reference is "PIC18F2220/2320/4220/4320 Data Sheet", copywrite 2007. >>> =20 >> I just took a look to see what all the fuss is about. I donwloaded >> =20 > the > =20 >> latest datasheet a few minutes ago, which appears to be the same as >> =20 > what > =20 >> you >> cited (2007, DS39599G). >> >> While section 17.4.7 "Baud Rate" on page 181 doesn't explicitly show a >> formula, it is nonetheless quite clear how the baud rate is generated >> =20 > and > =20 >> therefore what SSPADD value is needed for a particular instruction >> =20 > clock > =20 >> and >> desired baud rate value. >> >> Obviously: >> >> InstructionClock >> BaudRate =3D ---------------- >> SSPADD + 1 >> =20 > > Check out page 166 (SSPCON1 description) and page 168 (section 17.4.2 > "Operation" ). Both contain the formula. Not the most obvious places > to put it, but a text search for "SSPADD" quickly finds them. > > Regards > > Mike > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This e-mail is intended for the person it is addressed to only. The > information contained in it may be confidential and/or protected by > law. If you are not the intended recipient of this message, you must > not make any use of this information, or copy or show it to any > person. Please contact us immediately to tell us that you have > received this e-mail, and return the original to us. Any use, > forwarding, printing or copying of this message is strictly prohibited. > No part of this message can be considered a request for goods or > services. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .