Hi… if same set of hardware register are accessed by 2 different interface, then we need 2 register map, one for each interface. I studied that for each register map, we specify base address which is the starting address of the register block. Then we add registers to register map & specify address offset for each register. I have following doubt :
1)when we create register map, then base address specified for each register map will be same since the starting address of register block is fixed value ?
2) Physical address of each register is fixed value, then how can we access same register with different offset ? Physical address is calculated by adding offset address to base address. So to access same register from different register map, if we use different offset address, will it point to same register or different register ?
Thanks