2019-10-24 04:54 AM
Hi all,
I have a STM32F091CC and am using SPI2 on PortB, Pin 13-15.
I configure polarity=0 and phase=0, but the trace in logic analyzer and
oszi shows that the clock is idle high.
I have already tried pullup, pulldown and nopull at CS pin, but with no
effect. Checked the register after SPI transfer as well, both bits are 0.
The same code works on a stm32f103RG. The transfer is done manually
by interrupt.
Has anyone an idea? Could this be a bug?
Thanks in advance, best regards,
Andreas
2019-10-24 05:18 AM
Post a minimum but complete compilable code which exhibits the problem.
JW