I'm trying to communicate between the STM32F107VC (master mode) and a TDC GP22 slave chip but came across this issue:I'm expecting to read 0x12 but i always get 0xFF, plese help me my email: amiryal.me@gmail.com
gp22_send_1byte(Power_On_Reset); HAL_Delay(1); gp22_wr_config_reg(0x81, reg_test); HAL_Delay(1); //gp22_send_1byte(init); HAL_SPI_Transmit(&hspi3, &tx, 1, 1); //send tx=0xb5 opcode HAL_Delay(1); ...