ADV7511 HAL_PlatformInit() hanging on PicoZed FMC Carrier Card V2

Hello I am trying to get the no-OS ADV7511 project to work but the program hangs at HAL_PlatformInit(). Is there a solution available for the picozed7030 device running on the PicoZed FMC Carrier Card V2? I think the problem is in the I2C communication and timer communication. Is there a HAL_PlatformInit for this combination? Thanks.

Top Replies

    •  Analog Employees 
    Dec 13, 2019 +1 verified

    Hello,

    This branch has an example of code working with various platforms. Even though it is not tested with PicoZed it might be a good example of using I2C and timer to run the example.

    Please refer to…

  • 0
    •  Analog Employees 
    on Dec 12, 2019 11:59 PM over 1 year ago

    Hi,

    I've moved the thread to the Microcontroller no-OS Drivers community. Even if we don't support this platform, we will try to give you some advice here.

    Thanks,
    Dragos

  • Thanks, Dragos, I see that this is an issue with any custom board. It seems that there may be a library or project that is available that is more generic and has HAL_PlatformInit() that would handle direct connection between the processor and the ADV7511 via I2C and also that uses built in axi timers so that it would work generically with custom boards using your ADV7511 chip. Is there such a project/library that I am missing? I used the "zed" project and the libHDMI_ZynqLib.a library with a custom carrier board and a picozed. I am able to communicate to the ADV7511 via I2C using custom functions but I want to use the HAL functions so that I can more seamlessly integrate with the adv7511 zed hdl project that I ported to the picozed. I'm using the adv7511 zed for non-OS software from github and the adv7511 zed for the hdl source from github for the 2018.2 versions. I have ported the hdl and now I'm trying to get it working with the non-OS software and I'm stuck on the HAL drivers. Any info or help would be greatly appreciated. Thanks.

  • +1
    •  Analog Employees 
    on Dec 13, 2019 8:20 AM over 1 year ago

    Hello,

    This branch has an example of code working with various platforms. Even though it is not tested with PicoZed it might be a good example of using I2C and timer to run the example.

    Please refer to this thread on how to get the example started.

    Regards,
    Andrei.

  • Andrei, thank you so much. This was an amazing support effort. You gave me exactly what I needed and I'm very thankful. Much appreciate!