SPI problem between STM32F103C6 and Arduino NANO

Hi,

I'm trying to communicate an STM32F103c6 as master and a NANO as slave via SPI, my program works fine until I comment a Serial.print line in the SPI interrupt routine at the slave program.

Any help is welcomed

M-2.ino (1.39 KB)

S-2.ino (1003 Bytes)

You need to post your code correctly using code tags so it can be read .

You can’t put print messages in interrupt routines