Posted on September 28, 2017 at 08:43Hello!I am trying to use USART2 + DMA for Rx/Tx. Tx is working OK already.For Rx, I would like to use DMA circular mode.I use followings. STM32L476 nucleo STM32CubeMX, STM32CubeL4 1.9.0.After do workaround PLLM...
Posted on October 19, 2016 at 06:03Hi!Attached stm32f4xx_hal_i2c.c is from stm32cube_fw_f4_v1131.zip. line 657, if((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) && (Size != 0U)) It looks better to be hi2c->XferCount or hi2c->XferSize, than S...
Posted on July 13, 2016 at 04:05Hi, I encountered following. When I set device type as ''ST STM32F401xE'' on EWARM, the project was build successfully. Is the device type should determined everytime? with, STM32CubeMX Version 4.15.1 STM32Cube FW...
Hi,This is a guesswork, internal wakeup?Did you checked WUFI bit in PWR_SR1 register?If it was set, try to clear EIWUL bit (in PWR_CR3).To do it via HAL, call HAL_PWREx_DisableInternalWakeUpLine() .
Posted on April 26, 2018 at 16:04Hi, Kevin.Now, I am confusing.I may misunderstood this thread's top message.If the backup register hold value 0x32F2, RTC may have been running.So, no re-initialization needed?If so, your application will return from...
Posted on April 25, 2018 at 10:31Hi, Imen D.I tried with these. STM32CubeMX 4.25.0 STM32Cube FW_L4 V1.11.0 NUCLEO-L476RGGenerated MX_RTC_Init(void) function in rtc.c is,The problem John Smith said looks alive.------John Smith said----------------...
Posted on October 10, 2017 at 04:42Hi!One solution to eliminate software read DMA1->CNDTR6, is to use DMA interrupt callback every 1 byte receive.If we set following DMA_LENGTH == 2, we can use HAL_UART_RxHalfCpltCallback() or HAL_UART_RxCpltCallbac...
Posted on October 06, 2017 at 08:38Hi!After I posted the above, I have investigated into this problem.It might be caused by conflict between following two peripheral access. DMA1->CNDTR6 read by software. DMA1->CNDTR6 value reload by DMA circu...