STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to read code from the device?

Posted on January 20, 2016 at 20:29I tried to read the code, binary data, from a Discovery Card F407 but noticed I can't. I tried ST Link and Keil. What is the problem? Surely this is not the first time some one wants to do this.

LMI2 by Lead
  • 541 Views
  • 3 replies
  • 0 kudos

STM32CubeMX 4.12.0 bad code generated in stm32f4xx_it.c

Posted on January 06, 2016 at 13:58 void NMI_Handler(void) { /* USER CODE BEGIN NonMaskableInt_IRQn 0 */ /* USER CODE END NonMaskableInt_IRQn 0 */ HAL_RCC_NMI_IRQHandler /* USER CODE BEGIN NonMaskableInt_IRQn 1 */ /* USER CODE END NonMaskableInt_IR...

hbarta2 by Associate III
  • 377 Views
  • 2 replies
  • 0 kudos

how to check if global interrupts are enabled

Posted on January 20, 2016 at 16:53Hi all, How can I check if interrupts are enabled (i.e. find out if __enable_irq() or __disable_irq() were previously called)? I use STM32L4 (M4) Thank you #interrupts #arm-cortex-m4

Tim1 & Tim15 in Assembly

Posted on January 20, 2016 at 14:09My application requires to input capture a pulse to trigger TIM1 & TIM15. The trigger pulse is present on both input capture pins and channels. Both timers are to turn on at the same time but have different counts ...

stm32f1 HAL DAC+DMA DMA interrupt does not work

Posted on December 25, 2015 at 21:32 Hello! I'm porting my project from std periph to HAL using Cube to tune HAL. I have a trouble with sound playback on stm32f103ret6 via DAC channel 1 with DMA triggered by TIM6. DMA works well that I can s...

HAL_UART_TxCpltCallback function is not being called

Posted on November 11, 2015 at 10:45 Hello, I set up a uart project from CubeMx for STM32F0308 Disco, Basically I want to send ''test'' strings every 3 seconds via DMA however after I only get a single ''test'' in terminal. HAL_U...

rtursen by Associate II
  • 2030 Views
  • 2 replies
  • 0 kudos

SPI data register (SPI_DR) on STM32CubeMX ?

Posted on January 18, 2016 at 15:30 Guys, Which API should I use for reading the value of SPI data register (SPI_DR) ? How can I differentiate between data from SPI1 and SPI2 ? I tried to port from AVR to STM32CubeMX....

STM32L151Cx: Update firmware using USB.

Posted on January 15, 2016 at 08:33I have been using ST-Link to flash the firmware of STM32L151Cx. Now, I would like to add the feature of flashing the uC using USB. I have checked on the datasheet and knowing that if I set BOOT0 = 1 and BOOT1 = 0 a...

Khoo.B by Associate III
  • 1047 Views
  • 7 replies
  • 0 kudos