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.

C6678 NDK DEMO程序底层修改咨询



使用的MCSDK内的DEMO程序helloworld,具体版本与路径信息如下:

mcsdk_2_01_02_06
ndk_2_22_03_20
C:\ti\mcsdk_2_01_02_06\examples\ndk\helloWorld

开发板给PASS的输入参考时钟为312.5M hz
自制板给PASS的输入参考时钟为100M hz

有以下几个问题:

1 请问在上述helloworld的demo程序中需要怎么做调整才能在100M hz下正常运行?

2 demo程序helloWorld中关于emac,mdio,phy等部分的底层配置源文件在什么位置可以找到?

3 NDK下TCP数据通信带宽能达到什么水平?

4 怎么设置以提高单次TCP数据收发的最大字节数?

  • 需要修改初始化阶段的PLL配置,源码可以在pdk中找到。

    NDK TCP througput相关参考:

    https://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/p/11669/45550?tisearch=e2e-quicksearch&keymatch=NDK%20TCP%20throughput#45550

    https://e2e.ti.com/support/embedded/tirtos/f/355/t/283207?tisearch=e2e-quicksearch&keymatch=NDK%20TCP%20throughput

  • 在NDK 2.22.03.20 GA Release Notes看到关于NSP的描述:

    NDK examples are no longer included as part of the NDK core release. All examples are now located in a seperate Network Support Package (NSP).

    This NDK release was validated using the latest NSP 1.10.01.06 product for the evmOMAPL138 and evm6748 and so works best with the examples found in that product. Users who have the evmOMAPL138 or evm6748 hardware platforms should make sure to use the latest NSP product with this NDK release.


    请问C6678对应的NSP在哪里有下载?

  • helloworld例程使用的是PDK   platform,你看一下platform的src就知道怎么改了

  • 1 请问在上述helloworld的demo程序中需要怎么做调整才能在100M hz下正常运行?

    这个问题问错了,实际是SRIO_SGMII_CLKP/N输入时钟,开发板为312.5M,自制板为125M输入。需调整的对应源码与参考文档如下:

    源码: C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_lib\src\evmc6678_phy.c 函数configSerdes

    文档:《Gigabit Ethernet Switch Subsystem for KeyStone Devices User's Guide》 3.6 Serializer/Deserializer (SerDes) SGMII Boot Configuration Registers