[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-arm
Subject:    i2c - input and output on same pin
From:       "Stephen Graf" <s_graf () telus ! net>
Date:       2017-09-07 15:30:20
Message-ID: 005301d327ee$380cf7b0$a826e710$ () telus ! net
[Download RAW message or body]

I have set up i2c bit banging (bashing) on my Orange Pi one - not without
difficulty,  There are three issues I would like to explore:

- existing drivers, gpioiic

- nanosleep

- input/output on same gpio pin

 

Input and Output on same pin

 

On reading the Allwinner H3 documentation I do not see any settings to allow
a bidirectional i/o pin, something that is required for i2c.

Yet the H3 has built in i2c support, so the hardware must be able to do it.

Openbsd only allows setting the direction of the pin at secure level 0. Why?

 

To make my bit-bashing work I tied two pins together and set one up as input
and one as output.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic