beautypg.com

Autobaud, Latency test – Wavetronix Click 500 (programmable controller) (CLK-500) - User Guide User Manual

Page 65

background image

64

CHAPTER 7 CLICK 510

Note

The minimum baud rate supported by many Click and SmartSensor modules is 9600
bps. The maximum baud rate supported by many Click modules is 57600 bps.

Autobaud

Automatic baud rate discovery is the fourth option presented in the menu selection process,

shown by the green LED turning on solid. Automatic baud rate configuration is a task, not

an operating mode. This means that as soon as the discovery process finishes, the Click 510

will return to the previous operating mode. For example, if you were use the Click 510 to

perform a latency test, the device would return to Latency Test mode after the autobaud

process.

If the discovery process is successful, all the submenu LEDs (yellow and red) will turn on

together for 1 second, before returning to the prior mode of operation. This signals that the

baud rate has been set to match the sensor.

The discovery process attempts all the baud rates listed in Figure 7.4 above. SmartSensor

105 autobaud discovery requests are sent at each baud rate. If a response to a request is re-

ceived, the Click 510 baud rate will be set to match the SmartSensor baud rate. Each baud

rate is attempted 10 times with a longer wait time on each successive iteration. During the

discovery process, the red and green system LEDs will be illuminated (the green LED will

flicker when serial transmit activity occurs).

If the discovery process is not successful, the baud rate of the Click 510 will remain the same

and the device will return to the previous mode of operation. The entire process may take

up to 1.5 minutes if unsuccessful.

Latency Test

Latency Test mode is the fifth option presented in the menu selection process. This test is

performed to measure the time it takes data packets to travel across your communication

channel. When you first enter the latency test mode, the results from the last latency test will

be displayed as a series of submenu LED combinations that flash in a repeating sequence.

Before your start the test, make sure that both devices are in the Latency Test operation

mode (with the results from the last test displayed as a repeating sequence). Then, to start a

test, press the push-button on one of the Click 510 devices.

While a test is initializing the entire row of red LEDs will flash on. As the test proceeds, the

entire row of red LEDs will be illuminated along with one of the yellow LEDs. Each yellow

LED represents the data packet size being sent across the communication channel. The data

packet sizes are 16, 32, 64 and 128 bytes. The latency test will send each of these packets