3.3V Microcontroller 5V Device

Hello...

I am using the Cortex M3 ARM Controller STM 32, And my device to be interfaced is a 5V logic which is having an SPI and needs a signal which is 1Mhz

I can make a 1Mhz signal in controller using PWM and it is having an SPI Hardware but both out put is 3.3V but the PINs of STM32 is 5V tollerable.

so the output from the device can be directly connected or with a resistor in it.

But my problem in i want to connect the following pins

STM32 DEVICE

PORT 3.3V ------------------------------> NSS1 ( 5 V ) PORT 3.3V ------------------------------> NSS2 ( 5 V ) MISO 3.3V ------------------------------> MOSI ( 5 V ) M0SI 3.3V CLCOK( 5 V ) PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V ) PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V ) PORT 3.3V

Reply to
Razal
Loading thread data ...

formatting link

--
The Force is dark on one side, light on the other and holds the world
together.
 Click to see the full signature
Reply to
Hot Jock

formatting link

is cheaper at $0.17

vs.

formatting link

at $1.38

Reply to
linnix

If the pins on the device are TTL-compatible, you should be able to drive them directly from the 3.3 V output. 3.3 V was chosen precisely so that it could drive a 5 V TTL input (TTL has a weaker HIGH drive than LOW drive.) However, if your device *isn't* TTL-compatible (usually called something like "CMOS only") then you do need a level shifter.

-hpa

Reply to
H. Peter Anvin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.