Logic level converters are HARD. You basically need to rebuild internal structure of GPIO external to the MCU. It needs to support high speed, high current, input or output, open-drain/open-collector, customizable resistor pull-up/down.... All external to the MCU.