STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_TIM_PWM_Start_DMA triggering with timer

Posted on July 25, 2016 at 23:29Hi,    I am trying to stream a 1024 sample buffer to PWM in timer1 channel1 using circular DMA. But how will I control the speed of streaming from RAM to PWM at 44KHz? I couldn't find any option like triggering option...

SDADC DMA Fills Buffer With 0x7FFF

Posted on July 27, 2016 at 05:06The processor is an STM32F373VCT6. I am software triggering SDADC1 every second using this call each time: HAL_SDADC_InjectedStart_DMA( &hsdadc1, (uint32_t *)SDADC1_Data, SDADC1_Data_Size ); The DMA buffer size has 20...

spflanze by Associate II
  • 327 Views
  • 0 replies
  • 0 kudos

Delay/Wait function

Posted on July 26, 2016 at 17:28I have been using a busy for loop to create my delays, but now I need precision. I want a function that will wait for n microseconds. How should I go about doing this? The Systick timer is not accurate enough (already...

9bit SPI

Posted on October 17, 2011 at 21:30can i but 9 bits in the SPI Tx buffer configured in 8bit mode and have it still clock out all 9 bits???

USB mass storage

Posted on July 25, 2016 at 09:02Hii have configured the mass storage using cubemx,but my code is not working it shows ''format disk to use'' in my system. here i have attached the configuration file can you any help me please.regardsRajesh #sd-as...

rajesh23 by Associate II
  • 357 Views
  • 1 replies
  • 0 kudos

stm32f103 adc dma hangs mcu

Posted on July 26, 2016 at 15:19 Hello, I ran into a problem when trying to configure ADC DMA on STM32F103 microcontroller. I am able to get the data from ADC, however I am unable to get into the main loop of the program. I tried chang...

sarunas by Associate
  • 752 Views
  • 1 replies
  • 0 kudos

STM32Cube_FW_L1_V1.6.0 I2C Error

Posted on July 26, 2016 at 16:58Hello,I am using STM32L151RCT6 for communicating to an I2C slave.With last STM32Cube  release V1.5.0 everything works fine. But with new version I always get HAL_TIMEOUT when I call method HAL_I2C_Master_Transmit() in...

c_dev05 by Associate III
  • 279 Views
  • 0 replies
  • 0 kudos

I2C TxE flag never cleared

Posted on June 29, 2016 at 15:58I am seeing an issue on the STM32F207 where if an I2C transfer fails the TxE bit is never cleared, causing the I2C2_EV_IRQHandler( ) to continuously get invoked and the overall system to hang. I know this isn't a lot ...

bryan1 by Associate II
  • 512 Views
  • 1 replies
  • 0 kudos