This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVM5515 LCD example for DSPBIOS

Hi all,

I am trying to draw strings on the OLED.

Examples providing with the EVM work well BUT they are for code not using DSPBIOS.

When I am trying to compose this code with another example using DSPBIOS I am getting garbage.

I guess, there is some under-water assumption about the buffers placement in the memory.

So, I am looking for example using LCD from DSPBIOS based code,

Thanks in advance,

  • Hi Rubbi,

    Please ensure LCD buffers are aligned to even address in the memory.

    You can use 'pragma' for this purpose

    #pragma DATA_ALIGN(buffer_name, alignment);

    Can you please share the details of example you are trying to run with BIOS and font table you are using?

    Regards,

    Pratap.

  • Hi Pratap,

    I am trying to start from example CSL_LCDC_TextDisplayExample from the CSL package

    (running CCS4.1 with EVM5515).

    As is it the example is running well and displays the strings as needed.

    Next step I added the code to simplest DSPBIOS skeleton.

    Starting from this point the strings are displayed but the fonts are "broken" (displayed as garbage).

    About the alignment - whats  buffers are you speaking about. To be sure I added alignment (16) to -

    fonts table, strings table, LCD config structures - remaining the content as in the example.

    Unfortunately, the result was the same.

    What else can be wrong here?

    Many thanks in advance,

    Rubbi

    In the application