cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 SPI PIN SETTING

rezadjadidi
Associate II
Posted on May 29, 2016 at 23:03

HI

I want setting spi peripheral.

IF SCLK POLARITY =1

please guide me MISO and MOSI pins will be PULL UP OR PULL DOWN???

or IF SCLK POLARITY=0

please guide me MISO and MOSI pins will be PULL UP OR  PULL DOWN???

THANKS

#stm32f4-spi-pin-setting
2 REPLIES 2
Posted on May 30, 2016 at 01:32

Clock polarity is unrelated to pull up/down of data pins.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rezadjadidi
Associate II
Posted on May 30, 2016 at 12:16

Hi

in reference manual write:

if sclk polarity=1  sclk pin  setting=pull up

now,MOSI and MISO PIN WILL BE PULL UP  OR  DOWN??

(I CONNECT ADS8329 TI ADC 16 BIT  TO STM32F429 DISCO  BUT SPI PINS CORUUPT. FIRST  CONNECT ADS8329 SUPPLY SO STM32 DISC BOARD SUPPLY.MOSI AND MISO PIN SET TO PULL UP)

thanks