flukeco
Junior Member level 1
- Joined
- Apr 25, 2014
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 180
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
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