Questions tagged [uart]

A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

NRF Uart With sim868

I have a problem in the UART communication between NRF52832 and SIM868 module. The problem is the data sent by NRF doesn't be interpreted by SIM868. To see that i did tow tests: First one, I added ...
1
vote
3answers
85 views

How does the UART communication detect the true idle in this case?

When explaining UART communication it is told that the receiver will start sampling the data one start bit after the first falling edge. The falling edge occurs when TX goes from idle state to zero as ...
1
vote
0answers
21 views

UART communication with a Thorlabs chip

I am trying to configure a Thorlabs temperature driver (MTD415TE), using a UART-USB connection. For this, I am using a Foca v2.2 with a FT232R USB-UART cable. I am using serial terminals such as ...
0
votes
1answer
29 views

Handling cyclic and acyclic UART messages

I'm looking into designing an IO-Link slave on page 35 of the IO-Link spec they mention Communication Channels. I have received an IO-Link device stack from TEConcept (ST/STM IO-Link partner), I ...
8
votes
4answers
1k views

Why do baud rates need to be same in asynchronous communication?

As far as I know, TX and RX pins operate independently. On the other hand, experimentally I get garbage reading if the baud rates of a lets say MCU and a PC are different. Is there a way to explain ...
0
votes
0answers
29 views

ADC conversion using PIC18

Simple code written for PIC18F24k40 as below. I could able get ADC analog output But when converted to time range selection above 4.15V and below 5 v i used to get display value as negative. i ...
0
votes
1answer
46 views

Break at address “0xfffa” with no debug information available, or outside of program code

I am trying to learn about UART communication with my MSP430FR6989 microcontroller from TI (link), and that is a link for the User Guide (link) The idea of my mini project is to connect the MSP430 <...
0
votes
1answer
19 views

ATSAM4E UART1 interrupt not working

I am working on ATSAM4E8C on custom board. The uart0 and its interrupt is working fine but while on uart1 I faced an strange issue. The uart1 is sending the data but interrupt handler is not calling ...
0
votes
0answers
27 views

Pro Mini wireless programming with auto start (reset)

After a long play, I made this adapter to be able to program a Pro Mini wireless via BlueTooth. The long play wasn't the adapter but the settings of the BlueTooth module (baudrate is fixed and need to ...
0
votes
0answers
51 views

Custom CAN-FD PCB - what to watch out for?

I'm designing a PCB which will communicate with a vehicle through CAN-FD at up to 2 Mbit/s. The connection to the vehicle is made though ordinary twisted-paid CAN wire (around 2m) to a Mini Universal ...
23
votes
3answers
4k views

UART signal is “rounded”

I am trying to debug a UART driver for the STM32F405. It does not work above a certain baud rate (about 50 kBd). I connected it to a logic analyzer with analog capability, and I saw that the signal is ...
0
votes
1answer
81 views

Problems with UART in ATmega

I've been programming my atmega 328p to automate my coffe machine. The timer is set using the bluetooth module HC-06, or by a set of configuration buttons that I'm gonna develop yet (the full code is ...
0
votes
1answer
47 views

Noisy RS485 signal with MAX13487E and Raspberry Pi

I am trying to use the MAX13487E RS485 transreceiver with a Raspberry Pi 3 B+. I chose this chip specifically because it does not require a RTS signal, which is complicated to setup on the PI. My ...
0
votes
0answers
16 views

How to enter shutdown mode with low power mode enabled on RN4871 BLE module?

I want to use the Microchip RN4871 BLE module for a future project. It implements a low power mode that disables the internal 16MHz oscillator which in turn disables the UART interface for ...
2
votes
2answers
120 views

Hardware/software needed to decode Differential Manchester?

I have a differential manchester encoded 0 to 5v data stream at 62500bps. What hardware do I need to get this into something I can work with, ie arduino, pi, etc? I have searched for chips/eval ...
0
votes
1answer
48 views

Unknown characters in the serial monitor

I am trying to sniff the UART communication line of a commercial BLDC controller. The UART port connects to the Bluetooth module and the Bluetooth module connects to an Android App. I am able to get ...
0
votes
1answer
56 views

What Is The Correct Way To Recombine A Split Serial Signal?

I am trying to replace the lamp and ballast assembly in an Acer P1500 DLP projector. The ballast is an OSRAM PT-VIP-05 COMPACT. It features a UART control scheme that allows the motherboard to query ...
0
votes
1answer
54 views

Simplex UART echo implementation on ATtiny

I'm currently trying to implement a simple UART echo application on the ATtiny85, with no additional pins other than RX/TX (no autoflow control). I'm using the Universal Serial Interface of the ...
2
votes
2answers
71 views

Getting started with AVR programming concepts

I am trying to get started with programming the AVR. I have chosen to use Atmega328P (which is in my Arduino Uno). When I did web search regarding the initial steps for learning the AVR programming, I ...
2
votes
2answers
50 views

Mux UART with 74xx Multiplexer

I have a legacy LPC MCU with 2 UARTs only. One of these UARTs is reserved for different functions such as IAP and RS232. So basically, I have one UART available only. For an experimental project I ...
0
votes
1answer
47 views

ICL3232 and SN75C3232 difference

I'm using ICL3232EIV-16Z-T in one of my projects for UART communication. As per the datasheet, the max speed is 500Kbps. But I've tested this IC for baud rate up to 921600 and there is no data loss. ...
0
votes
0answers
25 views

What does “Power Off OOL” AT command mean for a Bluetooth module?

I am reading the datasheet for the OVC3860 Bluetooth module and one of the AT commands is 4.50 Power Off OOL #VX. The description from page 21 of the datasheet is below. [] What does OOL mean in ...
0
votes
1answer
13 views

Flashing LPC1769 with FlashMagic

I'm encountering problems flashing my LPCxpresso1769 with FlashMagic. I had previously been able to get it to work using a USB to UART lead (TTL-234X-3V3) and powering the device externally (i.e. ...
1
vote
1answer
43 views

How to Receive STM32 UART echo command using HAL libraries?

I am using a STM32L Discovery board (monted device STM32L476xx), for a transmit and receive UART operation using HAL libraries. I am using a FTDI chip for serial to usb conversion as I am unable to ...
0
votes
1answer
32 views

Cannot initialize LPUART1 in STM32CubeIDE on b-l072z-lrwan1?

I was having a problem about initializing the LPUART1 on b-l072z-lrwan1 using the built-in CubeMX code generation in STM32CubeIDE. The problem was when I started debugging, the code seemed to run ...
0
votes
0answers
42 views

Problem with SPI communication to TDC-GP30 Ultrasonic Flow converter

I'm working in TDC-GP30 an Ultrasonic Flow converter chip. Which can be directly hooked up with ultrasonic transducers to get digital output. But the problem is according to the datasheet the chip can ...
0
votes
1answer
52 views

received data through UART showing on 7 segment display using ATmega16

I am writing code for Atmega16 for receiving data from another PCB through UART. I want to display the data on a 7-segment 4-digit display, but when code for UART and 7-segment is enabled the data is ...
-2
votes
1answer
78 views

A question about UART communication [closed]

Are there predefined keywords/codes that when sent from a pic to a computer running windows (UART) can elicit certain actions (like show a special pattern or open a picture on the screen) on the ...
0
votes
0answers
23 views

Cypress FM4 Registers Ports Channels

I've bought a Pioneer Cypress FM4 board. The documentation for FM4 is overwhelming. I've read the manual but could not find the answers: Can someone explain what is the relationship among ports ...
0
votes
0answers
29 views

Issue regarding TX line of Arduino while communicating with Vending machine via MDB Protocol over USART

I am trying to communicate with a Vending machine using MDB Protocol with the help of Arduino Mega and I am partially successful in doing so. The circuit that I am using is attached here While the ...
0
votes
1answer
46 views

STM DMA won't continuously transmit on UART line

I am using an STM32L4R5 board and am trying to configure the DMA on the UART2 line. I have managed to get the RX line to operate how I want, but when I follow "Transmission Using DMA" in section 44.5....
0
votes
0answers
22 views

Sending Out Incoming SPI Data Through UART- PICMX250128B

I am trying to send out data(via UART) I receive from a 24-bit external ADC chip(via SPI), the ADC notifies the PIC 32 when data is ready so I am using an external interrupt handler(EXT INT). The ADC (...
0
votes
1answer
110 views

UART not fast enough for debug purpose, what alternatives exist?

This problem is related with debugging an FPGA design implemented in Intel/Altera FPGA. A custom debug mechanism has been introduced into the design. This new part of the design writes into a FIFO ...
0
votes
1answer
39 views

STM8 USART question

I am trying to set up UART on a STM8L controller, and I have a code which works only on PC3. But I want to transmit on PA2, but I don't know why is it not working like this. I don't even initialize ...
0
votes
1answer
69 views

Is shared ground necessary?

I ask this mainly for curiosity and am not trying to make shortcuts for real projects. I have a couple of devices (mcu development boards) that connect to each other using various communication ...
0
votes
1answer
46 views

STM8L151 UART software [closed]

I am new in STM programming and I want to do a simple UART communication but I don't know where to start.Can somebody send a tutorial for stm8l or a full code would be better so I can examine it. Thx....
1
vote
1answer
66 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
1answer
29 views

Need help finding pin layout diagram for GSM module (SIM800c RPi development board)

I'm having a bit of a conundrum. I bought a SIM800c development board off of ebay but the pins are not labeled at all and I have no idea which pins Rx and Tx are. I really want to hook it up to my COM ...
0
votes
1answer
97 views

Removing delay in UART communication layer

I'm writing to a UART Device. So I'm doing the following: I'm transmitting the message as follows: ...
0
votes
0answers
34 views

Identifying type of serial connection interface

I am having an FPC1020A fingerprint sensor which according to its specifications offers an UART and an USB interface. The images below show both interfaces: As you can see in the second picture the ...
0
votes
1answer
44 views

USB to UART Bridge IC question

I have a few basic doubts regarding this USB to UART bridge IC My questions are just from the hardware perspective. I have little to no software knowledge. So please bear with me and help me ...
0
votes
2answers
62 views

TOSLINK UART, limited to 9600 baud. Need ideas for improving speed/stability

I've built a UART transceiver with a FC684205R and FC684205T pair. Both use TTL logic levels and I thought it would be a straight forward case of [optic lit = logic high]. However this wasn't the ...
3
votes
2answers
310 views

Reading interrupt safe ring buffer

I have a piece of code here that was generated by Atmel START Wizard. It setups a UART and it also creates a ring buffer for reading data. This is the code that reads data from the buffer: ...
0
votes
1answer
61 views

Configuring UART TX and RX pins to accept CAN TX and RX signals

The microprocessor I'm using, the BeagleBone Black, has an option to send CAN messages to/from it through the UART Tx and Rx pins. I'm not sure, though, if this is a 1:1 translation (i.e. the UART TX ...
0
votes
0answers
47 views

UART communication not working without injecting voltage in pin headers

I have a bluetooth module (rn4020) talking via UART to a stm32f103c8t6 MCU in a custom PCB, I also have an OLED screen and some pin headers for listening what either module receives (as seen in the ...
0
votes
0answers
27 views

SIM868 breakout board does not accept GNSS/GPS AT commands

I bought SIM868 breakout board with GNSS support. https://www.aliexpress.com/item/33013782111.html However, I can’t get coordinates using standard at-command AT+CGNSPWR=1, AT+CGNSTST=1, etc. I get “+...
4
votes
3answers
397 views

Approach for receiving unknown length of data

I'm using STM32F407 and I would like to receive unknown length of data. My current approach uses a fixed known size to receive the data from UART5. How do I change it to receive unknown length of ...
0
votes
0answers
60 views

STM32F0 UART Receive and Transmit Simultaneously

I am struggling to establish uart communication between 2 stm32f0 properly. Either To Transmit data from one to another or Receiving are not a problem. I am sending data from first device and I can ...
0
votes
1answer
75 views

HAL Recieve data only when I transmit data again

I'm using STM32F407 discovery board with a GSM Module. When I'm transmitting and on receiving data, I get zero data, but on the next transfer, I see that the data that I have to receive is filled out....
0
votes
0answers
29 views

Does CP2102N-QFN24 has native support for Android 8.0 or above?

I want to use CP2102N-QFN24 USB to UART chip with Android phones having API 26 and above. Does this chip has native support for Android phones with API 26 and above or need to download/install some-...

1 2 3 4 5 22