I am using S12ZVL 32 pin LQFP for my project. The MCU has only one HVI input. I need additional 2 in digital mode. I used the HVI style circuit with a resistor divider of 56K and 100K to ground (with cap across 100K for filtering) on pins PAD2 and PAD3. I am also enabling the internal pull up as need, wake-up from sleep mode also. Functionally there I found no problem.
I found the voltage of 5.8V on the I/O for voltages up to 20V input.
Are there any diodes to Vdd and ground on the I/Os?
Is this recommended?