Run-time UART Buadrate change
I am working on STM32L462CE MCU and my requirement is to change the baudrate of UART at run-time. So, how I do that?. Can you please give me the solution for this. First set to 9600bps, after 921600 and at last 115200.
Ask questions, find answers, and share insights on STM32 products and their technical features.
I am working on STM32L462CE MCU and my requirement is to change the baudrate of UART at run-time. So, how I do that?. Can you please give me the solution for this. First set to 9600bps, after 921600 and at last 115200.
I want to read internal MCU temperature and battery voltage of STM32L462CE. So, can somebody help to do this?
Hello, I am trying to use a segger jtrace pro debugger with an stm32303E-EVAL board through the ETM trace connector, however I am not seeing a signal on any of the trace pins including the trace clock when running my program. I've ensured I have cont...
I am trying to send data to com port from PC and receive it using interrupt on the MCU. Is there any examples or documentation that I can use as reference?
Documentation simple says the HSE clock failed. What does "fail" define. Does "fail" imply that there are no clock oscillations applied to the HSE pins? Or a frequency below some value that will set the CSSF flag in the RCC_CIR register. What would b...
Hi, I just want to give a short workaround for an issue i had with the NUCLEO F722ZE board. The CUBE-MX project (NUCLEO F722ZE selected - no custom build) does not work out of the box for CDC devices. In order to fix it i changed the default CUBE-MX ...
Consider: The pins are ultimately driving Power Mosfets, wherein the state of the outputs is of significant importance.However, between the time when one changes the MODER register(s) for the appropriate pin(s) to AF and the time when one changes th...
Hello everybody,I wanted to turn 2 LEDs with Timer on / off. The period is 4s and the first LED should be on for 2s and off for 2s. and then the 2nd LED should do the same but not at the same time. But unfortunately I can not do that with a timer and...
The Rev 4 data sheet for the STM32F030R8 lists the pins for SPI1 on both pins 20-23 and 50,55-77. I2C1 on 58-59 and 61-62, andUART1 on 42-43 and 58-59Which is correct, or are they selectable via registers?
HelloI'm trying to use DMA to directly write on GPIO port, and I've attached the code snippet I'm using to do so.But, I'm getting this exception which is stopping the DMA and fails writing data.Any thoughts?Regards.GPIO Init:__HAL_RCC_GPIOD_CLK_ENABL...