2025-05-07 8:41 AM - edited 2025-05-07 8:44 AM
Hello everyone. I'm currently just learning and getting familiar with microcontrollers. For educational purposes, I would like to set up master-slave communication between two C8T6 boards. The master should send an array of values, which the slave receives and evaluates. If the array matches a predefined pattern, the slave sends a response—also an array of values. The master receives the array and, if it matches the expected pattern, changes the state of an LED. This process should repeat in a loop.
When I connect the power, only the LED turns on and nothing else happens. If I reset the slave (using the button on the board), the communication starts working and the LED begins blinking. I can also get the communication to work by resetting the master, but I usually have to press the reset button several times before it connects properly. The slave always connects correctly after a reset.
If someone could help me figure out what I'm doing wrong, I would really appreciate it. I've been struggling with this for almost a week...
The code is focused purely on SPI polling.
Thank you very much!
Solved! Go to Solution.
2025-05-07 9:03 AM
Welcome @Testik123, to the community!
ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products like your Blue Pill work properly with the firmware we provide.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.
Regards,
/Peter
2025-05-07 9:03 AM
Welcome @Testik123, to the community!
ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products like your Blue Pill work properly with the firmware we provide.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.
Regards,
/Peter