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.

[参考译文] TDA4VH-Q1:VCM_ MCAL 配置、用于在 j784s4 SOC 续模式下从 ETH FW 接收以太网帧

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1658185/tda4vh-q1-vcm_-mcal-configuration-for-receiving-ethernet-frames-from-eth-fw-in-j784s4-soc-continuation

器件型号: TDA4VH-Q1

Hi sudere,

以下 TT 的问题尚未解决、但显示已关闭?  :
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1657763/tda4vh-q1-mcal-configuration-for-receiving-ethernet-rames-from-eth-fw-in-j784s4-soc 6393073

继续上述机票:

我检查了 TI SDK 中提供的虚拟 MAC 示例、并对接收路径有疑问。

在 VirtEth_main() 该函数中、我想了解如何将从 EthFw 新接收到的以太网帧通知 MCU1_0。 在该示例中、帧接收似乎依赖于以下轮询循环:  

 
 
/*等待 Rx 帧*/
while (0 == gEthApp.stats.rxPktIndCnt)
{
IF (gEthApp.rxIrqDisable)
{
EthApp_receiveAllFifo (gEthApp.ctrlIdx);
}
}
 
 

由于在 while 我们的应用中无法实现循环中的持续轮询、因此我想知道当 EthFw 有新的以太网帧时、建议使用什么机制来通知 MCU1_0。

我还尝试调用 Eth_VirtMac_MainFunction() (这似乎处理 RPC 通知更改和调用) Eth_Receive()从我们的循环任务。 但是、我遇到了与未声明或缺少头文件相关的多个编译错误。

请告诉我:

  1. 在生产实施中、通常如何向 MCU1_0 通知新的 RX 帧?
  2. Eth_VirtMac_MainFunction() 在应用任务中集成和使用哪些源文件和头文件?

此致、
否