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.

TMS320F28377D: TMS320F28377D

Part Number: TMS320F28377D

在DSP28377D和LAN9252进行ethercat从站搭建的过程中twincat中遇到如图所示问题,并且dsp陷入到了do while的死循环中,请问是什么问题?

  • 不好意思,对LAN9252这个器件并不是很了解,这个也不是TI的料。

    根据上传的内容来看,这个EtherCAT PHY通过SPI与主控MCU进行通讯。按照你的描述,程序陷入到了do while循环,那应该是卡在了条件判断这里。

    可以看一下SPIReadDWord()函数实际上读出来的是什么,结合LAN9252的数据手册来看一下。

x 出现错误。请重试或与管理员联系。