TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2019-11-23 12:30:00
subject: Re: One I2C bus, two prog

Jan,

> Different tasks to the same i2c interface from user space
> is not possible in a multitasker.

Ofcourse it is.   The only question is: how.

Though chances are the serializer for it is already present in the OS, and
we do not need to do anything special.

> But you can make your own i2c interfaces on _any_ pins with some diodes

Did you know that, as long as you can switch a pin from in to output, you do
not even need diodes for that ?

Just write a Zero to the pin and switch it from input to output and back.
That way you mimic a open-collector pull-down pin. :-)

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.