STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I am using the STM MCU timer for PWM. This PWM signals goes as input to external MOSFET configured as push pull. So I want the timer pin to be in high impedance state during some instance of time and rest of the time give the PWM output signal.

I tried the following functions to make the timer pin high impedance, but nothing works:-          __HAL_TIM_DISABLE(&htim3);          TIM_CCxChannelCmd(&htim3, TIM_CHANNEL_3, TIM_CCx_DISABLE);          __HAL_TIM_MOE_DISABLE(&htim3);I also tried to c...

anu2083 by Associate
  • 784 Views
  • 2 replies
  • 0 kudos

Resolved! I am trying to set up a I2C slave using a STM32F103C8Tx

I used STM32CubeIDE to create the project. The configuration that I used for the i2c is attached. I generated the code and added the following code in the "USER CODE BEGIN 2" section right after the call to MX_I2C_Init(). I made no other changes. uin...

JGaby.1 by Associate III
  • 869 Views
  • 1 replies
  • 0 kudos

Is not posible to use: "<",">" in stm32f0, keil v4?

I´m using this:void definir_polaridades (void){ if (contar_valor_1_hsync<contar_valor_2_hsync){//DEFINIR POLARIDAD DE HSYNCpolaridad_hsync=5;} else {polaridad_hsync=10;} if (contar_valor_1_vsync<contar_valor_2_vsync){//DEFINIR POLARIDAD DE VSYNCpolar...

With a STM32L4, I would like to use one channel of DMA1 to read the ADC and another channel to transfer the buffer from memory to UART. Basically, I would like to have some sort of oscilloscope (for positive values only and below 1 MHz signal).

Which is the best approach to manage the use of DMA and "control" the flow of data? Implementing some interrupt when the buffer is filled? Is it possible to put one channel of the DMA on "hold" while the other has full priority? Or two DMA are requir...

Resolved! STM32L083RBTx unexpected periodic reset

Hi,I can see weird behaviour on my STM32L083RBT6. Do not know where to start - I will try:When I run my app with Window WD - everything works fineWhen I run my app with Window WD disabled - not every start of my app (power on by inserting battery) st...

JJRR by Senior
  • 2416 Views
  • 13 replies
  • 0 kudos

MCP2515 with STM32F429

I am sending spi signals to mcp2515 and tring to take CAN signal out of it. Is there an example that i can look and see what is wrong in my code?

SaidErsoy by Associate II
  • 2273 Views
  • 2 replies
  • 0 kudos

CAN_TypeDef details

Where can I find a document that details out the information of the bits, and how to use them, for the CAN_TypeDef structure?http://stm32.kosyak.info/doc/struct_c_a_n___type_def.htmlI am using an stm32L432, and stm32g0b, but I think the reference is ...

Stm32f103c6 is connected to MCP2515 standalone CAN via SPI. Max clock mentioned is 10 MHz, can I use it with higher clock?

I am using stm32f103c6 micro controller where an external MCP2515 ( standalone CAN) is connected through SPI bus. I am having a single threaded code which is scheduled in a loop with very less time(125 usec, I have other functionality covered in it)....

Resolved! How to define UART RX pin in initialization? Should we define as alternative function push-pull or floating pin? And why?

We are using STM32F103VCT6 in our projects. We are communicating through RS-485. When we initialize RX pin as alternative function push-pull there occurs a voltage drop on RX pin voltage level. We are curious about UART peripheral GPIO diagram. And w...

NArsl.1 by Associate
  • 1170 Views
  • 1 replies
  • 0 kudos