DSPRelated.com
Forums

newbie needs help with hpi and dm642

Started by nhtechweenie May 22, 2008
OK, I must be missing something.

The HPI bus is 32 bits.

The DM642 data sheet lists the registers as:

hex addr name
0188_0000 hpic
0188_0004 hpiaw
0188_0008 hpiar

Why are the addresses listed as 16 bit address boundaries? Why aren't
the addresses 0-8-10-18?

Thanks
chauncey1874,

On 5/22/08, nhtechweenie wrote:
>
> OK, I must be missing something.
>
> The HPI bus is 32 bits.
>
> The DM642 data sheet lists the registers as:
>
> hex addr name
> 0188_0000 hpic
> 0188_0004 hpiaw
> 0188_0008 hpiar
>
> Why are the addresses listed as 16 bit address boundaries? Why aren't
> the addresses 0-8-10-18?
>

I've had days like this. Step back and think.

Assume byte addresses, advance by 1 byte [8 bits]
0, 1, 2, 3, 4
Assume byte addresses, advance by 2 bytes [16 bits]
0, 2, 4, 6, 8
Assume byte addresses, advance by 4 bytes [32 bits]
0, 4, 8, C, 0

mikedunn

Thanks
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
NH,

Each address is 8 bits.
each of the addresses 0,4,8 have 32 bits between them.

It is not the value of the address, it is the number of bits between addresses.
And, the number of bits from 0 to the address must be evenly divisible by 32 to be a 32 bit address.
R. Williams
---------- Original Message -----------
From: "nhtechweenie"
To: c...
Sent: Thu, 22 May 2008 14:59:14 -0000
Subject: [c6x] newbie needs help with hpi and dm642

> OK, I must be missing something.
>
> The HPI bus is 32 bits.
>
> The DM642 data sheet lists the registers as:
>
> hex addr name
> 0188_0000 hpic
> 0188_0004 hpiaw
> 0188_0008 hpiar
>
> Why are the addresses listed as 16 bit address boundaries? Why aren't
> the addresses 0-8-10-18?
>
> Thanks
------- End of Original Message -------