IoT Zephyr

Getting Started with Zephyr RTOS on the MXChip IoT DevKit

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.

By Benjamin Cabé

Benjamin Cabé is a technology enthusiast with a passion for empowering developers to build innovative solutions. He has invented an award-winning open source and open hardware artificial nose that he likes to use as an educational platform for people interested in diving into the world of embedded development.
He is currently a Developer Advocate for the Zephyr Project at the Linux Foundation and lives near Toulouse, France, where he enjoys baking sourdough bread with the help of his artificial nose.

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”.

Hi Benjamin,

I finally found some time to test the [lsm6dsl sample]( 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]( 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?

Leave a Reply

Your email address will not be published. Required fields are marked *