2024-11-21 04:45 AM - last edited on 2024-11-21 05:01 AM by SofLit
I have setup my NUCLEO-446RE as my transmitter and it works fine, But i am not able to read any data at the Receiver i.e. the blue pill.
Main things i noted are:
-> The MISO pin in any stm32F4 MCU has a function of "Alternate Function push pull" with maximum o/p speed being "very high" whereas in the stm32F1 MCU, it is "Input mode" with no ability to produce an o/p.
-> If i use my Blue pill as Tx and NUCLEO as Rx it works all fine. This happens because the Tx uses only MOSI pin to transmit which is "Alternate Function push pull" even in an stm32F1 MCU.
Is there any fix to this or should i just use another stm32F4 MCU for the receiver.
2024-11-21 05:35 AM
If you need a straightforward solution without significant modifications, you can use another compatible STM32F4 MCU for the receiver.
2024-11-22 10:35 PM
Did you select the edge an idle level properly? heck if the NSS is configured correctly. I have used stm32F103C8t6 as SPI master and it works properly.