Questions tagged [addressing]
The addressing tag has no usage guidance.
121
questions
0
votes
1
answer
21
views
KSZ8081 PHY address configuration
I'm using this KSZ8081 PHY transceiver.
I'm unable to understand how to configure the PHYAD[0:2] pin and the B-CAST_OFF pin.
As far as I read, the PHY Broadcast address will always be "0" ...
0
votes
1
answer
46
views
Alternate of the parallel flash
Hi I am looking for an alternate of the flash S29AL016J70BFI010, its a top boot sector device.
unfortunately I have not found any 16Mb flash with top boot sectors.
Although I am able to find 32Mb or ...
1
vote
2
answers
75
views
PCIe End-Point configuration for communication with Root Complex
I have an ambiguity regarding the PCIe initial configuration which is performed by the root complex (RC) on the end-points (EP).
Both devices have their own base address registers (BARs). The RC ...
0
votes
1
answer
111
views
How is a read of SDRAM done?
A SDRAM module is divided into chips. And those chips into banks. Banks can have different row and column lengths.
When reading a given address, I feed the address to the memory specifying the address ...
0
votes
0
answers
37
views
What is the difference between Content Memory Addressing (CMA) and Content Addressable Memory (CAM)?
I have been looking over the internet for Content Memory Addressing(CMA) but whenever I search for it I get Content Addressable Memory (CAM). So I am confused, is CMA and CAM the same thing. If ...
0
votes
1
answer
63
views
What is the difference between Register Addressing mode and Direct Addressing mode(8051)?
I find that there is no difference between the Register Addressing mode and the Direct Addressing mode.
Can anyone tell the difference with respect to the 8051 microcontroller ?
0
votes
0
answers
107
views
Offset of bnez in RISC-V program
I came across a question about assembly that I was confused on.
We are given the following table for addresses and instructions:
The question says: replace the labels of PC-relative targets with ...
1
vote
1
answer
306
views
Addressing scheme with CAN bus
I'm going through some addressing schemes with CAN bus. I came across this post: Most efficient way to handle addressing / termination in a daisy-chained CAN bus?
There's a solution explained called ...
1
vote
2
answers
130
views
what is modulo addressing?
What exactly is modulo addressing? I think here is a useful source but I can't understand what it is exactly about. From my understanding it implements a circular buffer.
Is it that? Why is that so ...
0
votes
1
answer
61
views
Specifying the address range of each memory block
Four 16x4bit blocks are interconnected to form a 64-bit memory as shown below
First of all why is a block here called 16x4bit ; 4 bits are related to the input gates but what's with 16 here ?
I also ...
1
vote
1
answer
282
views
Dali commissioning Luminaires
I have more than one lamp and i need to make a program to commissioning.
I've already did it whit a single lamp but now I don't know :
How to make addresses for multiple lamps (in my case A3 is ...
1
vote
2
answers
1k
views
modbus register address vs. register number; absolute address vs. offset
I'm developing a Modbus Slave device, and I'm having a little trouble understanding how to name/address my registers.
Let's say I have 2 Discrete Inputs and 2 Input registers. From Modicon standard, ...
0
votes
1
answer
42
views
Address decoder design and memory tables (recommended books)
i have been self studying and i encountered with an exercise of address decoder design, i have seen videos and i have searched in this book "Digital design by M. Morris" which is the one im using for ...
0
votes
1
answer
107
views
Dynamically setting address of HT12E with Raspberry Pi
I have a project where I need to send a wireless signal to one of several receivers to turn on an LED.
One transmitter, several (many) receivers, each with an LED.
The receivers need to have low ...
1
vote
1
answer
186
views
How to read this memory map of LPC1769 microcontroller?
I'm trying to understand the memory map of the LPC1769 microcontroller using the official NXP datasheet. The screenshot below shows at 0x00004000 to 0x00008000 there is 512kB of flash memory mapped, ...
0
votes
1
answer
127
views
Can a memory chip have a certain starting address
In my book there is a question stated:
Can a memory chip of capacity 512 KB have the starting address
2B0000h?
To me this seems like an incomplete question with a wrong answer in the book. The ...
0
votes
2
answers
707
views
Memory-mapped IO vs Port-mapped IO in microcontrollers
I've been reading about external peripheral mapping to microcontrollers.
I understand that memory-mapped IO means that the same address space in the microcontroller can be used for internal memory ...
1
vote
4
answers
773
views
8/16/32 Bits of microcontrollers [duplicate]
I am new to the field of embedded systems. Recently I was learning about the differences between different bit size (8, 16, 32) microcontrollers. What I found was that the size of bit indicates the ...
0
votes
1
answer
92
views
Multiplexer to switch between many sets of 8 channels [closed]
I have many (up to 16) 8-channel "buses" (not digital, but analog) each with signals which I want to read with a single 8-channel analog-to-digital converter (ADC). I would switch between these ~16 ...
4
votes
1
answer
412
views
Microprocessor architecture bits vs bus sizes
I am ready following on this website:
"Another big difference between 32-bit processors and 64-bit processors is the maximum amount of memory (RAM) that is supported. 32-bit computers support a ...
0
votes
1
answer
194
views
Address decoding different bank sizes in 64K memory
I'm doing a small Motorola 6809-based computer project, and since I'm a bit rusty when it comes to boolean algebra I'm wondering if I'm doing my address decoding a bit too complicated for my simple ...
0
votes
2
answers
80
views
Addressing 45 Inputs Down to 6 pin Output
I'm looking for a chip which could minimize ~45 button inputs down to an 6 pin input for use with Raspberry Pi.
I know this is a simple problem and it has likely been solved before, but as an ...
1
vote
1
answer
92
views
How many external devices can be linked to a CPU with n address buses and m data buses?
(Hypothetical)
Let's say there is a CPU with 8 address lines and 8 data lines.
If each external device has 128 accessible registers, how many external devices can be linked?
For 8 address lines, I ...
0
votes
1
answer
134
views
Finding address space
Could somebody please explain how to find the address space for the RAM, Sensors, Alarm and ROM? :)
The answer is supposed to be
ROM: 0000-1FFF
RAM: 2000-3FFF
Sensors: FFF0 - FFFF
Alarm: FFFE
0
votes
2
answers
582
views
Does pin A15 on a Z80 tell if the CPU is addressing ROM or RAM?
I am designing a simple, hobbyist single board computer similar to an Arduino using a Z80 CPU. The trouble I am running into is how the CPU addresses memory. I know that the Z80 uses pins A0-A15 to ...
5
votes
4
answers
2k
views
advantages of PC-relative addressing
I have read somewhere:
"The advantage of using
relative mode over direct mode is that relative addressing is a code which is position-independent, i.e. it can
be loaded anywhere in memory without ...
1
vote
2
answers
55
views
Address bus, databus: how much storage direct accessible
I have a CPU with a 32 bits data bus and a 21 bits address bus. I would like to know how much storage I can connect to this CPU directly.
Does this depend on the address bus width, because I can ...
8
votes
3
answers
1k
views
Why are the SRAM data and address pins numbered? [duplicate]
As far as understand, it would make no difference to the operation of an SRAM if you mixed up the order of the address or data pins.
E.g. http://www.farnell.com/datasheets/1911297.pdf?_ga=2.220805788....
1
vote
1
answer
102
views
Would a parallel EEPROM ever output a value that it does not contain?
I understand that when the address input to a parallel EEPROM changes from A to B, the output may show results that aren't the contents of either A or B, for a few nanoseconds.
Are these spurious ...
0
votes
2
answers
155
views
inverting address decoder with low after high
I have an 74137 address decoder and know how to build one like that from basic gates. But in my use case the address decoder is connected to the enable pins of a number of bus drivers and I fear this ...
0
votes
2
answers
369
views
I2C Addressing after device address is known
I have an I2C device that I know the address is 0x70 (probed when connected to Raspberry Pi using i2cdetect -y 1). My issue is that the bytes I want to look at need to be called in WiringPi. The ...
0
votes
1
answer
532
views
Cascaded i2c address translators?
I am trying to connect many (~80) ToF distance sensors VL53L0X onto a single i2c bus. They have the default i2c address 0x52, which is programmable, but not persistent. Thus I have a choice between ...
3
votes
1
answer
777
views
DALI : How commissioning process takes place in DALI system -2?
Broadcast control commands are working properly. But, I am not able to get the response from Dali Driver, for broadcast query or special commands.
And also I am not able to set short address for the ...
2
votes
1
answer
1k
views
Understanding GDDR5 clamshell mode
Let suppose a 256 bit memory controller is installed on a PCB with GDDR5 memory modules.
In normal mode you can split the lines into 8 group of 32 bit and drive 8 modules x 1Gbit (128 MB) = 1 GB of ...
-5
votes
1
answer
596
views
Design logic circuit to address 2 x 512 kB RAM and 2x1024 MB RAM with 36 address lines? [closed]
How do you address 2 x 512 kB RAM and 2 x 1024 MB RAM with 40 address lines?
Memory is byte addressable, problem is to find out enough address lines to address all 4RAM and designing appropriate ...
0
votes
2
answers
195
views
AT28C16 Interface Help
I pulled an AT28C16 from an old KVM switch and have managed to wire it up like so:
A0-10 -> GND
CE -> GND
WE -> 5V
OE -> GND
VCC -> 5V
GND -> GND
I/O0-7 -> Floating. Plugged by hand to level meter ...
-1
votes
1
answer
131
views
Controlling motors same as WS2812b works (Neopixels)
Im a beginner and trying to achieve a weird scenario (Could be). There is around 30 tiny DC motors for each of those I need to make it individually controllable. Same as WS2812b led works. How can I ...
0
votes
1
answer
352
views
What is slave select signal on the APB bus for?
I am currently working on an APB BFM and I have a question regarding the bus protocol. I understand every slave on APB bus has its own unique address space, where its internal registers are mapped. ...
0
votes
1
answer
652
views
I2c slave address confusion?
Can someone explain which address will be used for ADV7511 for I2C if it is stated that it is either 0x72 or 0x7a in adv 7511programming guide [page 16]?
If I am right, we send 8 bits per transfer, ...
1
vote
1
answer
90
views
Relate Bin file (read from uC) to map file
We have a AT32UC3C1512 presenting a Failure, part of the analysis that is normally performed to isolate the failure is to perform ABA swap of components, we have performed the swap in several ...
2
votes
2
answers
322
views
what is an "Adressable" I2c device, and what does it mean?
The MCP3021 is a standard 10-bit ADC with an I2C Interface. It's datasheet can be found here.
In the general description, it says:
The
device is also addressable, allowing up to eight devices
...
2
votes
2
answers
5k
views
PCI device address actually means slot address? And when does PCIe slot get its' address?
I'd like to clarify how the configuration address space in PCI and PCIe works.
Namely, a PCI peripheral on a bus is addressed with device:function pair (the ...
3
votes
2
answers
3k
views
Arm mode and Thumb mode makes the PC's bit 0
The ARM and Thumb modes are word-aligned and halfword-aligned. I understand this means that if it's in ARM mode, the start of addresses must be divisible by 32, and if it's in Thumb mode it has to be ...
0
votes
1
answer
50
views
Measure resistance (make connection) between array of points
I have array of connectors where I will plug in various types of resistors, I would like to be able to connect to each of the points as addresses and measure resistance between these points. Here is ...
0
votes
3
answers
888
views
Why can't you use microprocessor I/O pins as chip enable pins for ROM and RAM?
I have been reading a textbook on Embedded systems called An Embedded software primer by David E Simon (great book btw). I am trying to answer questions after each chapter, I got through first 2 ...
2
votes
2
answers
384
views
Understanding DDRn SDRAM
So I am basically trying to grasp/confirm my grasp of SDRAM and DDR. So basically I understand that there is going to be some chips each with up to 8 banks (so kinda like 8 chips internally?). For ...
1
vote
1
answer
2k
views
Proper way of storing a register address on ARM Cortex M4?
I am writing a program on STM32F4 Discovery where I have to store address of Timer's CCR register into a pointer and then change register via this pointer, ie
...
1
vote
1
answer
2k
views
What happens If the interrupt occurs during the execution of HALT instruction?
Consider the following program segment on a hypothetical processor .
I have this question in my course CS201.
Suppose this processor has 32 bits Load/Store operations, ALU operations is 16 bits and ...
0
votes
1
answer
673
views
I2C address selection in PCA9685
I am using PCA9685 in a project. 3 are on the same i2c bus and thus I need to change the address of individual ICs. It has 5 selectable address bits as shown in the figure below:
The address will ...
2
votes
4
answers
733
views
Clarification regarding I2C address
I was going through the following link which describes the "I2C address allocation table"
http://simplemachines.it/doc/IC12_97_I2C_ALLOCATION.pdf
Upon reading the aforementioned information table I ...