Hi.
I'm having a very hard time trying to get my CAN system to work properly.
I have successfully made the firmware for the Host (STM32) and for the device (STM8S). And when I connect only one device to the host, the system works fine, and they can communicate as programmed. I've probed the CAN signals (CANH & CANL) too, and they are as they should be - high when no data is transmitted, and data signal when transmitting.
But when I connect another device to the CAN-bus, both CAN signals are driven low, and they are kept low even when transmitting. Therefor no data is recieved on either device!
I have remembered the 120ohm termination resistor, so that can't be the problem. Both devices is running as they should, though I'm not sure if there is a firmware setting, need to be set, if there is going to be more than just one device.
Do you know if there can be any "firmware"-related setting for this in general (doesn't have to be for STM32 or STM8S)?
I really hope someone can point me in the right direction. Thank you
Best Regards
Thomas Jespersen