STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Delay function using timers - LED blinks too fast

void delay_setup(void) { rcc_periph_clock_enable(RCC_TIM6); timer_set_prescaler(TIM6, rcc_apb1_frequency / 1000000 - 1); timer_set_period(TIM6, 0xffff); timer_one_shot_mode(TIM6); }   void delay_us(uint32_t us) { TIM_ARR(TIM6) = us; TIM_EGR(TIM...

BSerb by Associate II
  • 531 Views
  • 1 replies
  • 0 kudos

Resolved! SPI slave 1 bit shift after power on

Hi, I'm working with a STM32F446ZET6. In this case, I configured my SPI as slave, and I use the HAL_SPI_TransmitReceive function.The problem is that when the slave shoud respond with the value 0x11, I receive 0x22 on the master side.I have checked th...

Saredo by Associate III
  • 739 Views
  • 5 replies
  • 0 kudos

Resolved! P-NUCLEO-IHM002 doesn't run

I have a brand new P-NUCLEO-IHM002 out of box. I configured it according to the instruction. however, when power up, D11 on IHM07M1 is not light at all. when i push the blue button, no response. LD3 on Nucleo-F302R8 is on, LD1 is flashing. Can you he...

SLi.11 by Associate II
  • 526 Views
  • 3 replies
  • 0 kudos

I just realized workshop is at 8:30 AM CET time. I live in the USA; with time difference of T-8 hours (to USA MDT) time is 00:30 AM. I bought the Evaluation Nucle-H7 board required already, is there a way to record the workshop/webinar video?

I would be more than willing to participate regardless of time, but due to health reasons I can't stay up all night. I really need the workshop to get up to speed on the STM32H7 for a project I am working on. Thanks!

Cmart.21 by Associate
  • 312 Views
  • 1 replies
  • 0 kudos

Recover from Hard fault after executing dynamic code.

I have developed a dynamic loader that works in an STM32 (cortex-m4) microcontroller. Basically, the base firmware is in charge of writing new dynamic code into flash, and executing it. It works as expected. but I am trying to make the execution of t...

VC.1 by Associate II
  • 1076 Views
  • 4 replies
  • 0 kudos

Controlling WS2812B LEDs with VLDISCOVERY (F100)

Hello,I am in the process of writing some code to drive WS2812B Leds with PWM via DMA. Unfortunately there are usually three pulses too much.Does anyone have an idea what this could be. Attached are a few excerpts from my program code. Thanksmain.cin...

PeterM1 by Associate
  • 328 Views
  • 0 replies
  • 0 kudos