Hello I am trying to send opcode bytes MCBSTM32 to GP22. But as I debug in Keil I observe the the byte to be sent(0x50) is nit being written on the SPI data register in stm32f10x_spi.c. Instead the data register is showing 0xx00FF. I fail to understand why this is happening. Please help. Thanks.