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



我用的是2803x,想快速复位重启DSP,看了下资料发现可以对WDCHK操作进行快速复位,但是头文件里WDCHK没定义,不知道这个要怎么定义和操作?  

   Uint16                  SCSR;        // 18: System control and status register
   Uint16                  WDCNTR;      // 19: WD counter register
   Uint16                  rsvd4;       // 20
   Uint16                  WDKEY;       // 21: WD reset key register
   Uint16                  rsvd5[3];    // 22-24
   // No bit definitions are defined for WDCR because
   // the proper value must be written to the WDCHK field
   // whenever writing to this register.
   Uint16                  WDCR;        // 25: WD timer control register
   Uint16                  rsvd6[5];    // 26-28

还有其它方式可以软件直接复位DSP吗?

  • 软件进行复位   要进行可操作可控   最好用WD

    上面的代码中的变量是你自己定义的吗    还是结构体中的

    如果是结构体中的   那就是有定义的   安装bit定义的