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.

LP-CC1312R7: WI-SUN FAN np_coap_node no serial output and not able to join border router

Part Number: LP-CC1312R7
Other Parts Discussed in Thread: WI-SUN

Hi,

I am following the SDKv6.20 SimpleLink Academy TI WI-SUN FAN Fundamentals. np_coap_node has no serial output.

At spinel-cli.py I had to comment out lines 292 to 295 to resolve a error.

  

After starting the wisunstack from spinel-cli the BR green led is on, and RN green led is blinking. RN still no output at Tera Term.

-kel

  • Hi Markel, 

    If the error was "module readline unavailable", it is expected on a windows PC.  

    The UART output is disabled in the newer version of the SDKs. To include the trace, in the predefined symbols of the project, instead of having "EXCLUDE_TRACE", change it to "xEXCLUDE_TRACE". The SL-Academy will be updated to have this. 

    The joining of the node to the border router in a WiSUN network typically takes a few minutes.

    Regards,

    Sid 

  • Hi

    The reason I commented out the spinel-cli.py lines 292 to 295 is due to "argument of type 'NoneType' is not iterable". I found the solution to that here below

    https://github.com/clarkperkins/click-shell/issues/7

    I am using now Python 3.9, But originally I was using Python 3.10 and there was another error that is why I downgrade to Python 3.9.

    From the guide is this supposed to run on Windows PC or Linux "python spinel-cli.py -u /dev/ttyACM0", because I have an error with that.

    Anyway, I will try again tomorrow.

    -kel

  • It worked. The serial print out from RN needs improvement.

    -kel