- Dec 18, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
- Dec 17, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
* Use a much smaller-in-scope west.yml, loading less modules * Add CC1352R1 LaunchpadXL support to `sensortest` * Simplify the device selection in `sensortest` * Add dummy nodes to the device tree to avoid errors, even if the device isn't there
-
Jason Kridner authored
-
- Dec 14, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
Start saving some instructions for setting up the build host.
-
Jason Kridner authored
-
- Dec 12, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
- Dec 10, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
- Dec 09, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
- Dec 08, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
- Dec 07, 2020
-
-
Jason Kridner authored
-
- Dec 06, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
Currently having difficulty with BeagleConnect Freedom rev C2 samples communicating as gateway devices. 802.15.4 2.4GHz is working fine as end nodes.
-
Jason Kridner authored
-
Jason Kridner authored
Now sw/build-firmware.sh will build all the firmware projects. Trying to keep everything aligned between the CI and quick build scripts for testing was becoming too much. While combining MSP430 and CC1352 builds into a single script might make it a bit more fragile, the code should be becoming a bit more stable. Submitting this to kick off a CI build using the script!
-
Jason Kridner authored
-
Jason Kridner authored
-
- Nov 26, 2020
-
-
Jason Kridner authored
* New Zephyr with upstream merge of some more code (raw mode) * Zephyr HDC20X0 driver * Board dts update for HDC20X0 driver * bcf_sensortest update for HDC20X0 driver * Unified MSP430 firmware (HDLC + UART pass-through) * Add demo script for bcf_sensortest broadcast UDP packets * Small feedback on build-firmware.sh script * CI adjust MSP430 builds to only one image * UART update in some flash scripts (default to /dev/ttyACM0)
-
- Nov 20, 2020
-
-
Jason Kridner authored
-
Jason Kridner authored
-
Jason Kridner authored
-
- Nov 19, 2020
-
-
Jason Kridner authored
``` uart:~$ *** Booting Zephyr OS build zephyr-v2.4.0-1244-g9e3c5d8f7352 *** [00:00:00.005,584] <inf> lis2dh: bus=I2C_0 fs=2, odr=0x4 lp_en=0x8 scale=9576 [00:00:00.013,153] <inf> net_config: Initializing network [00:00:00.113,159] <inf> net_config: IPv6 address: 2001:db8::1 [00:00:00.113,220] <inf> net_config: IPv6 address: 2001:db8::1 [00:00:00.113,952] <inf> beagleconnect_freedom: opening device 2.4G LED [00:00:00.113,983] <inf> beagleconnect_freedom: opening device SubG LED [00:00:00.113,983] <inf> beagleconnect_freedom: opening device User Button [00:00:00.114,013] <inf> beagleconnect_freedom: opening device OPT3001-LIGHT [00:00:00.114,044] <inf> beagleconnect_freedom: opening device LIS2DE12-ACCEL [00:00:05.558,227] <inf> beagleconnect_freedom: User Button event [00:00:05.558,441] <inf> beagleconnect_freedom: OPT3001-LIGHT: l: 62.200000 [00:00:05.558,868] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: x: 1.225728 [00:00:05.558,990] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: y: -1.072512 [00:00:05.559,112] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: z: -9.959040 [00:00:24.371,185] <inf> beagleconnect_freedom: User Button event [00:00:24.371,398] <inf> beagleconnect_freedom: OPT3001-LIGHT: l: 138.480000 [00:00:24.371,826] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: x: -0.459648 [00:00:24.371,948] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: y: -1.225728 [00:00:24.372,070] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: z: -9.499392 [00:00:33.501,983] <inf> beagleconnect_freedom: User Button event [00:00:33.502,197] <inf> beagleconnect_freedom: OPT3001-LIGHT: l: 67.360000 [00:00:33.502,624] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: x: -7.354368 [00:00:33.502,746] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: y: -2.451456 [00:00:33.502,868] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: z: -6.435072 [00:00:40.776,123] <inf> beagleconnect_freedom: User Button event [00:00:40.776,336] <inf> beagleconnect_freedom: OPT3001-LIGHT: l: 58.820000 [00:00:40.776,763] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: x: -1.991808 [00:00:40.776,885] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: y: 0.153216 [00:00:40.777,008] <inf> beagleconnect_freedom: LIS2DE12-ACCEL: z: -10.265472 uart:~$ device list devices: - PINMUX - UART_1 - UART_0 - TRNG - sys_clock - GPIO_0 - I2C_0 - SPI_0 - IEEE802154_0 - LIS2DE12-ACCEL - OPT3001-LIGHT uart:~$ sensor get LIS2DE12-ACCEL channel idx=0 accel_x = -2.145024 channel idx=1 accel_y = -3.064320 channel idx=2 accel_z = -9.192960 channel idx=3 accel_xyz x = -2.145024 y = -3.064320 z = -9.192960 uart:~$ sensor get OPT3001-LIGHT channel idx=17 light = 144.760000 uart:~$ ``` Host with atusb: ``` $ ./rx.py ('fe80::8f2f:5a21:4b:1200%lowpan0', 54908, 0, 61) '3l: 67.360000;4x:-7.354368;4y:-2.451456;4z:-6.435072;' ('fe80::8f2f:5a21:4b:1200%lowpan0', 54908, 0, 61) '3l: 58.820000;4x:-1.991808;4y: 0.153216;4z:-10.265472;' ``` rx.py: ``` import socket import sys import struct import time sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM, socket.IPPROTO_UDP) sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) sock.bind(('', 9999)) sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_MULTICAST_LOOP, True) mreq = struct.pack("16s15s".encode('utf-8'), socket.inet_pton(socket.AF_INET6, "ff02::1"), (chr(0) * 16).encode('utf-8')) sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, mreq) while True: data, sender = sock.recvfrom(1024) print (str(sender) + ' ' + repr(data)) ```
-
Jason Kridner authored
-
Jason Kridner authored
Summary of functionality (bug in button handler): ``` uart:~$ *** Booting Zephyr OS build zephyr-v2.4.0-1244-g9e3c5d8f7352 *** [00:00:00.005,584] <inf> lis2dh: bus=I2C_0 fs=2, odr=0x4 lp_en=0x8 scale=9576 [00:00:00.013,122] <inf> net_config: Initializing network [00:00:00.113,159] <inf> net_config: IPv6 address: 2001:db8::1 [00:00:00.113,220] <inf> net_config: IPv6 address: 2001:db8::1 [00:00:00.113,952] <inf> beagleconnect_freedom: opening device 2.4G LED [00:00:00.113,983] <inf> beagleconnect_freedom: opening device SubG LED [00:00:00.113,983] <inf> beagleconnect_freedom: opening device User Button [00:00:00.114,013] <inf> beagleconnect_freedom: opening device OPT3001-LIGHT [00:00:00.114,013] <inf> beagleconnect_freedom: opening device LIS2DE12-ACCEL uart:~$ device list devices: - PINMUX - UART_1 - UART_0 - TRNG - sys_clock - GPIO_0 - I2C_0 - SPI_0 - IEEE802154_0 - LIS2DE12-ACCEL - OPT3001-LIGHT uart:~$ sensor get OPT3001-LIGHT channel idx=17 light = 121.080000 uart:~$ sensor get LIS2DE12-ACCEL channel idx=0 accel_x = -2.145024 channel idx=1 accel_y = -2.145024 channel idx=2 accel_z = -9.652608 channel idx=3 accel_xyz x = -2.145024 y = -2.145024 z = -9.652608 [00:00:32.482,604] <inf> beagleconnect_freedom: User Button event [00:00:32.482,910] <inf> beagleconnect_freedom: �n [00:00:32.483,337] <inf> beagleconnect_freedom: �n [00:00:32.483,459] <inf> beagleconnect_freedom: �n [00:00:32.483,581] <inf> beagleconnect_freedom: �n [00:00:33.482,696] <err> log: argument 0 in source beagleconnect_freedom log message "%s" missinglog_strdup(). [00:00:33.482,696] <err> log: argument 0 in source beagleconnect_freedom log message "%s" missinglog_strdup(). [00:00:33.482,727] <err> log: argument 0 in source beagleconnect_freedom log message "%s" missinglog_strdup(). [00:00:33.482,757] <err> log: argument 0 in source beagleconnect_freedom log message "%s" missinglog_strdup(). ```
-