User Activity

I am trying to use the HAL driver - HAL_I2C_MEM_READ(....)The stm32 is the master and there is a slave i2c device that I want to read from.  The I2C transaction goes like this: <start> <dev address> <register that I want to read address> <start> <dev...
Here's my code:SPI_HandleTypeDef spi_handle = { .Instance = DEF_SPI_INS_SPI1, .Init = { .Direction = SPI_DIRECTION_2LINES, .BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2, .CLKPh...