Go Down

Topic: Can spi MOSI pin be idle low ? (Read 67 times) previous topic - next topic

yang_changwei

When SPI enabled.

The MOSI pin seems to be idle high,
even I send a 0x00 through MOSI, it returns to HIGH.

is there anyway to make it low?

MorganS

GoForSmoke: "What GShield? You never mentioned a shield."

yang_changwei

Hi MorganS,

Thanks, but I am referring the MOSI pin, not the CLK pin.

When SPI peripheral takes over the MOSI pin,
it seems it let it park at High level which I want it to be low.

dlloyd

It seems to be part of the SPI protocol for MOSI, MISO and SS (or CS) to be normally high. Why do you need idle low?


CrossRoads

You should not even be looking at MOSI anyway if your slave Select is not active.

SCK High or Low can be determined by the SPI Mode you are running:
https://www.arduino.cc/en/Reference/SPI
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy