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.

DLP2021-Q1: MCU如何知道FPGA撥放狀態

Part Number: DLP2021-Q1

各位前輩們您好

我將VCM_CONFIG1的LOOP_CNT1_FLD設置成0x05,希望在每次開機的時候能撥放5次,

想請問有甚麼方式能知道現在FPGA撥放到第幾次呢?或是FPGA現在撥放到第幾個Frame呢?

謝謝。

  • https://www.ti.com/lit/zip/dlpc138

    你看看这些代码:里面有配置


    enableFPGAInterupts(INT_BROWNOUT | INT_LOOP_COMP);
    fpgaStopVideo(); //Must stop video prior to trying to access flash via registers
    getVideoCount(&videoCount);
    getAllVideoInfo(videos, videoCount);
    fpgaSetFramerate(VIDEO_FRAMERATE);
    // If there is a video in flash play the first video found, if not then load the first image found
    for(uint8_t i = 0; i < videoCount; i++){
    if(videos[i].frameCount > 1){
    fpgaSetVideo1(videos[i].address, VIDEO1_1_LOOPS, videos[i].frameCount);
    fpgaSetVideo2(videos[i].address, VIDEO1_2_LOOPS, videos[i].frameCount);
    break;
    }
    else{
    fpgaSetVideo1(videos[0].address, VIDEO1_1_LOOPS, videos[0].frameCount);
    fpgaSetVideo2(videos[0].address, VIDEO1_2_LOOPS, videos[0].frameCount);
    }

  • Hi Jeremy

    感謝回覆,

    據我所知MSP430這段的Code是在讀出初始設定狀態(0x64/0x68/0x6C/0x70與影像的初始位置),

    不知道我這認知是否有誤,有請指教,謝謝。

    那想問的是否有任何方法可以知道FPGA/DLP3021,現在正在撥放哪張影像,及它播完了嗎?

    是否有一個旗標,會在每次影片播完的時候可以被讀取到呢?

  • 系统有多少张图片,MSP430代码可以读出。然后播放哪些, MSP430来配置的。

    FPGA只是根据配置来load bit plane pattern来显示驱动DMD。播放完产生interript, MSP430来load下一张。

    因此只有MSP430知道现在播放哪张Pattern.

  • Hi Jeremy

    了解了,感謝您的解釋,謝謝。