MOSFET level shifter isn't working as expected.

I’ve seen many people use MOSFET level shifters. I’m using 2x i2c components in my project, so I thought why not use the bss138ps(2x FET array)with some resistors to make a level shifter?

Can someone double check my diagram? It’s such a simple circuit. I tried it with down to 4.7k pullups. Double checked 3.3v and 5v. VCC is actually 5v from a regulator. Thanks!


I think it is okay.

Your BSS138PS drawing is very confusing. I think the connections are okay, but the drawing has the pins in order : 1,2,3,6,5,4.