This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WL1837MOD: Precise Time Sync with beaglebone and connectivity cape (e14) : How to use it ?

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837

Tool/software: Linux

Hello everyone,

I would want to use the precise time synchronisation with a beaglebone black and a connectivity cape from Element14 using the WL1837 chip.

I did the following :

root@am335x-evm:/usr/share/wl18xx# ./wlconf-toggle-set.sh /lib/firmware/ti-connectivity/wl18xx-conf.bin sync 1

File: /lib/firmware/ti-connectivity/wl18xx-conf.bin
Feature: sync
Mode : 1

Enabling Feature:  sync
core.sg.params = 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000f, 0x0000001b, 0x00000011, 0x000000aa, 0x00000032, 0x00000064, 0x00000320, 0x000000c8, 0x000000c8, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x0000003c, 0x00001388, 0x000004b0, 0x000003e8, 0x00000001, 0x00000003, 0x00000006, 0x0000000a, 0x0000000a, 0x00000002, 0x00000005, 0x0000001e, 0x00000003, 0x0000000a, 0x00000002, 0x00000000, 0x00000019, 0x00000019, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
core.sg.state = 0x01

root@am335x-evm:/usr/share/wl18xx# echo 100 > /sys/kernel/debug/ieee80211/phy0/wlcore/wl18xx/time_sync
-sh: /sys/kernel/debug/ieee80211/phy0/wlcore/wl18xx/time_sync: Permission denied

Do you know if the "core.sg.params = 0x00000000" message is normal ?
I can't find any "time_sync" file in the "wl18xx" folder and naturally I have a "Permission denied" when I try the last command.

Did I miss something ?
Do you know how the sync function is working ? How can I verify it is actually working ?

Thanks a lot.

Best Regards


Will