Serial Monitor guide

Using serial monitor

You can use USB built-in dongle on Rialto Board for programming or Serial Monitor purpose.
The only attention is that you must “deselect” COM port in the Flash GUI Tool (or close program) before connect with Terminal (i.e. HyperTerminal)
This is because the same COM port is used by Flash Programmer and (when application firmware starts) by Serial Monitor.
Example: if your Rialto Board is connected to COM4, if possible, change COM Port settings in Flash GUI Programmer BEFORE attempting to connect HyperTerminal
Best way is to close NXP Flash GUI Tool before connect Terminal to device COM port.
_images/com_ch.jpg

Note

Startup messages are same in End-Node and Coordinator

Coordinator Serial Monitor

When Coordinator is power up, it sends (in sequence):

_images/reset.jpg _images/res_coord.jpg

and after starts main menu as follow:

_images/coord_menu.jpg

Serial Monitor main messages and commands

  • End-Node detected and associated
_images/coord_ass.jpg
  • End-Node poll fail and dissociated (details orange circled)
_images/coord_diss.jpg
  • Send data to End-Node (“W” command)
_images/coord_wdata.jpg
- Sendig data to End-Node result
Red circled: detail of data message
Blue circled: sending End_Node address
Green circled: data string hex format
Yellow circled: data string terminator (same for all data sending)
Orange circled: Data sending result
_images/coord_wsend.jpg

Important

In the Coordinator Monitor W command will send a “string” to a selected End_Node. You can see the received message inside End_Node Serial Monitor addressed by Coordinator

  • Network status (“N” command)
_images/coord_net_status.jpg
  • Set Coordinator PAN.ID (‘c’ command)
_images/coord_local_pan.jpg

Please, note that ‘c’ command (lowercase) set only coordinator PAN.ID. To configure all network PAN.ID, use ‘C’ command (uppercase)

_images/coord_local_pan_set.jpg
  • Set network PAN.ID (“C” command)
_images/coord_pan_id.jpg
- See image below:
Red circled: detail of PAN.ID configuration message
Blue circled: PAN.ID message status
Green circled: PAN.ID network global settings
_images/coord_set_new_pan.jpg

after system restart

_images/coord_new_pan.jpg
  • Default PAN.ID (“I” command)
_images/coord_init_pan.jpg
  • Request End-Node ADXL362 data (“S” command)
_images/coord_adxl_request.jpg
  • Received End-Node ADXL362 data
_images/coord_adxl_data.jpg
  • Request End-Node SENS300 data (“3” command)
_images/coord_s300_request.jpg
  • Received End-Node SENS300 data
_images/coord_s300_data.jpg

Important

All sensors data are transmitted in 32 bit HEX format, without any conversion in ASCII format. Values are position dependent, and must be read scanning the data string received

Note

In the Coordinator Monitor S and 3 command will answers a selected End_Node to read and send sensor data. You can see sensor data both in End_Node monitor and Coordinator monitor

  • Disable verbose mode (”!” command)
_images/verbose.jpg

Note

In the Coordinator Serial Monitor, verbose mode is also set by SerizII. With verbose mode disabled, Serial Monitor messages are limited to data string and few other information. Check by yourself this operation mode.

End-Node Serial Monitor

  • End-Node main menu
_images/end_menu.jpg
  • Coordinator found, End-Node association
_images/end_ass.jpg
  • Coordinator lost, End-Node dissociation
_images/end_diss.jpg
  • Set data to send to Coordinator (“W” command)
_images/end_set_string.jpg
- Data sending
Blue arrow: string to send
Orange circled: hex string format
Red circled: End-Node address that send the message
Blue circled: Data sending result
_images/end_w_send.jpg
  • End-Node network status (“N” command)
_images/end_status.jpg
  • End-Node ADXL362 data sending (“S” command)
_images/end_adxl.jpg
  • End-Node SENS300 data sending (“3” command)
_images/end_s300.jpg
  • End-Node Auto Send Sensors Data toggle (”!” command)

disable auto send

_images/end_auto_dis.jpg

enable auto send

_images/end_auto_en.jpg
  • End-Node Sleep Mode (“Z” command)
_images/end_sleep.jpg

Important

In End-Node module, configuration command “C” perform only local device PAN.ID settings. If you use this command, End-Node will dissociate himself until it find a Coordinator with same new PAN.ID. The setting sequence is identical to that of the Coordinator command “c”(lowercase)