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.

[参考译文] RM46L852:UART 中断

Guru**** 2393725 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/778540/rm46l852-uart-interrupt

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

大家好、


我再次对 UART 有疑问、很抱歉再次打扰您。

我进入了项目中的某个阶段、需要在器件的 SCI2上启用 RX INT。

我如何在 Halcogen 中执行此操作(我在 VIM 通道中看不到 SCI2)?
如果我写入以下内容、就足够了:

sciEnableNotification (uartREG、SCI_RX_INT);
_enable_IRQ ();

在 CCS 中?


谢谢、
大卫!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 David:
    SCI2实际上是 SCI/LIN 模块的 SCI 模式。 也可以在 HALCoGen SCI2->SCILIN Global 选项卡中进行说明。 您还必须在此选项卡中启用所需的中断。 SCI/LIN 模块的 VIM 通道为13 (高电平)和27 (低电平)。

    sciEnableNotification 必须是 sciEnableNotification (scilinREG、SCI_RX_INT);如果尚未将 uartREG 定义为 scilinREG。


    此致、
    米罗