uint8_t I2C_ADDRESS = 0x00;I2C_HandleTypeDef hi2c1;int main(void){HAL_StatusTypeDef status = HAL_ERROR; uint8_t buf[3] = {0,};uint32_t temp_data_a; uint32_t temp_data_o; __IO float T; __IO float To;while (1){ HAL_I2C_Mem_Read(&hi2c1, 0x00, 0x06, I2C...
I am using stm32f303re nucleo board, I apply a voltage of 3.3 volts directly to the adc2_in2 analog pin of the stm32f303 microcontroller. My adc resolution rate is 12 bits and the value I read is around 3975. this causes me to get wrong results, why ...
I am working with an STM32F429 in a project and I am seeing random BusFaults in random code locations, very infrequently but obviously problematic. I traced one earlier to this instruction ldr r4, [r2, #12].You'll see from the screen capture attached...
HelloTIM1 Capture Compare interrupt of STM32U575 - fails to count pulses of a temperature sensors connected to its channels. We use few temperature sensors of the same kind: LMT01 of TI(https://www.ti.com/lit/ds/symlink/lmt01.pdf?ts=1683467074947&ref...
Hi I am using STM32F407 discovery board. Trying to receive string with USART2 interrupt in this video.Here is my usart2 receive and interrupt codes:uint8_t receiveUart(void) { uint8_t rxData = 0; // IF THERE IS DATA IN THE RECEIVE DATA REGISTER...
Hello,I am working on STM32G474. I want to operate PWM using GPIO. Below code works find for me. but the issue is that after triggering PWM to stop (only output will be stopped and counter remains working), the PWM of timer 1 takes almost 1.2 seconds...
I work on STM32G0B0. This picture is correct from reference manual?For BANK1 appears to be correct, but for BANK2, numbering starts from 256 to 383 which I guess id wrong. Shall be 128...255.Asking because also FLAHSH->CR, PNB appears to be wrong too...