Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [port]

A port is a physical interface for a computing device to other devices. They are often realized as a single pin or a set of pins and can be operated in different modes.

0
votes
2answers
39 views

Exercise about voltage thresholds of logical port

I don't understand how professor resolves this exercise! I have two connected logical port and I want to calculate the time of transition from low to high for example. In the solution, the minimum ...
0
votes
0answers
14 views

1 Port Model: Power Available from Source

My professor stated that the power available from the source in a general 1 port model is: I don't understand why this is the case. How is this derived?
2
votes
1answer
109 views

Two-port model of a BJT

In electronic books, the small signal model of a BJT is given as: I've just studied two-port networks theory and, as an application, another book I'm reading shows this picture: 1st question: why do ...
1
vote
5answers
91 views

Should I use all the pins from 1 Port or few from each available (STM32)?

I am using a MCU from the ST, specifically from the STM32L1xx series. I want to connect 2 sensors, both of which will use the I2C protocol, 1 MicroSD card with SPI and 4 Interrupts. Is it a good ...
-1
votes
1answer
237 views

Unconnected port warning in VHDL

I get this warning after synthesis is completed in Vivado. I have a single port ram which is constructed using block memory generator. Its output is connected to Brightness_Contrast module's data_in ...
2
votes
2answers
198 views

VHDL 4-bit Shift-and-Add Multiplier Buffer and Out port error

I am working on a creating a 4-bit Shift-and-Add Multiplier. I am getting this warning message - "WARNING:HDLParsers:3555 - "//filer1.egr.msu.edu/samarar1/ece230/Project05/Project05.vhd" Line 220. ...
-1
votes
2answers
132 views

Does a “Contact-Only” Port Exist?

I think my demand is quite unusual, or maybe i just don't search with the good keywords... Any help will be greatly appreciated ! Context: I actually work on a robotic project and have specific ...
1
vote
1answer
95 views

Can we connect both ASIC and an FPGA both to the same physical output Ethernet ports at the same time? [closed]

I am doing simulation of my research design on single FPGA, in which I simulated two switching chips ASIC and an FPGA. I mean, I simulated single FPGA working as two chips, and connected them so that ...
0
votes
1answer
85 views

UART to a old Foscam Camera

Not a long time ago, my outdoor security camera stopped working. It was a foscam, the closest product that I could find was : https://www.foscam.com/product/47.html However, my camera is an older one, ...
-1
votes
1answer
65 views

LVDS inputs and TTL outputs in design

I have a design and most of the entry ports are the outputs of an ADC these outputs are LVDS. My question is how do i declare the inputs of my FPGA as LVDS signals? And how to declare the outputs has ...
0
votes
2answers
106 views

Open Drain while transmitting data with port direction output

I am new to this information portal! However, I have question regarding open drain. I read that, in open drain mode, neither of the devices (slave/master) are allowed to drive the data line HIGH, ...
1
vote
1answer
87 views

How to enable abbreviated port names in Atmel Studio?

Good day! I have been working with Atmel Studio lately and am a bit confused about notation. Thus far, when I reference a pin, I usually just use the PORTxn notation (example: PORD0). However, I ...
-3
votes
1answer
150 views

Port Direction - I/O [closed]

I have one question regarding the direction of Port Pin (GPIO). Is it mandatory to change the direction of port pin to input in order to read the value from that port. Keeping the port direction as ...
0
votes
1answer
316 views

How can I test TCP/IP AT-Commands with server?

I'm currently using SIM868 to make a GPS tracker, I wanted to know how to test tcp/ip protocol with a server. I do not have a server but got a website and a wifi connection(DIR-600M Router) , Is ...
-3
votes
1answer
63 views

Unknown port in videocassette recorder JVC HS-D320S [closed]

I have an old videocassette recorder JVC HS-D320S, I want to ultimately try to digitalise some videocassettes, but I'm having troubling identifying the ports on the back. PS: I'll clarify the ...
1
vote
1answer
308 views

Altium hierarchical design assigning net to power port/port

I have a hierachical multichannel design and I´m having problems to set properly the project properties so that the following issue is removed. As you can see one of the ports of the child sheet is ...
0
votes
2answers
113 views

Thevenin Equivalent Circuit of Two-Port (Transmission Matrix)

The question is to calculate the thevevin equivalent of the following two port network described by the transmission matrix [A B] [C D] The way I approached this was from the transmission matrix we ...
6
votes
3answers
922 views

My first AVR C program- LED not blinking

I created a simple program to be put onto a ATMega328P chip (Datasheet). I wrote my first program in ATMEL studio that I wanted to use to Blink an LED at a rate of 0.5Hz with extremely low power usage....
0
votes
1answer
73 views

8051 I/O programming logic/ how it works

I'm new to microprocessors and trying to figure out how they work. I am quite confused about using the ports as inputs and outputs. It says that we should send '1' to the pin if we want to use it as ...
2
votes
1answer
94 views

Put one value in PORTA, and another value appears (PIC24 from Microchip)

I am doing a small code for PIC24FJ1024GB610 from Microchip, where I want to test PORTA The code Below ...
0
votes
2answers
295 views

USB C atmel chip interface

I am working on a project which requires the main usb interface to an atmel chip (32u4) to be USB-C. In this case If I only connected the traditional usb 2 pins (D+, D-, +V, GND) to the atmel usb ...
1
vote
0answers
143 views

Intrinsic glitch of the XOR PORT

Good evening, I'm dealing with the glitch of the xor gate. I read on the book 'Code Design for Dependable Systems: Theory and Practical Applications' that a glitch is generated when more than one ...
2
votes
3answers
1k views

Testbench for INOUT port in VHDL

I was looking in the internet and stackexchange for the solution but still I don't know why it is not working. Solutions which I found here shall work but probably I am still doing something wrong. I ...
-4
votes
1answer
401 views

verilog 32 bit wire port that can be an input or an output [closed]

In the verilog code below, is it creating a 32 bit wire port that can be an input or an output? ...
1
vote
2answers
245 views

How to invert Sensor output signal?

I have a 24V sensor that outputs high when it detects something. I want it to output LOW when it detects something so the lamp (24V 18mA) stays off. My solution for this problem was using a not port ...
0
votes
3answers
69 views

Can a 8-bit port of 8255 ppi be given 10 inputs (input lines) using OR gates?

Alternatively, can only 2 bits of Port A's 8 bits be used for the remaining 2 inputs? I am using 8255 with an 8-bit ADC, so Port C cannot be used since it is used for communicating for the ADC.
1
vote
3answers
913 views

What is the most suitable? Pull Up or Pull Down

This is the IO port of ATMEGA328p according to 76 page of datasheet. As I know, Pull up is the most suitable system because lots of voltage spikes are logic 1.So, if we can give logic 1 normally, we ...
0
votes
3answers
102 views

detect VGA port (through pinout) and send a command to microcontroller

How can i realize that a video project is connected to laptop through a VGA port?? I think I can understand it from the VGA pinout; but i don't know which one?? If I realize it then I can send a ...
0
votes
2answers
2k views

verilog packed v unpacked array error

I'm new to verilog. I'm trying to implement a 2:1 multiplexer on a FPGA development board (DE1-SOC altera) using built in switches and LEDs. The following are the assignments that I'm using for the ...
0
votes
2answers
82 views

GPIO - Port Value

I have started studying GPIO. Please refer to the image attached. When Button is pressed, Vout = 0. When Button is released,Vout = Vin. My question: Using GPIO, software can set the values for port. ...
7
votes
3answers
374 views

Change all Off Sheet connectors to Ports

I´m new to Altium Designer. It seems like AD can´t use Off Sheet Connectors for hierarchical design, so I want to change all Off Sheet Connectors to Ports. Is there an easy way to do this? Btw: There ...
-2
votes
1answer
56 views

Cpu and ps2 keyboard communication

Ok, lets's try again, it's surprising that it is hard to find a clear and sharp enough way to ask such a question. How is PS2 keyboard data usually decoded to ASCII in hardware level, and then how is ...
0
votes
1answer
498 views

Is it possible to convert an non-otg port of smartphone to otg port?

I know that for OTG to work, it needs both, kernel and hardware compatibility. For kernel part, there are many solutions like OTG helper apps on play store. Here, I want to know and understand what ...
0
votes
1answer
113 views

Open drain Port Configuration [duplicate]

I was just learning about the port configurations of the GPIO pins. I came across the open drain configuration, and I was bit confused. I could not understand this properly. When this should be ...
0
votes
1answer
182 views

Two-Port Model: “What is the amplitude of the input signal?” Solution Misunderstanding

I cannot understand the solution to the following problem: The specific maths I can't understand are outlined in the following figure, along with what I thought the answer was. Is \$P=\frac{V^2}{R}\$ ...
0
votes
0answers
98 views

PIC18 port b interrupt on change is very sensitive

I am running a stepper motor with my PIC18F46K80 microcontroller. This microcontroller offer me the port b interrupt on change feature which basically generates an interrupt if the state the port b ...
0
votes
1answer
327 views

How to properly set HIGH/LOW PORTC3 on ATmega32A?

This simple program for ATmega32A is expected to work in this way: Set PORTC 0,1,2,3 as Output pins Set PORTC 4, 5, 6, 7 as Input pins with pull ups Turn on/off output pins 0, 1, 3: 3a. If input pin ...
0
votes
1answer
84 views

Reading the closing of 12 volt circuit over RS232

Car trouble. I suspect the fuel injector circuit. I am trying to construct a com port reader that will place a timestamp into a log on the closing the 12v fuel injector circuit. The fuel injector ...
0
votes
2answers
374 views

Bit shifting and PORT value on PIC18F4520

I am working on a PIC18f4520. To do my test, I have connected a led to the pic. The following items are the steps I would like to do : Save the value of the port set for the LED (which blinks ...
1
vote
2answers
2k views

Interfacing RFID reader module with PC

Sorry it may seem stupid but I think my confusion is drifting me away from the solution so I wanted to ask. I am trying to build a fixed RFID reader. But the project has some other complex work to be ...
0
votes
3answers
994 views

Electronically, how to control this 5v arduino-style relay board from a PC serial port

I have the following relay board (pictured below), and to activate any of the relays, you simply connect one of the IN1-IN8 pins to ground. Easy. The current going between gnd and INx is negligible, ...
0
votes
1answer
47 views

ATmega32A _delay_ms after IO calls

I am loading the following code into ATmega32A PU 1535 to flash the LED on pin 40, PORTA 0: ...
0
votes
1answer
184 views

can't figure out why dsPIC digital input is not working

Having trouble getting a basic digital input to work correctly. Just trying to use it as an additional condition for an LED flasher to work. Right now their example code works just fine but when I ...
0
votes
1answer
3k views

AtTiny85 reading from PIN

First, I'm kinda new to this AVR world, please don't be too hard. I'm running into a very simply problem. I'm trying to use the ATTiny85 inside the Arduino framework, but without the Arduino ...
0
votes
1answer
379 views

Can 8051 pins work as inputs or outputs at the same time in a program? [duplicate]

I have confusion in assigning ports as input or outputs in 8051 microcontroller. As I have done programming with atmel atmega16 and variants we clearly have DDR registers to assign ports as inputs ...
2
votes
2answers
1k views

Special USB Port With “Sensor” Contact

I've bought these special upright USB Type A ports with a "Sensor Contact" (the stray pin I've marked "Sensor Contact Pin"). I've been Googling on how they work, as well as sent about a half dozen ...
-2
votes
1answer
187 views

8051 Port 0 as input query

I want to use the Port 0 of 8051 as input. Is it required to use external pull-up resistors? Or its only required when Port 0 is to be configured as output?
-1
votes
2answers
9k views

How to wire a stereo 3.5mm jack to a mono output [closed]

I have purchased a 3.5mm port online. I want to wire them to a mono output to a amplifier board. I have worked the ground and right and left channel terminals on the port. I am not sure how you would ...
0
votes
1answer
446 views

How to clear lcd with a push button in atmega32

i write this code for atmega32 in which PORTD is out put to the LCD and PIN0 of PORTA is an input which i want to active with a ...
0
votes
1answer
88 views

verlilog simualte a port pin with switchable pull up

I want to simulate two avr pins in verilog connected to one wire. Every avr can be in and output and also have the ability to switch its own pull up. I found the typical way to connect to pins to one ...