Ask questions, find answers, and share insights on STM32 products and their technical features.
I'm trying to create a Synchronous communication using a timer and GPIO.I can toggle a pin-up to 1Mhz inside the main function, but if I try to toggle gpio inside the timer interrupt handler, the max toggle speed is around 300khz. Is there a reason f...
Hi,coudl someone paste simple code to send some bytes between I2C1 and I2C2 on one board?Prefer HAL. I try this: uint8_t data = 69; uint8_t data2 = 0; HAL_I2C_Master_Transmit(&hi2c1, 32, &data, 1, HAL_MAX_DELAY); HAL_I2C_Slave_Receive(&hi2c2, &data2,...
Hello!I have my ADC DMA setup so that Timer 1 will trigger a conversion with a specific frequency. Both DMA continuous requests and Continuous conversions are disabled. DMA is set to Normal mode.When the buffer is full and HAL_ADC_ConvCpltCallback is...
Hi!We are working on a remote FW update feature, where we receive the FW binary from another MCU via UART4 in chunks. The process starts with erasing a region in flash bank 2 (page 256 - 406). Then it receives the FW image in 2K chunks, CRC checks th...
When I try to read unique device ID register (96 bits) byte by byte I get a hardfault. I can however read it in word by word.In the reference manual is specified :"The 96-bit unique device identifier can also be read in single bytes/half-words/words ...
Unless I'm missing something, I don't see a HT flag documented in the STM32L0X0 reference manual in the USART_ISR register. I see the TC, idle, etc. flags. So how is that interrupt getting triggered (because I have verified it does get triggered)? ED...
HiI would like to use the sub second information available in the rtc registers. Can some one give an exemple on how to use it correctly with HAL?BRGilberto