Hi, I am trying to read MPU6050 FIFO data with STM32F103C8T6 after I get an interrupt from MPU6050. All works well at start, but after some time I2C gets stuck with HAL_BUSY state and never recovers from it. Here is my code:void HAL_GPIO_EXTI_Callbac...
I was trying to configure USART on an STM32L476 Discovery board. I know that register level coding is not great but it really works well for what I need to use the board for. I was able to send messages out using the transmit but I'm not able to get ...
I'm working with LPTIM as a Pulse Counter on a STM32L432KC, I have a rain gauge connected to LPTIM1 (PB5) and a anemometer to LPTIM2 (PB1). Both configured on STM32CubeMX as Standalone: counts external clock events and pins assigned as LPTIM?_IN1 usi...
Im using STM32L4 how i2c master with 5 i2c slaves In stm32l1 when using callback i can detect device using : if (hi2c->Devaddress == I2C_ADDRESS1) // slave 1 {}In STm32L4 don't exist hi2c->Devaddress ..Yu can help me .BR.Francesco
I'm using the FMC of a STM32H7 micro to communicate with an LCD, which has timing signals similar to a NOR SRAM. I have the MDMA configured to write 16-bit words out of a buffer to the FMC at the 0x60000000 address (bank 1). The MDMA is configured to...
I migrated to a new self-created PCB with a STM32F746IE. I noticed that if I flash anything, the program works immediately after flashing, but not after power off/on. As a simple example, I created a program with two blinking LEDs. They blink after f...
I'm using STM32H753 eval board as master and STM32G474RE Nucleo board as slave over SPI1 communication. I've created a DFU for LED blink on Nucleo board which works fine if I download it through USB(connected PA11, PA12, 5V and GND) usinf DeFuseDemo ...
Hello,I have a custom PCB with stm32L562 on it. I'm able to put it low power run mode.My consumption is 0.2mA, but if I init ADC the consumption jums to 0.3mA.I've tried to deinit it before going to stop 1 mode but it does not helpHAL_ADC_Stop(&hadc1...
in code : // Bit1 CPOL: Clock polarity // 1: CK to 1 when idle SPI2->CR1 |= 1<<1;in fact clock is Zero when idle .interrupt not work, src: // Bit 7 TXEIE: Tx buffer empty interrupt enable // 0: TXE interrupt masked // 1: TXE int...