6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 2:14 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Nov 02, 2024 1:56 pm 
Offline

Joined: Tue Feb 07, 2023 12:27 pm
Posts: 49
I want to connect an STM32 based system to an AppleII, 74LS bus. I'm thinking of using logic converters, but since the STM32 is tolerant to 5V I/O, I wonder if connecting its outputs directly to the TTL bus wouldn't be problematic. While the STM32 inputs should work well with TTL outputs, what problems might occur when driving TTL inputs? Or would it be better to use logic converters to drive TTL inputs straight away?


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 02, 2024 2:10 pm 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 988
Location: Potsdam, DE
Be cautious and read the data sheet carefully - not _all_ of the STM32s I/O is 5v tolerant (annoyingly, you might find one out of the sixteen pins on a port isn't). I have an idea also that it varies by family, too.

In general, driving from 5v TTL (0 = < 0.8v; 1 = > 2.4v) will give you logic levels without worry for a 3v3 (5v tolerant) CMOS input: 0 < 1.65v; 1 > 1.65v. From a 5v CMOS, again you should have no worries since it wants to drive rail-to-rail so should be clear of the cross-over point.

Going the other way, the 3v3 CMOS of the STM32 will drive rail-to-rail so either 5v CMOS or 5v TTL parts can be driven without issue. However, you may need to be aware of the output's drive speed selection - the lower speeds can be affected by temperature so they rise and fall more slowly, and therefore later, than you expect. Probably not an issue, but bit me in a synchronous sampling system.

Neil


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 06, 2024 5:40 pm 
Offline

Joined: Tue Feb 07, 2023 12:27 pm
Posts: 49
Thank you for your answer. I will try to design a printed plate without buffering and check it. :shock:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 41 guests


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 post attachments in this forum

Search for:
Jump to: