Return to KLUBNL.PL main page

[Top] [All Lists]

LF: Fast Serial Interfacing with PICs

To: [email protected], [email protected]
Subject: LF: Fast Serial Interfacing with PICs
From: Andy Talbot <[email protected]>
Date: Thu, 7 Apr 2016 11:09:42 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=G59PPSfvTQ6PEEwpM/nIrW9exha6KkFfER+krzE/3VI=; b=hQ1sEN5TbL59MR7MfsyLTSZKDuF1ZB2oY6cvkzEz39pNbayEYY6keVohsOHtoocNrW gWJEwuDOCaucNWWN1PjHpRlnwBipfLYUx4QQT19xheC1aF4yP2KegbDMqayssAk8/qyB /ch7sjL2l/QI+Er6wYKbBJgjYVkXT5Mr+pTAT036G5v2BKzMHsf5KYsnFGVJxx/upm8K FqkKoNpCtZgfBSZkq9kYusok07Tj/YJVusDM9P5Elwbs3+s/03UsLqn+vpXdgJk25o6+ OH36Uv2IBIrQnAubLA/mK7XyqTxP4m1NXxQmGCdSStK5vQNQp1pb2Amvi+V64fFIiK3K jkjg==
Reply-to: [email protected]
Sender: [email protected]
I know the subject is nothing to do with LF, but I didn't keep the original thread...

A few months ago someone on one of these two LF reflectors pointed me at the Enhanced USART in the 16F688 and later PIC devices, saying how the baud rate could be set as high as Fosc / 4. So getting 3M Baud with a 12MHz Xtal for compatibility with FTDI chip COM ports at thier highest setting.

Who was it and have you managed to do this?   I finally got round to testing a 16F688 at 3Meg   and am getting some funny results that mean sometimes the PIC's EUSART sends the right data, and sometimes it gets itself tied up in knots, sending one character several times

It is not a programming error either, as the code works perfectly at lower baud rates, by just changing the divider.   The nature of the problem looks and feels like something inherent to the internals of the chip 

Andy  G4JNT

<Prev in Thread] Current Thread [Next in Thread>