Why do I get DMA1->LISR FIFO error when I use direct mode with double buffer mode
DMA1_Stream0->FCR = 0DMA configured to work in double buffer direct mode.And I get FEIF0 error interrupt flag?
Ask questions, find answers, and share insights on STM32 products and their technical features.
DMA1_Stream0->FCR = 0DMA configured to work in double buffer direct mode.And I get FEIF0 error interrupt flag?
I made NRF24L01 module using STM32L432. I supplied 3.3V to MCU and NRF24L01. So, I checked USART communication from STM32L432 to PC. But I failed checking SPI to NRF24L01.Below, Problems I have, If I supply 3.3V to MCU(Actually whole module), GPIO Ou...
Hi,I am trying to use either TIM13 or TIM14 but the ISR never get trigger.My questions areWhy the ISR routine never trigger? Is there anything else need be set?how to control the timer? what's the prescaler, period mean? If I want setup the timer tri...
Posted on March 19, 2018 at 10:24The __HAL_LOCK macro is defined as in stm32f1xx_hal_def.h#define __HAL_LOCK(__HANDLE__) \ do{ \ if((__HANDLE__)->Lock == HAL_LOCKED) \ { \ return HAL_BUSY; \ } \ else \ { \ (__HANDLE__)->Lock = HAL_LOCKED; \ } \ }whi...
Dear Member,I want to get a peak value from ADC,How can I get it on the code ?Loop and array ?Any references ?Kind regards,A
Platform: STM32F429 Discovery KitI have created a simple project using Keil, to toggle GPIOs. The self generated code sets the clock at 168MHz. When I look at the timing for the SysTick_Handler call, it is 3ms instead of the 1ms that I expected. Why...
Hi team,i need your help, i use STM32L011F4 controller ,This controller consuming 2mA current in sleep mode, as per datasheet it consumes only a less than 0.5mA current in sleep mode, i can use only a I2C and RTC peripheral with 16MHz frequency.......
Hi allI am new learner for use the STLink V2 programmer.I'm detect the error "cannot connect to the target" unable program to my MCU.I use my JTAG 20 pins connector and use few pin NRST,VCC,GND,SWDIO,SWCLK connect to my UUT connector .And also power ...
Hello,I would like to send a uint32_t size array via HAL_SPI_Transmit / HAL_SPI_Transmit_DMA but both are limited to 16 bit size. I have tried casting as HAL_SPI_Transmit(&hspi1,Array,(uint16_t)65537),10000)but this doesn't work.I have also tried edi...
How do I import a Cube project? I once managed to set up a project where I am able to write firmware for the stm32f746g-disco board using the tutorial https://www.carminenoviello.com/2015/07/13/started-stm32f746g-disco/ Even after the instructions I ...