As you may have read in the latest edition of my Zephyr Weekly Update, Zephyr RTOS now has support for the very popular MXChip AZ3166 IoT DevKit!
There are tons of IoT developer kits out there, but this one is particularly interesting to me as it’s been used by Microsoft for many years as one of the reference platform for the Azure IoT demos and tutorials. Many folks all around the world have had the opportunity to play with it, and I thought adding support for it in Zephyr RTOS would be a good opportunity to give everyone an excuse to learn more about Zephyr by directly getting their hands dirty.
I have just posted the following short video on my YouTube channel, and I encourage anyone interested in dusting off their MXChip DevKit to watch it and give the Zephyr Getting Started a try 🙂
If you have any questions or need help, feel free to leave a comment below or on the video!
If you enjoyed this article, don’t forget to subscribe to this blog to be notified of upcoming publications! And of course, you can also always find me on Twitter and Mastodon.
5 replies on “Getting Started with Zephyr RTOS on the MXChip IoT DevKit”
Hi, I just tested the sensor shell using this board. The LSM6DSL IMU has values of 0 for all accel and gyro fields. I’m wondering is this behaviour normal?
Hi Alexandre, and sorry for the late reply. Did you try using the LSM6DSL sample? If not then the issue might be that you haven’t actually configured and started the actual sampling? You would need to set the relevant attributes (att_set) on the sensor to enable those.
Hi Benjamin, I only tested using the samples/sensor/sensor_shell example. I was able to get values from the magnetometer but not from the lsm6dsl IMU. I didn’t know that the samples/sensor/lsm6dsl existed, I’ll have to try it sometime soon.
FYI, your wordpress might need some adjustments. It sent me 4 notification emails. One with your reply to this post and 3 others with messages such as “test test” and “tfdgdfgd”.
I think the difference is that the lsm6dsl is “off” by default and requires sampling frequency to be set first, whereas magnetometer defaults to sampling at 10 Hz.
Sorry for the spam with the “test” messages — this was me testing the email notifications!
Hi Benjamin,
I finally found some time to test the [lsm6dsl sample](https://docs.zephyrproject.org/latest/samples/sensor/lsm6dsl/README.html). I can’t get it to work. Since I couldn’t tell if the issue was comming from the hardware or zephyr, I tested an old sample application of yours [mxchip-serial-capture](https://github.com/kartben/mxchip-serial-capture) and data from the IMU is printed in the terminal. I’m wondering what issue the zephyr sample has that prevent me from reading IMU data. Do you have any idea?