Welcome to the ChibiOS section on PLAY Embedded, your go-to resource for getting started with ChibiOS. Here, you’ll find a comprehensive series of articles that cover everything you need to know to get started with ChibiOS, from the basics of installing and setting up ChibiStudio, to creating your first ChibiOS project.
In addition to practical tutorials, we also cover the theory behind working with specific peripherals such as GPIO and SPI, giving you a deeper understanding of how ChibiOS interacts with these components.
Whether you’re a seasoned developer or just starting out with embedded systems, the ChibiOS section on PLAY Embedded has something for everyone. So dive in, explore our articles, and start your journey to mastering ChibiOS today!
In this article, we explore the ChibiOS/Shell, a fully configurable Command Line Interface (CLI) provided by ChibiOS. This tool allows users to interact with the operating system, execute tasks, and access system features through available serial drivers, utilizing either USB or UART ...
In this article, we will explore how to import and use a printf-like function for embedded systems provided by ChibiOS/HAL. This function, known as chprintf, is not included by default in projects and must be manually added to the makefile for use. The chprintf library is designed to work with ...
In ChibiOS/HAL, multiple drivers can leverage the UART. The simplest method to utilize this peripheral is via the Serial Driver. This driver utilizes I/O Queues for buffering input and output streams, providing several
...In this article, we will look at how to interface an ADXL355 accelerometer using SPI. To fully grasp the content of this article, you should be familiar with the fundamentals of SPI, including concepts like clock polarity and clock phase, as discussed in our previous article SPI 101: A ...
In this article, we explore the practical use of the Serial Peripheral Interface (often abbreviated SPI) with ChibiOS/HAL. The SPI, a synchronous, full-duplex communication protocol, is widely used in microcontroller data exchange, allowing for simultaneous data send and receive operations in ...
This article provides a comprehensive guide on multithreading in ChibiOS/RT, covering aspects like thread scheduling, priority inversion, and configuration guidelines for optimizing RTOS
...ChibiOS is a powerful solution specifically designed for developing production firmware for various microcontrollers. It stands out in the open source community due to its ready-to-use formula and its composition of interconnectable, yet independent products. As subsystems are often used in ...
In this article, we will explain what race conditions are and provide examples to help you understand their impact on multi-threading applications.
We will also introduce a powerful tool to prevent race conditions: the mutex. We will explain what a mutex is, how it works, and provide ...
Digital outputs are an essential part of embedded systems development, and one of the best ways to experiment with them is by using LEDs. In this article, we will take a hands-on approach to digital output using LEDs hooked together with resistors as a peripheral. Along the way, we will explain ...
Digital inputs are one of the primary ways embedded systems interface with the external world, allowing device-to-device communication and MCUs to respond to user inputs or environmental changes. In our previous article, we covered the fundamentals of the PAL driver of ChibiOS/HAL, which ...
Embedded system applications are becoming increasingly complex, and as a result, developers are constantly looking for new ways to make their firmware nimbler, simpler and more efficient. One of the most critical aspects of programming embedded systems is the use of interrupts to handle ...
The General Purpose Input/Output (GPIO) is a crucial peripheral in microcontrollers, enabling communication with the external world by sending and receiving signals through its input/output lines. GPIOs are highly configurable and versatile, with a single microcontroller often capable of ...