All Questions
56
questions
0
votes
2
answers
208
views
UART and RS422 Interfacing
Do I have to connect the Logic side of an RS422 transceiver to a UART on my STM32, or can I connect the logic side to any GPIO on the STM32?
0
votes
2
answers
219
views
STM32 Help receiving serial data sent from python's pyserial
I need some help communicating between python's pyserial and an STM32f030R8 microcontroller. This is for a 2 DOF robot which has a python base GUI. The GUI will send, via serial communication, the ...
0
votes
1
answer
138
views
max3232 disconnection suddenly - problem
Hi I use a Max3232 chip to connect the RS232 between the microcontroller(STM32F103) and an HMI, the problem is that sometimes this connection will be disconnected and no longer work, this may happen ...
0
votes
1
answer
76
views
What is expected error rate and drop rate on ST-Link VCP USART?
What is expected error rate and drop rate on ST-Link VCP USART?
On the Nucleo STM32F446RE, my code reads the USART VCP (of ST-Link) and echoes it back. It uses DMA, FreeRTOS, and FreeRTOS queues (...
0
votes
1
answer
122
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
1
answer
444
views
Convert Arduino Code to STM32 cubeide, [closed]
I giving paramter setting of LoRa module which is [e32 433t20d][https://www.cdebyte.com/products/E32-433T30D] over the Arduino Nano with ebyte [RF setting software][https://www.cdebyte.com/pdf-down....
2
votes
2
answers
166
views
SPI data format for daisy-chained AD5207 digital potentiometer control
I am working on a project using two daisy-chained AD5207 digital potentiometer ICs controlled by the SPI interface of an STM32 micro. I'm following the directions given on P.9 of the AD5207 datasheet, ...
0
votes
0
answers
156
views
How to implement addressable LEDs with clock in/out with STM32
I'm extremely new to embedded programming and have to figure out a way to control this specific RGB strip with an STM32 microcontroller.
Here is the communication protocol.
I don't know how to ...
0
votes
2
answers
5k
views
Send float with Serial Port
I'm trying to send float temperature data from stm32f103c8t6 to qt application. When I try tosee value with Keil I can. But When I try to transmit to App I got some error about convering uint8_t to ...
2
votes
0
answers
306
views
What is the correct speed for serial communication?
I am working with an STM32, more specifically a Nucleo-L476RG development board. I used the I2C ports to build a small virtual com port to broadcast some messages back to my computer.
The code on the ...
1
vote
2
answers
1k
views
FT232RL PCB design
I am working on a PCB board design. I am using an STM32 as processor and an FT232RL as a USB to serial UART interface.
If I make a circuit as in the attached schematic, can I transfer data with USB ...
1
vote
2
answers
756
views
Serial port from PC not reaching the MCU
I'm trying to send some data from the PC to my STM32L432KC Nucleo board using UART.
Transmitting data to the PC works just fine, I'm receiving data through the STLink Virtual COM Port which I can see ...
2
votes
2
answers
7k
views
In STM32, How to check the UART Serial Buffer If They Are Available using HAL Library
I am using STM32F429 in my project which connects to an ATmega2560 thru UART. In arduino, there is a function Serial.Available() to check if the serial buffer is empty or not.
Is there a function in ...
3
votes
1
answer
1k
views
Unable to display UART character data sent from STM32F407G Discovery Board (TX) to Ubuntu(or Raspian) on Rasperry Pi 3 Model B (RX)
Solved. The problem was a bad board & then appending extra "\n" in the output after reading from via "C".
I'm trying to send data via UART from STM32F407G Discovery Board ...
0
votes
2
answers
914
views
STM32 UART send broken frames
I have a NUCLEO-F303RE board and try to send some data by one-wire UART with 57600 baudrate. But frames are sent broken (see images below):
How must to be:
What I get:
I've tried to use different ...