Sorry because I'm forget to tell what microcontroller I use. I use STM32 so it's 3.3V logic. I will use this schematic for 3.7v ~ 4.2v (from lipo battery) to -1v ~ -10v. I have try to use Buck topology using all parts with different schematic and it's work, using 3.3v logic on OD and IN pin. but need to level shifting for inverting buck-boost topology. I don't have any suggestion for what part that I can use.
I'm on project to make Inverting Buck-Boost converter that digitally controlled using microcontroller by using feedback on ADC and send duty cycle with specific frequency on PWM pin.
I'm using ADP3110A for driving the mosfet, in the datasheet is available the schematic of Buck topology (Figure 4). I'm using microcontroller to enable/disable converter via OD pin (pin 3) and send PWM via IN pin (pin 2). As I know it will need level shifting to match reference ground.
Anyone can help me, what the best schematic for level shifting on OD and IN pin so I can use microcontroller to enable/disable and driving PWM to ADP3110A?