Electronic – MCU clamping diodes

diodesmicrocontroller

As a simple and cheap way of protecting my MCU against higher than 3.3V logic inputs, can I use for low speed data transfers some resistors on the data lines? In theory, these should act in tandem with the pin diodes inside the MCU to clamp the voltage. But will it work in practice? Logic shifter chips aren't an option due to space and cost constraints.

Best Answer

If the pins have clamp diodes, you need only a series resistor to limit the current. You can see in the application note AN521 from microchip that it connect the pin of the microcontroller directly in the AC.

I have used a voltage divider to connect a PIC to a GPRS module with a speed higher than 19,200 and had no problem.