I'm trying to use the foxvhdl board and foxboard832 alltogether. The
foxvhdl board is used to process real time audio, video, then transmit
data to the foxboard. I have written this code to read data from the
foxvhdl:
while (1){
addr = REGISTER_1;
if (foxboneintwait(2,5)!=0xffff){
for (i=0;i<NUMBER_REGISTER;i++){
value=foxboneread(addr);
fwrite(&value, 2, 1, temp_fptr);
addr++;
}}}
//REGISTER_1 is the address of the first register to be read
//NUMBER_REGISTER is the amout of register to be read
First I write the core for foxvhdl to test the interrupt of the
foxboard. The core can modify the frequency of the interrupt, the
width of the highlevel and lowlevel... But when I try to catch the
interrupt from the foxboard, the foxboard always catches the wrong
number of the interrupt sent from the foxvhdl. For example: when the
foxvhdl sends 200 interrupt, the foxboard catch 198, 199, 200, 201
interrupt, and especially when the foxvhdl sends 1000 interrupt, the
foxboard only catches about 250 interrupts? Can somebody help me!
Best Regards!