Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
49 views

How to estimate the minimum clock frequency for this interface?

I'm going to use an absolute rotary encoder which has an SSI RS485 interface so it has a differential data output and a differential clock input. Normally the wiring between a master and the slave(...
0
votes
4answers
127 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 ...
0
votes
1answer
56 views

Is there a way to create synchronous serial data without a sensor?

I want to work on a small project where an SSI-output data (angle data) of a rotary-encoder will be read by a microcontroller board (such as an Arduino board) and the microcontroller will then send ...
1
vote
1answer
26 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
132 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
0answers
35 views

Old Arcade Game Controller Board [closed]

I am restoring a Sealy arcade game to work with the MAME emulator, long story short, bought the cabinet with the hard drive removed from a windows computer. The board I'm attempting to work with ...
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
2answers
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
85 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
15 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
0answers
25 views

Problem communicating with 3DR telemetry radio [on hold]

I am trying to establish a simple wireless serial communication between two Radio V3 telemetry modules. I send messages from one antenna from a Putty terminal and view the output via Putty at the ...
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
55 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 ...
-1
votes
0answers
49 views

Manually aligning uart signal [duplicate]

I'm using a fast microcontroller (AT89LP52) with 22.1184Mhz crystal. I have calculated that I can toggle each port pin in a matter of nanoseconds (as opposed to microseconds on the AT89S52) I have ...
0
votes
0answers
23 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
66 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
93 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
84 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
1answer
82 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
49 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
63 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
82 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
143 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
392 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
56 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
57 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
73 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
234 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
56 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
30 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
74 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 ...
0
votes
1answer
83 views

PIC18F26J50: how to use printf in C18

I'm trying to use the printf family of functions in C18 for a PIC18F26J50. In my system, the output should go through the UART and show up in RealTerm. Here is my ...
0
votes
0answers
40 views

MEGA2560 only starts program after pressing RESET button multiple times

I am working on a program where I am controlling an MP3 player by using UART between my MEGA2560 and the MP3 player. The MEGA2560 sends serial commands to the MP3 player when external interrupts are ...
0
votes
1answer
104 views

Connector Identification on Instrument

I have a piece of instrument made around 2000 with a connector to computer that I cannot recognize. Can someone help me out? It is a 20-pin connector, with 10 pins on each row. Pictures are here: ...
0
votes
1answer
48 views

USB to Serial Disappears from Windows 7 Device Manager when Tx of board connects to Rx of usb-to-serial converter

I have two different usb to serial converters. Both have 5 pins with 3v3, txd, rxd, gnd, 5v. In the past I have used them to connect to raspberry pis and arduinos successfully. I have a board ...
0
votes
3answers
81 views

Implementing Honeywell IMU

Want to start by saying I'm a mechanical/aerospace engineer, and I'm fairly out of my depth here. My current project is on a load-testing rig. Ultimately, it will use a Honeywell HG1120 IMU to give ...
1
vote
4answers
144 views

Is it possible to use a DPDT switch to swap 2 inputs and 2 outputs?

I want to create a passive device with two MIDI inputs and two MIDI outputs, with a switch that has two states. In the first state, input 1 is connected to output 1, and input 2 is connected to output ...