6678有两个网口,现在两个网口都要用,底层初始化应该是都一样。
问题是上层应用中 NDK 发送和接收网络数据时,怎么区分是哪个网口的。
在发送和接收上要做哪些更改?
NDK能同时支持两个网口的发送接收吗?
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.
6678有两个网口,现在两个网口都要用,底层初始化应该是都一样。
问题是上层应用中 NDK 发送和接收网络数据时,怎么区分是哪个网口的。
在发送和接收上要做哪些更改?
NDK能同时支持两个网口的发送接收吗?
请参考 2.9 Initialization 配置port1和port2的寄存器。
https://www.ti.com/lit/ug/sprugv9d/sprugv9d.pdf
访问寄存器的API函数可以在以下链接找到:
NDK能同时支持两个网口的发送接收吗
可以同时发送接收,两者使用的是不同的寄存器配置。
参考以下帖子的回复看一下,并跟进。
e2e.ti.com/.../tms320c6678-how-to-use-dual-network-port-on-tms320c6678