port blimp's osd onto the arm board

I want to port blimp's osd onto the arm board, do you have specific instructions

Parents Reply Children
  • osd is initialized by ADIAPI_OsdConInit,
    The switch is then controlled by ADIAPI_OsdKeyPress.
    I blocked the Spi related function in ADIAPI_OsdConInit, and the blimp control I defined is still displayed (in advantiv-eval-adv7625-smz-video-evaluation-board).
    So, if I'm going to implement osd display, where is my spi function going to be implemented?Not in the ADIAPI_OsdConInit function?

    Now that my image is out, I can use the iic control to have it display some blocks.If I want to implement spi, I need to implement SpiTransfer in the ADIAPI_OsdConInit function, right?

  •   

    Hello!

    I think you use (OSDAPI_RegisterSpiI2cHal(SpiTransfer, I2c0WriteRegister8, I2c0ReadRegister8, I2c0Read2Register8, SpiSetSlave);) this function to call spi function. I have shielded SpiTransfer from your code, but several labels can still be displayed normally.

    Thank you very much for your answer.

    sylon

  • 0
    •  Analog Employees 
    on Apr 4, 2019 6:45 AM over 1 year ago in reply to sylon

    Hi,

    Please find the answers below.

    Now that my image is out, I can use the iic control to have it display some blocks.If I want to implement spi, I need to implement SpiTransfer in the ADIAPI_OsdConInit function, right?

    Yes. You need to implement the SpiTransfer function.

    I have shielded SpiTransfer from your code, but several labels can still be displayed normally.

    If you block the SPI functions, label will not be displayed correctly. Can you try power cycle the board and check again and see labels are displayed correctly with demo board.

    Please let us know if you are seeing any issues after adding SPI functions.

    Thanks,

    Poornima

  • hello

    As shown in the figure below, I removed your flash and then removed the spi function.

  • Ok, maybe I didn't make it clear enough, but now I'm going to talk about my hardware conditions and my software conditions, and here's your demo board, and I've removed the flash,

    Below screenshot is my SpiTransfer function implementation, was I delete all, and then I use VDSP compiled code and burning inside.

    No matter how many times the restart occurs, the osd will display normally.Are you sure I also want to realize the spi?