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.

DSP halts periodically

Other Parts Discussed in Thread: TMS320F28335

My DSP halts periodically, about one time of a hundred.

We have located the problem to where the code is writing to external SRAM.

Can the settings for the SRAM be the cause of this?

XintfRegs.XTIMING7.bit.XWRLEAD = 1;       
XintfRegs.XTIMING7.bit.XWRACTIVE = 2;
XintfRegs.XTIMING7.bit.XWRTRAIL = 1;

XintfRegs.XTIMING7.bit.XRDLEAD = 1;   
XintfRegs.XTIMING7.bit.XRDACTIVE = 3;   
XintfRegs.XTIMING7.bit.XRDTRAIL = 0;

 

  • I have the same problem on my TMX320F28355. My DSP hangs about one time in 10, when I do my first write or read on the XINTF after a power cycle.

    I have an FPGA connected to the XINTF and I am just accessing some FPGA registers.

    If I reset the board the without power cycling, the DSP seems to work perfectly every time.

    I am using XINTF zone0 16 bit data

     XintfRegs.XTIMING0.bit.XWRLEAD = 3;
     XintfRegs.XTIMING0.bit.XWRACTIVE = 7;
     XintfRegs.XTIMING0.bit.XWRTRAIL = 1;
      // Zone read timing
     XintfRegs.XTIMING0.bit.XRDLEAD = 1;
     XintfRegs.XTIMING0.bit.XRDACTIVE = 7;
     XintfRegs.XTIMING0.bit.XRDTRAIL = 1;

    Regards,

    Ian.

     

     

  • I forgot to mention that I use a TMS320F28335.

    And I use the following pins:

    XA0-XA18

    XD0-XD15

    XZCS7n

    XWE0n

    XRDn