All Questions
16 questions
1
vote
1
answer
1k
views
STM32F4 USART Receiver Pin Configuring
I am trying to configure STM32F4 USART peripheral. I thought that USART Receiver pin(RX) must be programmed as Alternate function to USART works correctly and then the data is present on the I/O pin ...
-1
votes
2
answers
2k
views
How does one send data through UART from MCU to your PC without any connections on TX/RX pins?
I have been reading up on UART, and I see it works by connecting TX<->RX and RX<->TX of receiver and transmitter. The example I couldn't wrap my head around though is your MCU being able to TX ...
9
votes
2
answers
4k
views
Why can't I successfully send messages over RS232?
So the past week I have been working on getting UART messages sent from a STM32F407 and reading it on my laptop through a ugreen RS232 to USB cable using termite.
I have used STMCube to generate code ...
6
votes
4
answers
34k
views
Is it possible to use ST Link USB for UART Communication?
I am using STM32L1 Series Discovery board and want to do uART communication via same UART port that is Used for Embedded ST Link V2
.
Embedded ST Link uses USART1 of STM32L100CT6 and Mini USB is ...
3
votes
2
answers
10k
views
STM32: UART Interrupt is triggering without any flags getting set
I am using the UART4 module of an STM32F105. I'm using the RXNE ("RX Buffer Not Empty") interrupt to grab data as it comes in. It's working as expected.
When the RXNE interrupt is enabled it also ...
2
votes
3
answers
2k
views
How do I program the STM32F401CCU6?
I am transitioning from Arduino to STM32 development. I just purchased an STM32F401CCU6 board and I cannot get it recognized by my computer. I am running Ubuntu 22.04. I have tried searching ...
1
vote
0
answers
335
views
USART6 STM32F746NG isn't working
I'm having trouble configuring the USART6 in my STM32F746NG. I am setting up the USART6 to enable UART comunication, using the code below to initiate it and also create an echo function.
...
1
vote
1
answer
674
views
STM32 UART: combining interrupt and DMA modes
I am trying to use UART3 of STM32F103K8 to rx data in interrupt mode and tx in DMA mode.
Reception works well, but transmission ...
1
vote
1
answer
3k
views
Exchange serial messages via UART between 3.3V µController and 5V µController concrete (STM32F4 and ATMega 2560)
I would like to send messages from STM32F4Discovery board to Arduino Mega 2560 via UART.
How do I connect the Arduino to the STM32F4Discovery? Do I need any extra electronics? If I understand ...
1
vote
3
answers
12k
views
STM32F031K6 HAL UART Interrupts problem
I got a new STM32F0 31 K6 nucleo board and I need to make a GSM UART interface on that board. I need to send an AT and receive an OK from the GSM board as a first step.I am able to transmit AT ...
0
votes
1
answer
152
views
How should I debug this ARM Cortex M STM32 UART write?
I have a STM32F446RE on a Nucleo F446RE, and I'm trying to learn how to program the UART to write over the Virtual COM Port (connected to USART2).
I'm able to download someone else's code, modify it ...
0
votes
3
answers
2k
views
Sending int16_t or uint32_t data over serial on STM32F103 microcontroller
I designed a device which includes many sensors. These sensors are constantly sending information, every 400 ms, do there are series of data which reach the microcontroller (STM32F103). I want to ...
0
votes
1
answer
582
views
How to configure CDC (VPC) on the STM32 Nucleo F401RE board?
I am trying to establish communication between my host machine (running Ubuntu 22.04) and the STM32 Nucleo F401RE board. I only need to transmit data from the board to the host computer (only single ...
0
votes
1
answer
1k
views
STM32 send from UART3 and receive on UART2
I thought to create a simple test to send and receive a buffer via UART. I succeeded in sending bytes from my PC to the nucleo bord and receiving them in blocking and non-blocking mode. But for some ...
0
votes
1
answer
2k
views
RS485 Tutorial Issue
I have two device ( ISL83485 + STM32), and they connected on RS485 line.
I want to send some UART signal to RS485 line with a tranceiver. I am using ISL83485 tranceiver for this purpose, I am using ...
-1
votes
1
answer
614
views
RS485 receiving data corruption
This was my first topic, RS485 Tutorial Issue. I referenced because of the schematics.
I solved the problem in above topic, I forgot to pin settings for DE and RE pins.
I have a different problem now.
...