Because you didn't post MCVE, are oe_1_pin and oe_2_pin set as output?
And do you have 74HC165 as in your text or 74LS165 as in your schematic? Last isn't 3v3 compatible. Also, I miss decoupling cap's in the circuit.
Because you didn't post MCVE, are oe_1_pin and oe_2_pin set as output?
And do you have 74HC165 as in your text or 74LS165 as in your schematic? Last isn't 3v3 compatible. Also, I miss decoupling cap's in the circuit.