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

Example: EX_EXPIO.c
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19982

View user's profile Send private message

PostPosted: Wed Nov 12, 2025 8:46 am     Reply with quote

Yes. The point is that with my approach, the first byte will be the
first bit from the chain from each chip. Makes the organisation very logical.
JAM2014



Joined: 24 Apr 2014
Posts: 143

View user's profile Send private message

PostPosted: Wed Nov 12, 2025 12:58 pm     Reply with quote

Hi All,

A couple of things. This equipment transmits the 384 bits at 9600 baud at a maximum repetition rate of every 2 seconds. As I previously mentioned, this has been working like this for 30+ years. In recent years, we have been putting an FTDI based serial-to-USB converter chip in these instruments, and that works great, but there are a number of EOL devices in this design that prompts the new work. Trust me, the 'can has been kicked down the road' for about 2 decades already, and now it's time to act! This update will have to be done in stages as the new control circuitry has to support the old 74LS165 wiring because of repairs to existing units as well as to support current inventories of PCB's. Later, the 74LS165 chains will be simplified to eliminate the 'non-data' bits that are currently required to form a complaint RS-232 transmission.

Thanks,

Jack
temtronic



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

View user's profile Send private message

PostPosted: Wed Nov 12, 2025 1:52 pm     Reply with quote

food for thought.....
Any chance you can piggyback a new,improved 'daughter' PCB onto the current ones ?
One that connects to the '165 data inputs and the RS-232 output, bypassing 'all the rest' ?
I was down a similar road 4 decades ago (prePIC), did the mother/daughter PCBs as a quick,cheap 'bandaid' that gave me time to totally redo the main board.

Whatever path you take, use the biggest PIC the the family ! My goto PIC is still the 18F46K22, 40 pins, LOTS of I/O,memory,speed 3/5 operation. Some think smaller PICs are fine( aka lower cost) , until they need 2 more I/O pins, or just 240 bytes of memory.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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