Hello!
We are trying to acquire accelerometer readings from the Sony Spresense board and we are met with the following errors:
When using edge-impulse-daemon:
$ edge-impulse-daemon
Edge Impulse serial daemon v1.15.1
Endpoints:
Websocket: wss://remote-mgmt.edgeimpulse.com
API: https://studio.edgeimpulse.com/v1
Ingestion: https://ingestion.edgeimpulse.com
[SER] Connecting to /dev/ttyUSB0
[SER] Serial is connected, trying to read config...
[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected
[SER] Serial is connected, trying to read config...
[SER] Retrieved configuration
[SER] Device is running AT command version 1.7.0
? To which project do you want to connect this device? Zalmotek / test123
And the board succesfully connects to the platform, but when acquiring accelerometer data we are prompted with the following error:
When using edge-impulse-data-forwarder:
$ edge-impulse-data-forwarder
Edge Impulse data forwarder v1.15.1
Endpoints:
Websocket: wss://remote-mgmt.edgeimpulse.com
API: https://studio.edgeimpulse.com/v1
Ingestion: https://ingestion.edgeimpulse.com
[SER] Connecting to /dev/ttyUSB0
[SER] Serial is connected (2a:7b:32:d9:bc:61:e8:11:84:12:64:b5:5b:fe:f1:39)
[WS ] Connecting to wss://remote-mgmt.edgeimpulse.com
[WS ] Connected to wss://remote-mgmt.edgeimpulse.com
? To which project do you want to connect this device? Zalmotek / test123
[SER] Detecting data frequency...
[SER] Failed to get information off device ERR: Can't write KX126 CNTL2 register
When using AT commands:
$ edge-impulse-run-impulse --raw
Edge Impulse impulse runner v1.15.1
[SER] Connecting to /dev/ttyUSB0
[SER] Connected to /dev/ttyUSB0
ERR: Can't write KX126 CNTL2 register
Accelerometer (KX126) missing or not working correctly
Hello from Edge Impulse Device SDK.
Compiled on Mar 24 2022 09:16:37
Loaded configuration
Type AT+HELP to see a list of commands.
>
The board was flashed with the firmware downloaded from Sony's Spresense - Edge Impulse Documentation and flashed using a Python 3.7 venv.
Any clue on why this is happening? Thank you.