port blimp's osd onto the arm board

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

  •   

    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?

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

    Hi,

    Sorry that you are in trouble solving this issue.

    Please find more details about the hardware connection. Hope that it will help to understand where is the issue?

    In Eval platform, Blackfin controller is connected to ADV7625 and External flash as shown below.

    When designing Blimp project,Are you enabling Internal flash memory option right?

    If you are selecting External flash memory, you need to use External SPI flash(U38) to flash the OSD binary. If you are using Internal, this U38 is not required.

    To display the OSD component, we need to configure set of I2C and SPI registers in ADV7625, irrespective of external/internal flash that you are using.

    Can you share the VDSP source files and OSD project that you are verifying with Demo board offline via email?

    We will check and let you know if any issues?

    Thanks,

    Poornima