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.

[参考译文] CC2538:如何为 ZNP 器件配置 CC2538 USB 端口。

Guru**** 2507255 points
Other Parts Discussed in Thread: CC2538

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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/889808/cc2538-how-to-configure-cc2538-usb-port-for-znp-device

器件型号:CC2538
主题中讨论的其他器件: 传感器到云

您好、社区

我正在使用 CC2538 ZNP 器件。

我想使用 CC2538的 USB 端口与 Raspberry PI USB 端口进行通信。  

您能不能帮助我了解 Raspberry PI 和 CC2538 ZNP 器件上启用 USB 接口所需的配置类型。

此致、

Shiv Patil。

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

    您好、Shiv、

    对于 CC2538 ZNP 固件、您可以遵循  Zigbe_3_0_Linux_Gateway_1_0_1/Firmware/README.html 中的 CC2538_Gw_ZNP_EM_Standalone _USB 建议

    -dhal_uart_usb
    -dUSB_Setup_MAX_NUMBER_of_interfaces=5
    -DBB_ZNP
    (在 npiInit(中),uartConfig.FlowControl = false;)
    
    /*设备列表配置*/
    -DNWK_MAX_DEVICE_LIST=50
    -DZDSECMGR_TC_DEVICE_MAX=200
    //*将此_MAX_ENTRUST_ENTRUSTRUSTRUS/
    *项保留为默认值*/*/*/*/*默认值*/*条目/* 

    您可以尝试将其连接到 Z-Tool 以确保正确操作。  然后、如果使用传感器到云解决方案、则需要在 Raspberry Pi 上选择由 ZBEE_SERIAL_PORT 定义的正确串行连接。

    此致、
    Ryan