Skip navigation
In this post we react on a message on the RTOS queue and publish its payload on Amazon's AWS IoT MQTT service.   Together with the two previous posts, this one describes a hardware component in the NanoDrone II project of balearicdynamics. Scenario: receive 16 bytes of payload from an Arduino over serial, and forward it to AWS cloud. The summary of the flow: 2 main tasks, one for the UART with Arduino, one for MQTT with AWS. all tasks sleep. when Arduino sends 16 bytes, a trigger ...
Despite the thousands of development boards that have shipped and the overwhelming interest from the market for the i.MX RT1170 crossover MCU, I do come across an occasional customer that does not understand the value.  They say they do not need the performance or integration or security that the i.MX RT1170 MCU family offers.  More often than not though, they simply do not understand how these features could work for them in their applications.   Take, for example, applications ...
The steps to use an RTOS message queue to exchange data between tasks. In this post, we post data from the low level hardware (UART peripheral) to a task that handles a logic part of our firmware.   This is a direct follow up from the previous FreeRTOS post, where semaphores and triggers were used to collect incoming UART data without burning CPU cycles. Now, we add the mechanism to give that data to the logic part of the application, while keeping the UART / low-level part lean. We' ...
The steps to integrate incoming UART data with FreeRTOS on a PSoC 6. The focus is on saving processor power. The design does not poll for incoming data. It yields all powers to the RTOS scheduler (possibly going to low power mode) until a trigger fires after a defined number of bites arrived at the UART input.   Define a UART with TRIGGER Support  In the initial part of the exercise, I follow the PSoC 6 documentation for Serial Communication Block configuration. You will recognis ...

Filter Blog

By date: By tag: