CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Can PIC18F26K40 (28 pin device) support 2 UARTS

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
DaveMorris



Joined: 13 Oct 2003
Posts: 7
Location: Stourbridge, England

View user's profile Send private message Visit poster's website

Can PIC18F26K40 (28 pin device) support 2 UARTS
PostPosted: Thu Jul 03, 2025 10:08 am     Reply with quote

Hi
Can someone please confirm if the 18F26K40 support 2 UART - The data sheet is a little confusing as it suggest its supports two EUSARTs but in the pin allocation table for the 28 pin devices it only shows TX1 , RX1 etc and no reference to TX2 or RX1 - Unless obviously I am miss reading the tables


Thanks in advance

Dave
dyeatman



Joined: 06 Sep 2003
Posts: 1958
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Jul 03, 2025 1:10 pm     Reply with quote

It looks like to me you have to PPS assign TX2 and RX2 somewhere to
use them since they don't show in the pin map. They are both defined
in the header file and chip editor so I would try it to see what happens.
Be sure to turn of any other function on the pins you select..that's
bitten me a couple of times.
_________________
Google and Forum Search are some of your best tools!!!!
temtronic



Joined: 01 Jul 2010
Posts: 9500
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Jul 03, 2025 2:43 pm     Reply with quote

from the data sheet(took a bit...)...
The RXx/DTx and TXx/CKx input pins are selected with the RXxPPS and TXxPPS registers,
respectively. TXx, CKx, and DTx output pins are selected with each pin’s RxyPPS register.
....

dang nab 'new chip' to me , has PPS !
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group