Hi,normally i use HAL_SPI_Transmit HAL_GPIO_WritePin(Port, Pin, GPIO_PIN_RESET); HAL_SPI_Transmit(...) HAL_GPIO_WritePin(Port, Pin, GPIO_PIN_SET);Is it possible to use it like following; HAL_GPIO_WritePin(Port, Pin, GPIO_PIN_RESET); HAL_SP...
Hi everyone,I am trying to transmit multiple bytes via SPI.I could read the data through spi, so connections should be ok.Does anyone have idea what can be the reason, that I can not write data to the register of the slave?int writetospi(uint16 heade...
Hi Everyone, I am trying to read temperature value from MPU6050 sensor. I could not read it. I tried to read WHO_AM_I signal, I could'nt read it as well. Value should be 114 but i am getting 5. Does anyone has any idea what to check, how to fix? I am...
Thank you for your answer Jack,I am trying to write a register and read from it. I tried to write single byte, it did not work too. Is hal_spi_transmit() used correctly? Is parameter wrong or can it be used in serie, one hal_spi_transmit after anothe...