Skip to main content
Filter by
Sorted by
Tagged with
3 votes
0 answers
125 views

Unfortunately, I don't have any experience with async programming, so it took me quite some time to get my code running on a Raspberry Pi 5 4GB (with bookworm 2025-05-13 OS) to communicate with one ...
Timo's user avatar
  • 31
1 vote
0 answers
134 views

TX works and prints info in console (I use Putty) but when I send on STM and echo I don't receive anything (and when I write symbols in console they don't appear). Baud rate and other config settings ...
Крафти's user avatar
0 votes
0 answers
37 views

I have been trying to transfer data via the USART2 module through the RX/TX (PA2/PA3) pins. Even though the configs are the same (9600, 8N1), and also the function returns HAL_OK, I still could not ...
Tarık Esen's user avatar
0 votes
1 answer
79 views

Im trying to implement Continuous Recording for systemview over UART on an STM32F103. my application is using FreeRTOS v11. I am able to successfully get data in snapshot mode and view it in ...
Zain Noman's user avatar
0 votes
1 answer
166 views

I have been working on multiple projects of Embedded Linux from last 5 years but there is a small problem when I use UART. I am using STM32MP13F with MYIR board. The UART is connected to half duplex ...
Hamza Mehboob's user avatar
0 votes
0 answers
78 views

I'm tinkering , and trying to get firmware out of my MIFI to study it, and I'm using UART to send fuzzy data to the MIFI, the the beginning I get: [14:32:08] RX 0d 0a 4d 4f 44 45 3a 53 50 49 20 4e 41 ...
Taha Abushhiwa's user avatar
1 vote
0 answers
60 views

I’m trying to talk to an EBYTE E32-900T30S LoRa module from a Raspberry Pi 4 using the Pi’s UART and a small Python wrapper. The module’s AUX pin goes HIGH, but I get no response to AT queries (e.g. ...
Dobrawa Rumszewicz's user avatar
4 votes
1 answer
134 views

I’m following an excellent bare metal tutorial on the Arm Cortex-M4, and I ran into unexpected, somewhat intriguing trouble when trying to properly handle UART interrupts. Setup: Host PC: Linux x86_64,...
user656857's user avatar
0 votes
0 answers
53 views

I am using SIMCOM A7672S module for Websocket communication for OCPP, whilw doing this I need to tx/rx data more than 1500 bytes for few commands but as per documentation of the module the max limit ...
Zeus's user avatar
  • 11
3 votes
1 answer
501 views

I am using an STM32L476 dev board to buffer data that it is receiving serially through the virtual com port, in circular mode. I have decided to use the DMA of the STM32 and perform an echo with UART2,...
S23's user avatar
  • 157
2 votes
1 answer
232 views

I'm trying to read out my DSMR5 electricity meter on an ESP-WROOM-32. I've connected the 3.3v from the ESP to the RTS on the meter, and connected the ground and TXD from the meter to the ground and ...
Martijn Otto's user avatar
0 votes
1 answer
79 views

Microbit code like this: from microbit import * count = 0 def show_count_on_leds(c, brightness): display.clear() for i in range(min(c, 25)): x = i % 5 y = i // 5 ...
Nick's user avatar
  • 301
-2 votes
1 answer
192 views

I've created this Python script to distill the problem down to its most fundamental. This works on Windows against COM3 (my Arduino programmed to return data via serial). Why doesn't this work on ...
DaveFer's user avatar
  • 65
1 vote
0 answers
99 views

I want to make a simple UART transmission / reception from the PIC to hyperterminal in proteus. I will start by showing my code, then state the problem: #include <stdbool.h> #include <...
HellBoy's user avatar
  • 149
0 votes
2 answers
77 views

I'm trying to connect a fingerprint sensor (Adafruit type) to my ESP32 (DOIT ESP32 Devkit V1), but the Serial Monitor remains completely blank, even though I'm using Serial.begin(9600) and printing ...
R T's user avatar
  • 19
1 vote
2 answers
96 views

I'm newish to PIC32 chips. I would like to connect my PIC32 to a RS485 MAX3485. That bit is fine, but what I can't manage to do is receive anything through the UART2 interface. Tx is fine it's just Rx....
Stan's user avatar
  • 15
0 votes
1 answer
104 views

I'm using this specific CO2 sensor: https://www.co2meter.com/products/sprintir6s-100-co2-smart-sensor?variant=43960919195846 for a school project and ultimately I'm trying get it connected to a ...
4everConfused's user avatar
0 votes
0 answers
89 views

I am using an STM32H723 to communicate with a u-blox NEO M9N IC over the UART protocol. I have established communication with the NEO M9N GPS and received accurate positioning data at around 1 Hz. ...
Alexander-Rumer's user avatar
2 votes
2 answers
187 views

I have built a custom yocto image for my BBB and I'm having trouble with the UART. I have two uarts mapped ttyS1 and ttyS4. But for some reason I'm having trouble with ttyS1 timing out writing data, ...
Thomas Snyman's user avatar
0 votes
0 answers
89 views

this is my first post so excuse me if i do something wrong. I try to establish Uart Asynchronous line between two stm32f303k8 .one of them use basic timer to send 8 byte uint buffer every 200 mili-sec ...
יאיר ימין's user avatar
2 votes
1 answer
148 views

I am making software bootloader for my STM32F407, and i managed to successfully write firmware in flash, starting at address 0x08004000 and I want to jump to it so my board can start executing that ...
dinajs's user avatar
  • 118
0 votes
0 answers
43 views

I am currently working on software bootloader implementation and using Python to handle sending data from my PC and receiving acknowledgement signals. Problem that I stumbled upon is that I am getting ...
dinajs's user avatar
  • 118
0 votes
0 answers
211 views

I am sending RS485 signals from a master (STM32 Nucleo board with a Waveshare - CAN RS485 shield) to a slave (custom PCB). The PCB then responds. I am switching the DE pin in the meantime and I can ...
Iarlaith's user avatar
1 vote
3 answers
143 views

Which of the following is better practice (or please suggest better alternatives) when using a global buffer with DMA with UART on an STM32 embedded application (no RTOS): Option 1: When entering the ...
Lunch's user avatar
  • 55
1 vote
1 answer
177 views

I am trying register level programming for STM32F446RE Nucleo-64 board. I want to receive data through UART in circular mode using DMA. I am getting DMA Transfer error interrupt every time I try to ...
Rupesh kadam's user avatar
0 votes
0 answers
34 views

I'm trying to use UART in my MSP-EXP430G2ET dev board that runs on msp430g2553 microcontroller. The UART works fine while debugging with the JTAG but when I close my debug environment and unplug my ...
Yashwanth B's user avatar
1 vote
0 answers
86 views

I'm stuck with establishing communication between LPC43xx MCU and ESP32. I have wiring checked (RX to TX and vice versa) ESP32 to ESP32 and everything is OK, but with LPC I feel that missing some ...
Johannes Hevrøy's user avatar
0 votes
0 answers
65 views

The topic of my work is to build a drone controlled by RPI 5 RC, using ELRS - Crossfire. I have a problem reading data on gpio pins 14, 15, tx/rx. I am using a Radiomaster pocket apparatus, it is ...
Mxtvs's user avatar
  • 23
0 votes
0 answers
65 views

Quick question I'm recovering from breakdown on my RPi 4. Old RPi was scrapped and copying all setup on new RPi. Unfortunatelly setap which use to work now does not respond. I have noticed settings of ...
adamssson's user avatar
1 vote
1 answer
133 views

How do I mock/stub HAL_UART_Receive(&huart5, &temp, 1, BLUETOOTH_RX_TIMEOUT) for the stm32 using the CMock and unity framework?
race_max's user avatar
1 vote
1 answer
64 views

Data reception is locked if data arrives before the STM32 UART reception function is called. I simulated this in the code example given below. I send a data packet and receive an immediate response ...
burke's user avatar
  • 13
0 votes
0 answers
51 views

everyone! I'm trying to make a CO2 sencor and it works well, until its runtime exceeds 999999 milliseconds. My wiring is TXD0->RX, RXD0->TX, GND->GND and V USB->Vin pinout on picture. I ...
Urilobus's user avatar
0 votes
1 answer
256 views

So I am running an esp32-H2 Supermini on Platform IO and I need to use some method from Serial. initially, I had a problem with the monitor where Serial.println() was not working but that was fine as ...
jazzjazzy's user avatar
  • 442
0 votes
2 answers
439 views

well I am using Nucleo Board which is F401RE. Its UART2 has already connected Stlink. Since it is connected to UART2, the print code should have easily worked over USB with the computer, but things ...
mehmet's user avatar
  • 1,630
2 votes
0 answers
223 views

I am new here, first post, so thanks in advance for being gentle with me :) After spending weeks trying to make this work and searching examples/education/forum, i now reach out and hope someone is ...
Magnus Olsen's user avatar
0 votes
0 answers
62 views

I am using pocket beagle with debian 10.3th vserion. I just want to know is there is any dtbo file there to start rs485 in pocket beagle? Like; BBB have “BB-UART4-RS485-00A0.dtbo”, dtbo for pocket ...
prial kanaiya's user avatar
0 votes
1 answer
54 views

I'm confused about how the baud rate 38.4K is calculated in xv6. Here is the UART documentation. void uartinit(void) { // disable interrupts. WriteReg(IER, 0x00); // special mode to set baud ...
Yutong Song's user avatar
0 votes
0 answers
46 views

I'm setting up an SPI (on a dsPIC33CK256MP506) to behave as an synchronous UART (only transmitting as a slave). Since SPI starts to transmit MSB I start with adding a start bit in front, then 8data ...
Max Kielland's user avatar
  • 5,871
1 vote
1 answer
145 views

I'm trying to implement a virtual UART using socat command for send and receive a string that is encrypted using XOR cipher on sending and decrypted while receiving using C program. #include <stdio....
cyberdude's user avatar
1 vote
0 answers
49 views

Hi In my Project my raspberry pi act as a server and whenever the data came from the tcp client it is writing the same data in Serial Uart but when doing write operation in Serial Uart some character ...
Sathish's user avatar
  • 445
0 votes
1 answer
86 views

i have a problem with my new ESP01. I tried using AT commands with the baud rate of 115200, but don't receive OK answer. I also tried to flash it and didn't quite succeed as it's just flashing that ...
Maxymus 989's user avatar
0 votes
0 answers
96 views

I'm currently working on getting my barcode scanner to work using soft-uart library by liyanboy74 on STM32 NUCLEOF446RE. First of all when falling edge on my GPIO pin is detected, GPIO_EXTI_Callback() ...
Marek's user avatar
  • 1
0 votes
0 answers
452 views

I am working on a project with an ESP32 WROOM32 and trying to use two UARTS, we can get the first one to work and output data, but the second one not so much. I am currently trying to compile my code ...
vincent's user avatar
1 vote
0 answers
80 views

Below code, I aim to use printf() by UART protocol on STM32L073V8T microcontroller. PD5 pin is used for USART2_TX function to transmit data on UART. When I open serial monitor, I see no data. #include ...
UgurCinar's user avatar
2 votes
1 answer
143 views

I'm trying to use fgets in esp-idf to read a whole line from UART. The basic reference code is the select example. So far, here my code: #define DLP_RFID2_BUF_SIZE 256 static char buffer[...
Mark's user avatar
  • 5,355
0 votes
0 answers
53 views

I want to take leverage the existing kernel API/module to create packet layer abstraction for user space application to transfer "packets" via UART interface. So, the intention is a kernel ...
konradk's user avatar
  • 193
1 vote
1 answer
147 views

I'm trying to make this little MP3 player (dy-HV20T) work. The module works in autonomous mode, but impossible to communicate with it in UART. Here is the test code: from machine import UART, Pin from ...
joMonk's user avatar
  • 19
1 vote
1 answer
317 views

I'm trying to program an ATmega328P Arduino Uno "bare metal" to print to serial over the USB connection to my computer, however I only see replacement characters (�) being printed, both when ...
Troglobyte's user avatar
0 votes
1 answer
116 views

My Application logs Telegrams via UART from a Bus. For each Telegram I add an Timestamp with DateTime.Now at reception. Now I have the phenomena, that sometimes the next telegrams timestamp is up to ...
user24852915's user avatar
0 votes
1 answer
68 views

I am trying to convert values from 0 to 255 to a single char. I am using chr. But this is somehow converting a number like 255 to a two char string. I add up those values to a string which is then ...
user3719581's user avatar

1
2 3 4 5
39