2023-09-07 12:56 AM
I programmed stm32G030kt6 controller as slave .it need to send requesting packets to master . what is happening is alternative packet is getting skipped from my buffer as shown in below image .
uint8_t tx_buffer[41] = "\x29"
"\x3F\x4F\x5F\x6F\xFF\xFF\xFF\xFF\xFF\xFF"
"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF";
kindly help in solving this. i can provide more information on this if it is needed
Solved! Go to Solution.
2023-09-07 02:00 AM - edited 2023-09-08 03:59 AM
Thank you issue is solved now . typecasting the SPI data register is incorrect
2023-09-07 01:01 AM
Hello @Nchun.1
It's always better to add information such as your code, the firmwares you are using ( with their versions),...
Best regards.
II
2023-09-07 02:00 AM - edited 2023-09-08 03:59 AM
Thank you issue is solved now . typecasting the SPI data register is incorrect