Reply by H. Peter Anvin●December 26, 20082008-12-26
Razal wrote:
> 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 <------------------------------ MISO ( 5 V )
> CLOCK 3.3V ------------------------------> CLCOK( 5 V )
> PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
> PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
> PORT 3.3V <------------------------------ SIGNAL ( 5 V )
> PORT 3.3V <------------------------------ SIGNAL ( 5 V )
>
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 by linnix●December 12, 20082008-12-12
On Dec 12, 8:55 am, "Hot Jock" <HotJ...@gmail.com> wrote:
> On 12/12/2008 Razal wrote:
> > 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 <------------------------------ MISO ( 5 V )
> > CLOCK 3.3V ------------------------------> CLCOK( 5 V )
> > PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
> > PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
> > PORT 3.3V <------------------------------ SIGNAL ( 5 V )
> > PORT 3.3V <------------------------------ SIGNAL ( 5 V )
>
> > Please Help me out to Solve this.
> > Thanks
>
> http://www.maxim-ic.com/appnotes.cfm/an_pk/1159
>
> 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 <------------------------------ MISO ( 5 V )
> CLOCK 3.3V ------------------------------> CLCOK( 5 V )
> PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
> PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
> PORT 3.3V <------------------------------ SIGNAL ( 5 V )
> PORT 3.3V <------------------------------ SIGNAL ( 5 V )
>
> Please Help me out to Solve this.
> Thanks
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 <------------------------------ MISO ( 5 V )
CLOCK 3.3V ------------------------------> CLCOK( 5 V )
PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
PORT 3.3V ------------------------------> CONTROL PIN 1 ( 5 V )
PORT 3.3V <------------------------------ SIGNAL ( 5 V )
PORT 3.3V <------------------------------ SIGNAL ( 5 V )
Please Help me out to Solve this.
Thanks