Description
Description of defect
Inaccurate timeouts since d1ae0d5 was merged. Affects to Wi-SUN frequency hopping timer and potentially to other Nanostack timers too.
Measured with oscilloscope: Configured periodic timeout of 255 milliseconds is initially working properly but after couple of minutes, it start growing and error could be eventially several hundreds of milliseconds. For example, 30 minutes after test start the periodic timeout of 255ms was actually jumping somewhere between 400 and 500 milliseconds.
Target(s) affected by this defect ?
Seems that at least K64F, K66F and Disco_F769NI doesn't work properly.
For some reason, this issue doesn't affect to Nucleo_F429ZI.
Toolchain(s) (name and version) displaying this defect ?
GCC for Arm (gcc-arm-none-eabi-9-2019-q4-major)
What version of Mbed-os are you using (tag or sha) ?
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 1.2.2
How is this defect reproduced ?
Build simple Wi-SUN network of Border router (nanostack-border-router) and Router (mbed-os-example-mesh-minimal). mbed-mesh-test-application could also be used to configure device as BR or Router
mbed-mesh-test-application commands for Border router:
ifconfig --extension Wi-Sun
ifconfig mesh0 --mode brouter
ifup
mbed-mesh-test-application commands for Router:
ifconfig --extension Wi-Sun
ifup
Wait until Router joins the network. This issue should prevent it from joining.