Questions tagged [serial]

In serial communication data is transmitted as a sequence in time. Main advantage: much less wires needed. Main disadvantage: Higher bandwidth for the same throughput.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Reading incoming serial Frame of bytes using arduino uno [on hold]

I have two Arduino uno communicate between each other using Serial, Arduino 1: Send data frame in baud-rate 19200, Example :it send byte ...
2
votes
1answer
24 views

SDLC Frame Check Sequence details

In the Synchronous Data Link Control (SDLC) protocol, the frame contains a "frame-check-sequence" (a CRC). The protocol contains a number of other implementation details, such as NRZI encoding, and ...
0
votes
1answer
44 views

The SERDES/transceiver design inside the Ethernet MAC controller

I'm a little confused about the "SERDES" interface between MAC and PHY chip, and I drew some figures to illustrate the connections which confuse me as shown below. The MAC controllers in 3 figures are ...
0
votes
1answer
32 views

4-bit memory serial to parallel memory register circuit question

I am building a 4-bit serial to parallel memory register and I feel like so far I have gotten things right, but I'm unsure of where to connect the CLR connections. Could someone have a look at my ...
0
votes
1answer
35 views

RS232 Serial Console: Do we receive serial packets at serial pin out from CPU even we don't have the console cable connected?

What if I don't have the serial cable connected to the serial port, still I receive serial packets from CPU? (lets say console output is enabled in Software) Will those packets got terminated (...
0
votes
0answers
23 views

Determining the Directionality of Communication when Reverse-Engineering an Unknown One-Wire Interface

I have an automatic digital control system that collects information from a sensor, but with an unknown and proprietary one-wire host-device protocol, both sides are driven by a microcontroller. I'd ...
0
votes
0answers
76 views

Scrambled Data on a RS232 port

I currently face a problem of scrambled data on one of our RS232 connections to a serial terminal and would like to request some help, if possible. Sent: Received: First of all some information ...
0
votes
4answers
125 views

Is there a data transfer limit for virtual serial ports

I want to record 5/10 seconds of audio using an electret microphone and an STM32 nucleo development board and send it to my computer in real-time to be processed. I'm a beginner so I'm sure I'm making ...
1
vote
2answers
59 views

Can I2C protocol employ differential signalling for a longer distance?

As far as I understand some serial protocols use RS485/422 differential signalling to be immune to noise for long distances. We also know that differential signalling is about voltage levels and ...
5
votes
2answers
822 views

Is the SCK line in I2C unidirectional or bidirectional?

I've always considered SCK to be a unidirectional line since the master generates/transmits the clock signal and the slaves "see" the generated pulses. I have found many sources that agree with this ...
0
votes
1answer
139 views

How does a microcontroller development board use USB cable to transmit serial data?

I'm trying to understand every section of the journey of data from a microphone via a microcontroller to a pc terminal. I realize now after reading about serial data transfer that real-time audio ...
0
votes
4answers
161 views

RS232 Voltage Level Boosting

I have a piece of old instrument circa 1988 that uses +-12V in its serial port. According to the manual, DTR pin (Data Terminal Ready) must be held at +8V in order for the instrument to recognize that ...
1
vote
1answer
29 views

Confusion with serial communication standards when sending sync serial data to a PC thorugh its serial port

When I read about SSI communication I can see that a pair is used for clock and another pair is used for data transmission as follows: On the other hand if I read about RS422 all lines are data and ...
0
votes
1answer
135 views

How can I possibly get a 9600Hz square wave, for a serial baud rate?

I'm trying to create parallel to RS-232 serial converter using standard logic (serial transmitter only, no serial receive functionality). To get the clock signal my idea was to get a 7.3728MHz ...
0
votes
1answer
34 views

Is there a way to direct the data to a particular port for this scenario?

There is a PC program which reads ASCII data from serial port in real time and processes it. The thing is I'm not able to change the code. The program reads the incoming data where one can only set ...
5
votes
3answers
2k views

RX vs TX operation in Software UART

I am short of 1 UART in my MCU. I needed 4 but so far what I have found suitable is an MCU that has 3 UARTs in it, STM32F103. So the 4th one I will have to implement in SW. Each of my individual ...
2
votes
3answers
89 views

How to find an MCU with specific characteristics? [closed]

I am trying to find an MCU in which there are some specific requirements for I/O peripherals (such as UARTs, SPI, I2C, etc). I also want to be able to search by the footprint size. Should I go to each ...
0
votes
0answers
18 views

Segmented LCD Driver HT1622/HT1621 interface type unclear

I've been leaning working on using and interfacing a microcontroller with an HT1622 + a custom segmented LCD. IMO the datasheet of the IC is very small and left me confused ; is the interface SPI ? ...
0
votes
0answers
56 views

Trouble connecting to temperature controller using MODBUS,RS485 and MATLAB

I am trying to communicate with a temperaturature controller ATR-401 using MATLAB but i am having trouble just connecting to it and reading temperature data.I have set baud rate, data bits, parity and ...
0
votes
3answers
58 views

Determining when a serial connection is opened

I have a PIC24FJ MCU with an FT232RL USB to UART controller. My design has end users opening a serial connection to my MCU to set parameters and get debug information. My question is: How can I tell ...
0
votes
0answers
62 views

Make MIDI messages and audio signal transit in the same jack cable

I know it's a crazy (bad) idea, but still: I hate having many cables attached to a music instrument when I move in the room. Let's take the example of a Akai MPC500 sampler: it is battery powered (so ...
1
vote
1answer
67 views

Can I use a ST-LINK V2 as a universal JTAG or TTL serial interface?

I have a ST Link V2 as pictured below. I would like to use it as a general purpose JTAG and or Serial TTL USB interface for communicating with a wide variety of devices. The documentation claims it ...
0
votes
0answers
41 views

Using a BeagleBone board as a serial terminal server

I am trying to use a BeagleBone Green Wireless board as a serial terminal server. That is, connect USB-UART cables to the USB ports to control other serial devices when I log into it over the ...
0
votes
0answers
25 views

issues with serial printing with broken stlink using arduino ide for nucleo f411re

I am using stm32 nucleo f411re for a project. I have separated the stlink from the board, and I am using arduino ide extension in vscode to program the nucleo f411re. The issue is I am not receiving ...
0
votes
0answers
20 views

Does anyone know connection points for Speakercraft MZC-64 3.5mm (TRRS) to DB9 transfer cable?

I am looking for Speaker craft MZC-64 transfer cable, 3.5mm (4conductor)plug to DB9 serial adapter, for firmware upgrade and programming MZC 64 through EZ tools. I am unable to find it online. Does ...
0
votes
2answers
145 views

Read 8 serial ports at the same time with an Attiny

I'm building a MIDI merger, based on a Attiny (either 84 or 85). How to read multiple serial ports at the same time (for example 8 RX inputs)? I can't find the blog article anymore, but I think I ...
0
votes
1answer
72 views

STM32: Interrupt latency for serial protocol implementation

I am implementing a synchronous serial interface (SDLC) using an STM32. My original implementation for the RX side is running on a ARM7 which uses the FIQ to set an interrupt on the clock line, in ...
2
votes
1answer
106 views

STM32: SPI hardware to implement custom serial interface

I want to implement SDLC communication on an STM32 (assume I can pick any one up to M7) using the existing HW in it. SDLC is a full duplex synchronous serial interface. In my case, it uses ...
0
votes
2answers
85 views

Can I use a deserializer without a matching serializer?

I am trying to connect an LVDS output to an 18-bit parallel input. Ser/des ICs like this all state on their datasheets (like on page 12 of the linked datasheet) that before they are able to function ...
0
votes
0answers
40 views

Two-way communication between esp32s

I am planning a circuit that requires two-way communication between one esp32 and 3 others. I want to use a master/slave architecture as shown here: They need to be able to communicated via hardware, ...
0
votes
1answer
63 views

Do UART RX interrupts require support from the transmitter?

I'm trying to understand why I am seeing RX interrupts when tying RX to TX of my SAMR34 but not when I connect it to the transmitting device. The transmitting device notes the following restrictions: ...
1
vote
0answers
51 views

Serial.println using Registers in ATMEGA328P

I have worked with ATMEGA328P using Arduino libraries, but new to actual register level coding. To start with that, I have written code for basic Serial.print in ...
0
votes
2answers
126 views

UART read consistently missing half of the transmitted bytes

I have setup a simple UART test on my SAML21 and believe I must be misusing the library due to the behavior I'm seeing ...
0
votes
2answers
50 views

RS422 Receiver Not Reporting Errors When Too Few Stop Bits

I am interfacing with a device (the transmitter) which configures its serial settings to 8 data bits, no parity, 1 stop bit at a baud rate of 115200. These are known values and fixed values I can't ...
1
vote
2answers
65 views

Simulate Shift Register on AVR (Configurable Logic/Timers?)

Recently I set up two MCUs (ATtiny1616) to perform basic serial communication using shift registers I made myself. simulate this circuit – Schematic created using CircuitLab Here is the logic ...
2
votes
1answer
92 views

Complete synchronous USART implementation [closed]

I've been studying about USARTs and I haven't seen a consensus on synchronous USART implementation among MCU producers. First of all, there are transmit and receiver clock lines on some serial ...
3
votes
3answers
147 views

How far can 3.3V UART go at 38400 baud?

I'm developing a set of boards that will all be listening to a single 3.3V 38400 baud UART (single TX device, my boards all listen to this line, no "RX" line). They are designed such that there are ...
8
votes
2answers
407 views

Can an SPI slave start a transmission in full-duplex mode?

As far as I know, SPI transmission for an SPI slave works like below: Master selects a slave using SS pin Master and slave send data to each other simultaneously Master starts clock and data ...
1
vote
1answer
82 views

How to decipher hex code for time data on an older serial port device

I’m using an old Draeger PAC III sensor to measure gas concentrations, with the goal of remotely transmitting the data via Arduino. Accordingly, I cannot use the proprietary software to output the ...
0
votes
0answers
44 views

Writing Flash Memory Serially

I am looking into writing data onto some Flash memory serially, the requirement is to replace the old parallel programmer with a serial based programmer example Cheetah SPI Host Adapter. The Flash ...
0
votes
2answers
58 views

What are some good replacement ICs for DIP UARTs? [closed]

Recently, I have been developing an SBC based on the Zilog Z80 microprocessor. Since my first design, a serial connection has been essential for the board to communicate with a PC or terminal. For ...
0
votes
2answers
58 views

Can heavy processes running in background cause lag in arduino's serial port communication with a computer?

I have a Ubuntu 16.04 machine talking to a Uno board. This arduino board is sending 100 chars of line at baud rate of 115200 as fast as possible. Usually I get a line every 7ms to 10 ms (I am going to ...
0
votes
1answer
58 views

How to do Bidirectional multiplex switch signal over two wires?

I'm trying to remote control the doors in my stand-alone garage over two wires. There's three operate switches in the house, and three SPDT position switches on the doors. I think I want to end up ...
0
votes
1answer
61 views

Will SN74HC245N transceiver support TTL RX when blocked?

I'm actually designing a system with: ~10 "Master" boards that transmit data from slaves boards to a RS485 network 4 "Slave" boards per master one, connected trough a 3 pin jack (5V, GND and half-...
1
vote
1answer
74 views

What type of printer port is this?

I just got a currency discriminator (Carnation CR1500) that can be connected to a receipt printer. There is a modular jack on the back of the machine, but I don't know what kind of cable it needs. It ...
0
votes
2answers
332 views

RS-232 to I2C communication [closed]

I'm trying to establish communication between two boards, one of which has an RS232 output and the other with an I2C input. I've looked for adapters online and the only ones I've found seem to be ...
0
votes
1answer
60 views

Comparing MAX3232 vs MAX232 for line length

Which parameter in the datasheets of the line drivers MAX3232 and MAX232 can tell about the maximum length of the line for their correct operation if all else is same for the two circuits, that is ...
1
vote
0answers
32 views

PCBA Upgrade help - best route for processor upgrade

I have a PCBA currently which: Runs a Linux Kernel Communicates through 4 RS232 serial poets Communicates through Ethernet port It currently uses an AM335x processor, which I am finding is not ...
0
votes
2answers
94 views

In serial communication, is the RX pin pulled high by default?

I would like to establish one way uart serial communication between an Arduino 5V and an ESP32 3.3V module. The communication would be ESP32 TX pin ---> Arduino RX pin I wouldn't use the second serial ...
0
votes
0answers
20 views

How to use SPI serial interface with ATSAMD21G18?

Like the title suggests, I have a ATSAMD21G18 microcontroller that I want to interface with a LTC6803-4 chip, but I'm not sure how to set up the SPI bus on the microcontroller, and the datasheet ...