I really like it's simplicity . If I understand correctly: no matter what level is on the 5V side, this will ensure 3.3V-side GPIO level will be always kept below 3.3-0.6 == 2.7 volts (which should be still recognizable as "high" by 3.3V logic). Nice!oga83 wrote: To interface 5v logic, I keep it simple (some would say "quick and dirty") : As 5v-TTL levels are compatible with 3.3v levels, the only need is a voltage protection.
The easiest way to do it is through a resistor with a 1N4148 rectifier tied to 3.3v (in many cases, the rectifier is already embedded in the chip for ESD protection, but it's worth the cost to add it anyway).
AFAIK Samsung SoC GPIOs are generally "push-pull" type (+ the 3rd state, when both transistors are switched off - when GPIO pin is configured as input). To directly interface 3.3V Soc Samsung GPIO pin with Raspberry Pi 3.3V GPIO pin I think I'll still need a resistor between them, for added protection - it may come in handy in case both pins are misconfigured as outputs.. Assuming both sides can withstand (at least) 2mA current draw, I guess such resistor should be in 3.3/0.002 == 1650 ohm range (1K5, 1K8 ?). But 1K8 will be probably to big in case Samsung SoC has internal pull-up/pull-down resistor configured on it's GPIO port input . Aw, what the heck, I'll try to use 330 or 470 ohm and see what happens .
But first I'll need to order some decent soldering iron/soldering station; my trusty (transformer-type) Lutola 6C is really not that much usable for nowadays electronics.