Sniffer code and UART flow control

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sniffer code and UART flow control

999 Views
mural20
Contributor I

Hi,

Is the code for the sniffer included in the SDK JN-SW-4168 available for users to edit? 

What is the UART interface used in the sniffer code? Is flow control using CTS/RTS required?

Thanks & Regards,

Murali

Tags (2)
0 Kudos
5 Replies

879 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Murali, I hope you're doing well!

 

The UART used in the Sniffer firmware does not make use of CTS or RTS for flow control.

 

Unfortunately, we cannot share the source code for the Jennic sniffer included with JN-SW-4168.

 I'm really sorry for the inconveniences this may cause.

 

Best regards,

Sebastian

0 Kudos

879 Views
mural20
Contributor I

Hi,

On trying with ubiqua, I'm unable to connect. I thought the flow control

was the issue. Is there any guide on how to connect with ubiqua sofware?

0 Kudos

879 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Murali,

 

To set-up a packet sniffer using the provided firmware, could you please take a look at Appendix B of the JN516x-EK004 Evaluation Kit User Guide? It provides a step by step guide on how to use the USB dongle and connect it to Ubiqua Protocol Analyzer.

 

If the dongle can not connect to Ubiqua, could you please check that the COM port is not being used by any program other than Ubiqua?

 

Please let me know if you continue to have issues.

 

Best regards,

Sebastian

0 Kudos

879 Views
mural20
Contributor I

Hi,

I don't have the dongle. I have the jn5168 module in a custom PCB with

uart0 port connected to pc through a usb TTL converter. The correct com

port is chosen and the ubiqua software initially shows a green light in

icon and then shows disconnected.

0 Kudos

879 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Murali,

 

Could you please compare the schematics of the USB dongle to the connections you're using for your TTL converter to see if they're connected correctly? The problem could be related to pin connections.

 

The schematics for the USB dongle can be found in this page of our website as "JN-AN-6039", and the schematic for the JN5168 USB dongle islocated in the following path:

<…\JN-RD-6039\JN-RD-6039-JN516x-USB-Dongle\DR1198_OM15020_JN516x_USB_Dongle_1V1\Schematic\DR1198_Schematic_1V0.pdf>

 

Please let me know if you still have issues.

Best regards,

Sebastian

0 Kudos