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.

[参考译文] TMS570LS1224:MIBSPI 具有无线功能

Guru**** 2473260 points
Other Parts Discussed in Thread: HALCOGEN

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/683263/tms570ls1224-mibspi-is-wierd

器件型号:TMS570LS1224
主题中讨论的其他器件:HALCOGEN

大家好、如果我的代码是这样的

   uint16 TX_DATA[8]={0x71 };
   mibspiInit();
   while (1){
       mibspiSetData (mibspiREG1、0、TX_DATA);
       mibspiTransfer (mibspiREG1、0);
   }

我使用示波器、它工作正常。 但是、如果我将代码更改为

   uint16 TX_DATA[8]={0x71 };
   mibspiInit();
   mibspiSetData (mibspiREG1、0、TX_DATA);
   mibspiTransfer (mibspiREG1、0);

我无法在示波器上检测到任何数据、任何时钟脉冲。 我不知道。 有一些针对 mibspi 的轮询方法发送代码、而不是 HalCogen 一个、因为它是中断版本。 谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你好 Joe、

    通过将 TRIGSRC 设置为0 (禁用)、将 TRIGEVT 设置为7h (始终)、并将 ONESHOTx 位设置为1、软件可以触发此 TG。 设置 TGENA 位后、TG 立即被触发。