各位前輩們您好
我將VCM_CONFIG1的LOOP_CNT1_FLD設置成0x05,希望在每次開機的時候能撥放5次,
想請問有甚麼方式能知道現在FPGA撥放到第幾次呢?或是FPGA現在撥放到第幾個Frame呢?
謝謝。
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.
各位前輩們您好
我將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);
}
系统有多少张图片,MSP430代码可以读出。然后播放哪些, MSP430来配置的。
FPGA只是根据配置来load bit plane pattern来显示驱动DMD。播放完产生interript, MSP430来load下一张。
因此只有MSP430知道现在播放哪张Pattern.