Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Device map addresses proposal #8

Open
aacuevas opened this issue Mar 9, 2023 · 0 comments
Open

Device map addresses proposal #8

aacuevas opened this issue Mar 9, 2023 · 0 comments

Comments

@aacuevas
Copy link
Contributor

aacuevas commented Mar 9, 2023

Currently device map addresses are set as
Reserved(16).HubIdx(8).DevIdx(8)

However, it might make more sense to redefine those as HubIdx(16).DevIdx(16) even if not all implementations are able to use the full address range (for example, ONIX current implementation is limited to 8bit dev indexes).

To retain compatibility across devices, the special device IDs could be defined as such:
-Invalid device: DevIdx is all binary ones
-HUB control device: DevIdx is Invalid device - 1 (all ones except LSB)

A specific implementation able only to use a subset of the ranges would perform automatic bit expansion/trimming when translating addresses to the 32-bit interface defined by the standard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant