cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Overrun error is occurring in stm32g030kt6 MCU Slave

Nchun.1
Senior

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";

Nchun1_1-1694073256527.png

kindly help in solving this. i can provide more information on this if it is needed 

1 ACCEPTED SOLUTION

Accepted Solutions

Thank you issue is solved now . typecasting the SPI data register is incorrect

View solution in original post

2 REPLIES 2
Issamos
Lead II

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

Thank you issue is solved now . typecasting the SPI data register is incorrect