Questions tagged [addressing]

134 questions
18
votes
6 answers

Method for assigning unique per-board addresses

We're designing transmitter/receiver boards for an RF remote-control application. To avoid talk between mismatched pairs, we want unique per-board addresses. The address is specified to encoder/decoder chips through 8 address pins. We'll probably…
Steven Ourada
  • 283
  • 2
  • 5
16
votes
2 answers

4-bit bus address selection via analog input pin: Monte Carlo simulation shows overlapping address values

I designed a small sensor PCB for my master thesis with an ATtiny44 microcontroller. I need about 200 of these boards for my application and 16 are always locally connected to controller board. The whole network looks like this: To communicate…
KarlKarlsom
  • 1,792
  • 2
  • 13
  • 26
8
votes
3 answers

Why are the SRAM data and address pins numbered?

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.…
fadedbee
  • 994
  • 9
  • 24
7
votes
3 answers

How are BAR registers handled between end points in PCI Express?

I have a question related to the PCI Express protocol. I managed to understand most of the features of the PCI Express protocol but could not entirely understand the enumeration process. I know the root complex sets the BAR registers of every end…
6
votes
2 answers

How is this EEPROM fully addressable?

I am looking at the datasheet for this 64k EEPROM, and I am having trouble understanding how to use it. I would like to do a lookup from a 16-bit address to an 8-bit data word. The chip only has 13 address pins though. It looks like the memory is…
captncraig
  • 2,054
  • 3
  • 24
  • 45
5
votes
4 answers

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 the need to adjust any addresses." I can't…
jack.math
  • 65
  • 1
  • 3
5
votes
1 answer

Does biasing of address pins require a resistor?

I'm a total newbie fooling around with a project of mine. I want to use an MCP23017 I2C port extender (Data sheet) for my Arduino project. The chip has three hardware pins that must be externally biased. I apologize if the question is silly, but,…
garph0
  • 185
  • 4
4
votes
1 answer

Where do 1-wire device (such as DS18B20) manufacturers obtain their addresses?

We know that 1-wire devices, such as the DS18B20 temperature, sensor have 1 64 bit address, of which 8 bits is 0x28 and another 8 bits is the CRC. We know that the address is burned into the chip at manufacture. But where does the manufacturer…
KDM
  • 173
  • 7
4
votes
0 answers

Can I use LPDDR3 memory that is larger than my processor supports?

I am working on a thing that uses a STM32MP157C. Its datasheet says: The STM32MP157C/F devices embed a controller for external SDRAM which support the following devices • LPDDR2 or LPDDR3, 16- or 32-bit data, up to 1 Gbyte, up to 533 MHz clock. •…
Emily
  • 141
  • 3
4
votes
3 answers

I2C EEPROM with non-standard address?

So I know that almost all I2C EEPROM ICs use 0xAh (or 1010) as the top four bits of the slave address. I currently have a 16 kbit EEPROM on my I2C bus that uses the lower 3 bits of the slave address for block addressing. This means that it co-opts…
llakais
  • 295
  • 3
  • 8
4
votes
1 answer

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 maximum of 4 GB (2^32 bytes) of memory, whereas 64-bit…
alt-rose
  • 1,441
  • 14
  • 29
4
votes
1 answer

Number of address in AT24C16 EEPROM or is it duplicate?

I am working on EEPROM AT24C16 for a particular project. According to the datasheet it must have 2048 addresses and I should be able to write 1024 unsigned int into it [ 1 unsigned int per 2 addresses] but I am only able to write 128 unsigned ints…
prog_SAHIL
  • 221
  • 3
  • 13
4
votes
1 answer

Is 3 bytes a min to address a register in a 256K EEPROM?

I am really new to electronics and embeds and I am struggling with some probably basic notions. (I have a software background.) I have an EEPROM (24LC256) connected to an MBED microcontroller and I want to write to it. The EEPROM device uses the I2C…
Pithikos
  • 143
  • 5
3
votes
5 answers

i2c automatic address assignment

History: I decided to design a circuit with some peripheral ic's. Although SPI may achieve great data rates, because of its master-slave architecture and separate chip select pin requirement, I decided to use I2C because of its multi-master and real…
ceremcem
  • 1,386
  • 17
  • 35
3
votes
1 answer

Connecting I2C sensors with the same address over 16-20 metres in a daisy-chain with 1 cable

I'm trying to solve the following problem: "How to connect 3 to 8 I2C sensors with the same address over 16-20 metres in a daisy-chain with 1 cable without having to deal with address clashes or wire length limitations? RS485 is not an…
Noideas
  • 109
  • 7
1
2 3
8 9