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.

[参考译文] AM263PX-AM263PX:由于 Eth_Priv .c 中的中断处理、未发生以太网 Rx MCU-PLUS-SDK

Guru**** 2422190 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1505060/mcu-plus-sdk-am263px-ethernet-rx-is-not-happening-due-to-interrupt-handling-in-eth_priv-c

器件型号:MCU-PLUS-SDK AM263PX-AM263PX

工具/软件:

您好团队:

我们使用 MCAL 软件包 MCAL _AM263P_09.02.00

在测试以太网通信时、检查 Eth_Priv .c 后未发生 RX、在通知时观察到以太网帧接收  
要高于 Autosar 模块函数 If_Rx 以太网断言禁用中断、进而在处理高于 Autosar 级别的事件时导致 OS 出现问题
但是、由于 EthIf 是上层模块、因此 应启用通知 autosar 中断的任何上层。
根据我们的理解、MCAL 驱动程序在对驱动程序寄存器执行任何操作 时应禁用中断、但在通知上层时不应禁用中断。

请查看下图。

此致、

Shaik Abdul Mohasin