STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hi, I am trying to generate sine modulated PWM on STM32F401-Disco board using MATLAB. The desired freq of a sine wave is 50Hz and of the carrier wave is 20kHz. But I am not getting 50Hz freq. Please suggest a solution.

I need sine modulated PWM during +ve half cycle of sine wave and zero output during -ve cycle of sine wave. Desired samples of sine are 200. I have attached the MATLAB simulation circuit snapshot. Problem is that I am getting 5Hz freq.

0690X000009jHLCQA2.png
VSira by Associate II
  • 633 Views
  • 3 replies
  • 0 kudos

Selecting a STM32 MCU

Hi Thank you for having me here! I come from the AVR-Mega community and wondering about selecting a STM32 MCU. I needed more time to process between my input capture and USART and HDLC processing. Which MCU have 4 timers and input/output capture avai...

Donnie B by Associate II
  • 1229 Views
  • 7 replies
  • 0 kudos

STM32f105 double CAN receiv problem

on stm32f105 launched CAN. With the transfer of messages, there were no questions, but there were questions about receiving messages from two CAN.the code is responsible for processing the messagevoid HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeD...

AFoki by Associate
  • 506 Views
  • 2 replies
  • 0 kudos

STM32L475 Setting the RTC to 24 hour mode

I am using a STM32L475 and plan to also use an STM32L451 processor, I am having trouble setting the RTC so that its in 24 hour mode. According to the datasheet setting a 0 to bit 22 of RTC_TR should set it into 24 hour mode but this does not seem to ...

PHedl by Associate
  • 502 Views
  • 1 replies
  • 0 kudos

The procss of using SPI slave with dma

Hi I am fairly new to SPI slave with dma on a microcontroller, I am wondering in firmware what is the process of implementing it? I have set spi1 up as spi slave and assign dma streams to it in the cubeide, but now that it is set up, how is the data ...

This is Horrible experance! It's taken me an hour just to get this far. I can't find anyone to call on this question. The number they have for support is out of service, and any atempt to find a number to call just sends back to the number.

If anyone has a working support number would be a big help.  My Question is on the STM32F411 the data sheets state many of the lines are FT 5 volt t​olerant, other team members don't believe this and want to use level shifters, they believe as many l...

MPoll.961 by Associate II
  • 1090 Views
  • 8 replies
  • 0 kudos

Resolved! strange debugging behaviour

Hi,Im using the System Workbench and a strange behaviour occured to me.When a certain halting point is reached, Im not able to step to the next one. Pressing Resume brings me back to the very same halting point, stepping over aswell. And stepping int...

Anon767 by Associate II
  • 740 Views
  • 3 replies
  • 0 kudos

mbedtls handshake failed 0x7780

Hey,I tried the SSL_Client mbedtls example program for the STM32f7 and I get following error:Handshake failed 0x7780Im trying to connect to a cloudflare server via https. Any ideas what the problem could be?thanks in advance

Anon767 by Associate II
  • 768 Views
  • 1 replies
  • 0 kudos

Connecting 2 16-bit SDRAM as one 32-bit SDRAM

Simple question: is this possible without additional HW logic? I have these two 16-bit SDRAMs and I'd hate to use just one of them or to use them as measly two 16-bit SDRAMs. I think I've browsed through all 3200+pages of reference manual and couldn'...

Slina by Associate III
  • 1161 Views
  • 7 replies
  • 0 kudos