Hi Support team!
I tried to run this application on 2 JN5169 modules.USB Dongle as a Coordinator. DR1174 board as an End.
Step base on: JN-AN-1069-IEEE-802.15.4-Serial-Cable-Replacement
The LED0,1 flashing together ==> then LED0 (D3) always turn ON. So I think the connection is good.
However, I try to connect cable to both modules on UART0 with baud rate 115200.
USB Dongle -> COM3 , DR1174 board ->COM 4
I tried to send from one module "aaa" but never receive anything from another module.
I don't know if I have to follow any message format.
I'm a new member
Thank you very much!
Dear Sebastian Delrio
Connect to UART1
Makefile
But nothing happened! Anything wrong?. Please correct me!
Hi Tran,
I think the problem is that DGB_UART is defined as 0xFF, could you please try changing that value to the commented value "E_AHI_UART_1".
That define should look like:
#define DBG_UART E_AHI_UART_1 /**< Uart to use */
Could you please try that and tell me if it works now?
Best regards,
Sebastian
Thank for your help!
Actually. I connect to pin DIO14,DIO15 to get log. It work well :smileygrin:
Dear Sebastian Delrio
As i saw in crd_coordinator.c
Log debug will be print to UART1?
For get log. I'm connect cable to pin DIO14,DIO15 and try erasing the "#"(#TRACE ?=1) in make file
But nothing is displayed in terminal.
Please help me!!! Many thank.
Hi Tran Min Tan,
To receive the print log in UART 1, you'll have to connect the correct pins for communication, as in the DR1174 carrier board, only UART 0 is connected to the pins in the USB interface. You can check the module's schematic files to see which pins correspond to UART 1 (DIO17 is UART1 Clear to Send, DIO18 is UART1 Request to Send, DIO19 is UART1 TX and DIO20 is UART1 RX).
Could you please try that and tell me if it works?
Best regards,
Sebastian
Dear Sebastian Delrio
How to show log debug to UART 0?
I have set
#define CRD_TRACE TRUE
#define ED_TRACE TRUE
Thanks :smileygrin:
Hello Tran Min Tan,
To get the debug information, you'll also need to make sure the "trace" entry in the Makefile is not commented out of the code.
Could you try erasing the "#" in that line, saving, doing a cleanup, and building again?
Please let me know if you have any problems!
Best regards,
Sebastian
Hello Tran Minh Tan, I hope you’re doing well!
I tested the application note with the same devices (USB dongle JN5169 as coordinator, and DR1174 board as End Device) And it seems to be working as intended. I only changed the channel to 24, re-compiled the program and flashed each JN5169 binary file to its corresponding device.
Could you please try using another terminal emulator such as PuTTY or Tera Term and see if they work for you?
Please let me know if you're still having any problems.
Best regards,
Sebastian
Dear Sebastian Delrio
Thank for your help. It work well
Just check RST button. Hope you support me in other question :smileygrin:!
I hope that was helpful to you!
Best regards,
Sebastian