Post Go back to editing

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
  • HI;

    I had this board, and I ported the blimp program to this board, and it showed up right.
    I will be the airship program port to their own projects, through the debugging of iic, the image display is normal.
    But I can't get it to show osd.
    Is it because I didn't write spi interface?,
    Can osd only be displayed through iic?
    I've blocked the SpiTransfer function in adi's code, which displays the blimp tag.So I wonder if I can display characters directly on the screen through iic?

  • Sorry, I just want people to answer my question as soon as possible, so I made two posts

    Thank you very much for your reply.

  • Hi,

     For OSD, We need both i2c and Spi interface, Characters cannot be displayed only with i2c.

    Thanks,

    Poornima

  • 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

  • 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?

  • 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

  • hello

    • You mean I must realize SpiTransfer function function, right?

    • Thank you very much for your help
    • sylon