adrv9001-sdk hardware addresses

I am able to successfully build the adrv9001-sdk.

However, I have a custom platform and I do not see where the SDK gets its addressing for the IP.

The notes state that the zc706 platform is used, but I do not see any addressing for this platform.

There is no hardware importing for this sdk and no xparameters.h.

So how do I map the IP to the custom hardware addressing.

Is there an example of this?

Modifying the HAL in some way?


Parents Reply Children
  • After going through a bit of the code, I think I am getting some understanding.
    However, I have a few questions.

    1) It appears that the makefile in the test1 folder defines the platform in CFLAGS using -DADRV9001_ZC706_OFFSET.
        This is used in ADRV9001_ZC706.
        A) The first questions are: why is the OFFSET being used and not the BASE?
             I could not find a base address in the code, so how does the absolute address get calculated?

        B) I am assuming that for a new platform such as the ZCU106, I have to create an adrv9001_zcu106.h file and define the addresses for all of the IP?
             Then find all of the files that include the adrv9001_zc706.h and add the adrv_zcu106.h include to these file?
             Then modify the makefile and change CFLAGS to use -DADRV9001_ZCU106_OFFSET ? Again not sure if I need to use the BASE or the OFFSET?

    2) I see in adi_platform.c that there is #ifndef CUSTOMER_PLATFORM. 
        So I am assuming that I need to define this in the CFLAGS of the makefile?
        Then update the *hal_customer* files as needed?

    Thanks for the help