Errors with running the ACCEL 10 CLICK on zephyr port of Micropython

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
Yadnik
Posts: 65
Joined: Thu May 13, 2021 6:01 am

Errors with running the ACCEL 10 CLICK on zephyr port of Micropython

Post by Yadnik » Mon Jul 26, 2021 1:56 pm

I am trying to run the Accel 10 click based on LIS2DW12TR accelerometer from STMicroelectronics.However I am getting errors around the reg_read function and spi.write() methods.It would be truly grateful if someone could please have a look at my code: https://github.com/Yadnik1/Accel-10-cli ... 20click.py and tell if I am making any mistakes.
Since I am running it on the Zephyr port of Micropython, is there support to methods like spi.read(), spi.write() or am I making mistakes from my end. Also is there any alternative for ustruct in the zephyr port to convert register values into 16-bit signed integers.
Thank you very much!!

Post Reply