STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USART1 RX_DMA issue in FreeRTOS U5A5ZJQ

Hello,I have tried to set up USART1 Receive in DMA mode and with FreeRTOS. RX is GPDMA channel 0, Circular mode, Destination increment address on, burst size 16 bytes, priority Medium. Source increment off, burst 1 byte.USART1 : 115200 baudrate, 8 bi...

Metyus by Associate II
  • 335 Views
  • 1 replies
  • 0 kudos

Resolved! scanf() can only read one character

I am trying to use scanf() in STM32H743, referring a webpage (here). More specifically, after setting up USART1 in STM32CubeMX, I add some function prototypes like:   #ifdef __GNUC__ #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) #define GETCHAR_...

Resolved! STM32F103RB TIM6, TIM7 not defined in CMSIS

Hello,STM32F103RB microcontrollers.Why do TIM6 and TIM7 timers and its registers not define in CMSIS in stm32f103xb.h file (see Figure 1 below)?Figure 1Therefore, it is impossible to use this TIM6->ARR = 0x0001; instruction and similar to this instru...

Mykola_Levun_0-1724834558276.png

Resolved! How can I get adc value in main statement?

I am using 5 adc values (emg[5]) and can get the value of them. I want to use these values in the main statement, so I assigned it.However I can't get the value. It's always zero.  (good[0] = emg[0])  Can I know what's the matter of this,,? Thanks fo...

lee_daeun_0-1724738352736.png lee_daeun_2-1724738424817.png lee_daeun_1-1724738390885.png lee_daeun_3-1724738449569.png
lee_daeun by Associate II
  • 1193 Views
  • 8 replies
  • 9 kudos

Manage RTS/CTS in VCP mode

Posted on February 11, 2015 at 15:24 Hello, Can someone tell me if it is possible to manage RTS/CTS signals over USB in VCP mode please ? It seems that the CDC example can receive commands, but what should I do to set these signals in ...

fabien by Associate II
  • 1236 Views
  • 9 replies
  • 7 kudos

Resolved! UART serial communication on STM32 Nucleo C031C6

I am still a beginner in STMicroelectronics programming. I am trying to do UART serial communication on STM32 Nucleo C031C6. USART2 seemed to be disabled on CubeMx while trying to configure the pins so I used USART1. I am using RealTerm as my serial ...

SAW by Associate II
  • 813 Views
  • 1 replies
  • 1 kudos

Resolved! TIM6 APB1 prescaler

Hello,STM32F103RB microcontroller.The Figure1 (see attached image) shows clock tree of STM32F103RB microcontroller. Before TIM6CLK, there is a block, which is highlighted in red rectangle. What's IF (APB1 PRESCALER  = 1) x1 ELSE x2 label in this red ...