User Activity

I'm using SMT32F103C8 and I want to comunicate with MPU9250, I do not have any other SPI devices . Only MPU9250.I set 72MHz for SMT32F103C8. here is my initialization and read/write functions.void SPI_init() { RCC->APB2ENR |= RCC_APB2ENR_AFI...
void initI2C() { SET_BIT(GPIOB->CRL, GPIO_CRL_CNF7_1 | GPIO_CRL_CNF6_1 | GPIO_CRL_CNF7_0 | GPIO_CRL_CNF6_0 |\ GPIO_CRL_MODE7_1 | GPIO_CRL_MODE6_1 | GPIO_CRL_MODE7_0 | GPI...
I'm trying to read temperature data in realtime , here is my code#include "stm32f10x.h" #include "LCD.h" #include "MPU_6050.h"   void I2C_init(void); void I2C_write(uint8_t devAddress, uint8_t regAddress, uint8_t data); void I2C_read(uint8_t devAddr...
Kudos from