cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401VB - Clock Idle State of SPI Interface does not stay high

michalik
Associate II
Posted on July 24, 2015 at 11:09

Hey guys!

I have an issue with the SPI Interface of the STM32F401VB. To communicate with an ADC from LTC, I need to configure the SCK to stay high during idle time. Unfortunately the clock always starts low, see scope pictures. Where exactly is the problem? Do I need any pull up resistors or something ?

Thanks in advance for your help!

Best regards

David

11 REPLIES 11
michalik
Associate II
Posted on July 24, 2015 at 15:37

Sorry my mistake.. the uC is the master but in receiving mode. so there is only data on the MISO line. Nevertheless, I've already used the pullup resistor and now it's working. Still, thanks a lot for your heldp JW!

Posted on July 24, 2015 at 15:52

> Sorry my mistake.. the uC is the master but in receiving mode. so there is only data on the MISO line.

I see.

I am confused. I've scoped the SPI lines a zillion times and don't remember experiencing hi-Z CLK - never looked deliberately, though, and there might've been enough parasitic capacitance to keep it high between transmissions.

JW