I'm using STM32F103RB with I2C to access BMP280. WIth KEIL the program worked well,But with STM32cubeIDE I got the I2C bus busy always. Could anyone tell me what is wrong?The projects files are attched.
Add a line as below in MX_TIM1_Init(void) /* USER CODE BEGIN TIM1_Init 2 */ HAL_TIM_Base_Start_IT(&htim1); HAL_TIM_Base_Start(&htim1); /* USER CODE END TIM1_Init 2 */
Please check if your code have user code as below.In MX_TIM2_Init(void) add the following. /* USER CODE BEGIN TIM2_Init 2 */ LL_TIM_EnableIT_UPDATE(TIM2); /* USER CODE END TIM2_Init 2 */After MX_TIM2_Init() add the following /* USER CODE BEGIN 2 */ L...
From the above, Is it correct that only 35Kbytes of FLASH are being used?YES the program only used FLASH Page 0 up to FLASH Page 17 (total of 36KBytes with 2KByte per page), and that it is safe to use FLASH page 127? YES. The keil only flash your ...