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.

[参考译文] TMDSRM48HDK:如何使用 HalCoGen 代码接收 EMAC 数据

Guru**** 664280 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/1131348/tmdsrm48hdk-how-to-receive-emac-data-using-halcogen-code

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

使用 HalCoGen 04.07.01、生成的 EMACRxIntISR 调用:

emacRxNotification (...)

EMACReceive(...)

EMACCoreIntAck(...)

1. 这是否会导致我的软件错过最后一个被读取的以太网帧?  即 ,在调用 emacRxNotification()之前,软件是否应调用 EMACReceive()?

2. 当使用 hdkif 调用 emacRxNotification 时、如何使用 RX 缓冲器?  是否有这方面的示例?  我是否应该在处理缓冲区时修改 hdkif->rxchptr.active_head?  我想将数据包缓冲器发送到 LwIP。

提前感谢!