cancel
Showing results for 
Search instead for 
Did you mean: 

SPI CS unable to pull to high initally

StanCosgrove
Associate II

Hi I m using STM32H7 for SPI transmit & receive, the code is working and able to transmit 2 byte successfully as seen from scope, but the inital CS pin was unable to set to high from .ioc. CS = PA4 and set to GPIO output level HIGH and max output speed to Very high, but waveform show low at start and then high to low again... why is this so.  any one can advise how to set CS to high then low initally..

CS not lo.jpg

11 REPLIES 11

Show a scope trace of the NRST and CS signals, triggered by NRST going high.

and what i wrote -> you should set : keep io state enable

did you try ?

If you feel a post has answered your question, please click "Accept as Solution".