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.

[参考译文] TMS570LS0914:TMS570LS0914软件资源

Guru**** 1821780 points
Other Parts Discussed in Thread: HALCOGEN, TMS570LS0914
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1178593/tms570ls0914-tms570ls0914-software-resources

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

您好!

您能不能共享具有和不具有中断的 CAN、ADC、SPI、N2HET 的 TMS570LS0914示例代码以及其他有用的资源。 我发现、仅仅通过使用 HALcogen 和 CCS 就不太容易理解它。 此外、

1) 1)当使用 GIOA 时、我在 HALcogen 中找不到一个选项、在该选项中、您可以在上升沿和下降沿生成中断? (但它在 N2HET 上可用作 GIO 输入)。

2) 2)如何将 CAN 的波特率设置为125或250 kbps? HALCoGen 似乎会发出错误/警告(对于配置的波特率和传播延迟、不可能进行有效的波特率计算)。

感谢你的帮助

此致、

Badri

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="545921" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1178593/tms570ls0914-tms570ls0914-software-resources "]是否可以共享具有和不具有中断的 CAN、ADC、SPI、N2HET 的 TMS570LS0914示例代码[/引用]

    HALCoGen 帮助包括以下几个示例:

    [引用 userid="545921" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1178593/tms570ls0914-tms570ls0914-software-resources ]1)使用 GIOA 时,我在 HALcogen 中找不到一个选项,您可以在上升沿和下降沿生成中断? [/报价]

    GIO 模块可以在两个边沿或单个边沿上生成中断。 要使用两个边沿、请启用 GIOINTDET 寄存器的位域。 GIOPOL 寄存器用于设置单边沿。  

    HAL 不包含此选项、请手动添加代码。  

    gioREG->INTDET = 0x4;//对于 GIOA[2]

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="545921" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1178593/tms570ls0914-tms570ls0914-software-resources )2)如何将 CAN 的波特率设置为125或250kbps? HALCoGen 似乎会发出错误/警告(对于配置的波特率和传播延迟、不可能进行有效的波特率计算)。[/引用]

    我们可以。