AnsweredAssumed Answered

STM32F4 Discovery SPI problem

Question asked by khorvongkarn.prach on Jul 7, 2014
Latest reply on Jul 7, 2014 by francescato.diego
Hi,

I've successfully implement SPI communication between STM32F4 Discovery (as master) and PIC18F2580 (as slave). Everything works fine, clock signal is sent from STM32F4, MOSI and MISO data are correct.

However, when I tried the opposite configuration (PIC18F2580 as master and STM32F4 as slave), no clock signal is sent from PIC's SCK pin (SCK always at high, I confirmed this using logic analyzer).

What do you guys think could be the source of this problem?
Does the CPU speed has effect on this (PIC has slower CPU speed than STM32F4 board)?

Any suggestions will be highly appreciated.

Best Regards,
Pat

Outcomes