STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

5Channel ADC --> DMA triggered by timer to achieve lower sample rates: Do I need to restart DMA or ADC? When does HAL_ADC_ConvCpltCallback get triggered?

Posted on November 01, 2017 at 23:01Need to sample 5 channels at 20Hz.  Would like an interrupt when the DMA buffer is filled (50 samples).  Waiting on boards to arrive and have a few questions:1) Does the ADC or DMA needs restarted after each conve...

eyuan by Associate II
  • 620 Views
  • 4 replies
  • 0 kudos

Why can't I read from SPI Rx buffer?

Posted on November 02, 2017 at 08:52Hey guys!I have an STM32 micro as a Master device, and I am communicating with a slave chip through the SPI interface. It works well, so far I can read from the slave's memory cells, or at least I can see the answ...

STM32F334 HRTIM WITH BAD BEHAVIOR

Posted on November 26, 2015 at 17:56Hi,I'm experiencing a very bad behavior of HRTIM.if output set register is set on Period and output reset register is reset on CMP1.if CMP1 = 0x20, the PWM output is a narrow pulse as expected. but if the CMP1 < 0...

Asantos by Senior
  • 1306 Views
  • 7 replies
  • 0 kudos

CAN2 interrupt not working

Posted on October 26, 2017 at 11:03 Hey guys, I've got some issues with the CAN2 interrupt on the STM32F107 controller, I don't getan interrupt. I'm using CubeMX and a STM32F10C Eval board. First I tried CAN1 an this works fine so far. E...

user 143 by Associate III
  • 1334 Views
  • 5 replies
  • 0 kudos

Unable to erase flash sector in STM32F765VI

Posted on September 18, 2017 at 17:48STM32F765VI on custom board.Atollic TrueStudioSEGGER JLink SWDI am unable to erase a sector of flash in my custom board using an STM32F765VI chip. I am using the HAL function HAL_FLASHEx_Erase(&EraseInitStruct, &...

Resolved! Is it possible to use Timer 3 in input capture mode on channel 1 and output compare mode on channel 3 simultaneously on STM32F103?

Posted on October 27, 2017 at 21:49Hello,I am using STM32CubeMX to configure the STM32F103C8T.  I want to use Timer 3 in two modes at the same time.  I want Timer 3 channel 1 in input capture direct mode and Timer 3 channel 3 in output compare chann...

pgregson1 by Associate III
  • 1426 Views
  • 6 replies
  • 0 kudos

Resolved! ADC with DMA with SW Trigger on L486 MCU

Posted on June 09, 2017 at 12:06I wish to use ADC1 to measure 6 channels and to have the results DMAd into memory.I am using CubeMX V4.21 and I think that I have set the parameters up correctly(See attached screen snip ADC_DMA_1 to 3.PNG)This sequen...

CubeMX 4.22.1 and SD card FatFs problem

Posted on October 25, 2017 at 15:45Hi, I'm currently trying to make SD card work with FatFS on a custom made PCB with STM32F429. I create the init files with CubeMX 4.22.1 and although I set the SD interface to be 4 bits long, I find this code in th...

Illogical EXTI code generation in CubeMX

Posted on November 01, 2017 at 10:50Hi all,I find the code generated by the CubeMX for EXTI line illogical.Every EXTI ISR (e.g. EXTI0_IRQHandler, EXTI1_IRQHandler calls for the same function: HAL_GPIO_EXTI_IRQHandler, which in turn also calls for th...

AC6 Firmware install fails

Posted on October 31, 2017 at 23:25Hi group,I have installed the AC6 Plugins in eclipse oxygen and try to create a test project for F3 Discovery.I've choosen Standard Peripheral Library and pressed 'Download Firmware'.There is something 32 MB downlo...