Questions tagged [rtos]

A Real Time Operating System - one used typically in industrial control systems. characterized by a predicable response time to interrupts and system requests. Designed in such a way that the developer can be sure of meeting timing requirements of industrial processes.

Filter by
Sorted by
Tagged with
1 vote
0 answers
79 views

Seeking a Real Time Clock with TTL output [closed]

I am seeking recommendations for a device to output a TTL signal based on time from the device's internal clock. Probably off the shelf items, but I need to know where to start. My PC processing ...
gregp's user avatar
  • 11
0 votes
1 answer
63 views

Bluetooth trilateration using nRF5340

I am a total beginner in working with RTOS and Zephyr and nRF devices. I would like to build a Wireless Sensor Network which consists of 3 nodes (maybe set in a Bluetooth Mesh) whose primary objective ...
Theodor's user avatar
  • 65
0 votes
1 answer
71 views

Data collector: how much power will my system use (Linux vs. RTOS)?

This is about a data collection device. It mainly contains a Linux operating system, various data interfaces such as RS232/RS485/CAN/SDI-12/RJ45, etc., and a communication module for 4G and satellite ...
zilong li's user avatar
0 votes
0 answers
134 views

How to implement NRF52840 BLE DFU using Zephyr RTOS?

I am using Zephyr RTOS to run an NRF52840 module using NRF Connect SDK V2.2.0. Can anyone please indicate on how to implement BLE DFU with Zephyr. My current application already has BLE read and write ...
Chris's user avatar
  • 9
1 vote
0 answers
118 views

Azure NetX Duo: where can I find a driver compatible with my Ethernet PHY ADIN1200?

Context of my question I am trying to use Azure NetX Duo with a micro STM32F4. I'm using the following tools: STM32CubeMX version 6.7.0 In the STM32CubeMX I have installed the Package STM32F4 version ...
User051209's user avatar
1 vote
0 answers
761 views

How to solve the linker 'Error: L6218E Undefined symbol' when I compile a project with RTOS ThreadX?

I'm trying to compile a project where I have add the Software Pack RTOS ThreadX on a STM32F4 and I'm using uVision Keil 5.29. I have included ThreadX in the project ...
User051209's user avatar
1 vote
1 answer
120 views

Timer behavior when implementing an RTOS

Assuming I have an RTOS running on an MCU and it has 3 tasks that it should switch between, and say the time spent on each task is 10 ms before moving on to the next task (This includes moving the ...
Rikus Coetzee's user avatar
0 votes
1 answer
618 views

Question about the nRF Connect SDK v2.1.0 - Zephyr adc example using nRF52840 (PCA10056)

I am trying to understand the ADC example using PCA10056. In the DT file, there are two different ADCs in the device tree ...
r0n9's user avatar
  • 133
3 votes
2 answers
131 views

Using an internally developed RTOS, is this expertise or madness? [closed]

I work for a company which is using a very efficient, but difficult to use RTOS for the embedded projects which they design bottom up, hardware included. This RTOS is 100% made from scratch internally ...
thexeno's user avatar
  • 1,305
1 vote
2 answers
380 views

8-Bit / Small Zephyr RTOS Microcontrollers? [closed]

I have not kept up with microcontrollers over the last few years, and am teaching a new EE out of college practical firmware on devices. When I learned how to write firmware, I started with a PIC16 (...
Leroy105's user avatar
  • 1,867
0 votes
0 answers
417 views

Blocking Task when calling vTaskDelay

I'm running some tasks in esp32, my problem is when im calling vTaskDelay() from a task, an other task start executing, wich is something i dont want, so how to make vTaskDelay() a blocking function ...
younes anouar's user avatar
0 votes
2 answers
130 views

Dealing with slower consumer trying to consume data from faster producers

There's a producer thread t1 that's reading and outputting sensor S1 data at 20Hz. There's another producer thread ...
xyf's user avatar
  • 325
1 vote
1 answer
238 views

CMSIS-RTOS2 message consumption from queue

The docs do not explicitly mention if a successfully received (get()) message is then wiped from the queue, aka "consumed". Is this unclear in the docs or ...
jake_asks_short_questions's user avatar
3 votes
1 answer
1k views

FreeRTOS scheduler is not triggering the TASK

I am programming an STM32F103 for my project and recently switched from bare-metal to RTOS (FreeRTOS to be specific) without using CubeMX (code attached below.) For now, I am simply running an LED ...
No Man's user avatar
  • 347
1 vote
0 answers
350 views

ESP32 - Clock setting

I've been trying to code a ESP32 device with esp-idf sdk (rtos programming). Normally, in my personal projects, I'm used to bare metal programming, while at work, I handle linux systems. It seems to ...
andre.hre's user avatar
  • 139
0 votes
0 answers
698 views

How to flash a Zephyr RTOS sample project to the nrf52840 dongle using J-Link Base debugger and SWD

I'm a beginner at this, I'm a software developer so I've never worked with hardware but now I need to and I don't seem to be able to make it work. I would need help as to how can I flash a Zephyr RTOS ...
Jimmy's user avatar
  • 1
3 votes
1 answer
419 views

FreeRTOS - Guru meditation error

I've recently started to study esp-idf sdk, there a lot of new concepts related to RTOS that are new to me. I'm using a ESP32-WROOM-32 board. My main problem concerns to the following code: ...
andre.hre's user avatar
  • 139
0 votes
1 answer
203 views

What are the standard ways to debug RTOS embedded systems? [closed]

I have only recently started looking into RTOS. I have become aware of existence of FreeRTOS and ThreadX. While the basic theory makes sense, I am getting a bit ahead of myself in my head and getting ...
quantum231's user avatar
  • 11.6k
0 votes
1 answer
197 views

How should I assign different tasks in an RTOS?

I have a STM32 microcontroller which implements a special UART protocol which is packet-based. I use FreeRTOS to run different tasks. For instance, I have one task that implements a PID control loop ...
T. Pluess's user avatar
  • 531
1 vote
1 answer
816 views

What is the difference between Bare metal, RTOS and SoC? [closed]

Having just recently gotten into embedded programming using PIC microcontrollers, I am trying to understand the difference between Bare metal, RTOS and SoC. Online searches reveal contradictory ...
aLoHa's user avatar
  • 597
-1 votes
1 answer
192 views

Installing Embedded RTOS in VMware

can RTOS like Nucleus and Zephr be installed in VMware Is it possible to install in VMware. I like to learn RTOS and if there is any smaller version of some RTOS that can be easy to learn then that ...
user786's user avatar
  • 99
2 votes
2 answers
852 views

Discussing FreeRTOS architecture for sort of a data logger application

I'm fairly new to RTOS architecture and been reading up on articles on FreeRTOS.org, but as it's commonly agreed, practice clears things up even more. I have a basic project idea which I'd ideally ...
Jazzy's user avatar
  • 137
1 vote
0 answers
269 views

Why does FreeRTOS API function xEventGroupSetBitsFromISR cause error when I use it in an ISR?

I am using FreeRTOS on MSP430 microcontroller and I have an error that occurs when I use API function xEventGroupSetBitsFromISR() inside of ADC interrupt routine. I have searched online and I saw that ...
Nikola Vulinovic's user avatar
-7 votes
1 answer
696 views

Will RTOS's be displace by FPGA's? [closed]

Will RTOS's be displace by pure FPGA's because of its performance and flexibility? Does RTOS's have any advantages besides legacy code? Will the tasks solved with RTOS be solved with FPGAs without the ...
Arseniy's user avatar
  • 2,192
0 votes
1 answer
144 views

Semaphore in FreeRTOS doesn’t work

I am a newbie to freeRTOS and I was trying to learn about semaphores,I am using ATmega32a microcontroller, the plan was to create 3 tasks each is blinking the same led for some time with different ...
mr.Arrow's user avatar
1 vote
1 answer
282 views

STM32 RTOS2 execuation code failed, it doesn't execute the thread properly [closed]

Here is my first RTOS2 under CMSIS library code. I need to know why it doesn't change the states of my LED. ...
John Jin's user avatar
  • 157
0 votes
1 answer
526 views

FreeRTOS priority and its effect on Thread

I am learning basics of Free RTOS wth a STM32MCU. I defined two threads, each one take mutex, wait for 1000ms and give the mutex again. I have noticed that when the priorities of the threads are not ...
Bornak's user avatar
  • 85
1 vote
1 answer
122 views

RTOS understanding and communication

We are working on a system that will need some predictive emergency stop. As a possible solution the RTOS was mentioned. Not sure if RTOS is a way to go, might just be that we do not have full ...
birinorama's user avatar
21 votes
9 answers
9k views

Does the "Avoid using floating-point" rule of thumb apply to a microcontroller with a floating point unit (FPU)?

As a rule of thumb, I try to avoid using floating-point in my embedded system codebase. Floating-point variables are: Computation-intensive Not atomic (can cause problems in an RTOS application or ...
gbt's user avatar
  • 681
0 votes
1 answer
152 views

Incorporating RTOS into a simple sensor interfacing project for learning purpose

I am trying to switch to embedded from a software test role, and been working on learning about STM32, and almost finishing up writing drivers for I2C which I used for interfacing with a sensor. I ...
xyf's user avatar
  • 325
1 vote
1 answer
73 views

Choosing controller/processor when real time feedback control system is required

Currently, I am planning to work on a system, in which we will be gathering the data from the multiple sensor for more than 15 parameters, based on the sensor value we will be controlling the ...
TapasX's user avatar
  • 405
0 votes
1 answer
1k views

How to setup the RTOS Object Viewer on Code Composer Studio?

While configuring Code Composer Studio 9.3 to use RTOS Object Viewer from Texas Instrument I encountered the following error. The computer is running windows 10. Below is error in text format ...
Mahendra Gunawardena's user avatar
0 votes
0 answers
947 views

FreeRTOS with ATMega328P

Im trying to run FreeRTOS on ATMega328P and with two tasks its works well, but when i put one more task, no one is scheduling, I got the return of CreateTask of all tasks created and is right, all of ...
Bruno Otavio's user avatar
7 votes
2 answers
11k views

FreeRTOS on STM32 - What API should be used: CMSIS-RTOS API (v1 or v2) or FreeRTOS API? [closed]

According to ST's user manual UM1722 "Developing wireless applications on STM32Cube with RTOS" there are two APIs available: Generic CMSIS-RTOS API (v1 or v2) FreeRTOS API The CMSIS-RTOS API ...
Fedor Chervyakov's user avatar
0 votes
1 answer
99 views

Tasks inside Interrupt Handler

Is there any schedular that exists for STM32F103 in which the 'tasks' are run at the ISR() level while the Schedular() code runs in the main() thread?
alt-rose's user avatar
  • 1,471
0 votes
1 answer
131 views

Implementation of RTOS in irrigation embedded application on stm32

I have designed a small project in which i have two sensor nodes(stm32) with each sensing temp, humidity and soil moisture and actuating the relay based on some threshold of moisture value. These ...
Pavan Kumar's user avatar
5 votes
0 answers
501 views

Is mbed OS suitable for hard real time systems [closed]

I have been developing embedded stm applications bare metal along with ST Hal for a few years and would still consider my self a beginner as the process of learning in a bare metal environment can be ...
Hadi Jaber's user avatar
0 votes
1 answer
496 views

STM32 - SPI - RTOS problem [closed]

I'm working on a project that uses a 2.8" arduino LCD. The LCD uses an ILI9341 driver. Now I'm testing this library: https://github.com/martnak/STM32-ILI9341 with an STM32F4-Discovery board (STM32F407)...
Gonzalo Cervetti's user avatar
0 votes
1 answer
1k views

Timer Interrupt Setup in ThreadX

We're trying to set up ThreadX for the first time and we're trying to understand all the timer settings that. Although there are basically two constants that we need to set, they are not really clear ...
Trout's user avatar
  • 33
0 votes
0 answers
2k views

Using stop mode in freeRTOS on a STM32L0 and waking up using EXTI interrupt

I want to make a low power device, running freeRTOS. There are 3 threads, which I planned to suspend normally into stop mode and resume execution depending on an EXTI interrupts. I intended doing so ...
Paul Würtz's user avatar
-1 votes
1 answer
436 views

What is a RTOS, is it embedded or do I need to install? (MSP430) [closed]

First of all, I have the basic knowledge in low-level programming of microprocessors but I don't have the in-depth details which I need. I have never worked with RTOS before in my previous class. Now ...
My name is name's user avatar
2 votes
2 answers
129 views

Commercial Availability of Bare Metal Automation Controllers [closed]

When I think of commercial automation controllers, I typically see 2 levels of system complexity. First, at a lower level, PLC's programmable with ladder logic, structured text or another 61131-3 ...
Dragonsheep's user avatar
1 vote
0 answers
5k views

UART interrupt handling using FreeRTOS

I have two threads: 1. ReadFromUART(): It reads from UART (RX), parses the message and put a command on the messageQueue 2. CommandHandler(): If a message is present in the messageQueue, It execute ...
Pryda's user avatar
  • 1,241
0 votes
1 answer
2k views

C++ RTOS Options [closed]

What are some off the open source, popular choices for a C++ compatible RTOS (besides mbed)? I've heard that FreeRTOS doesn't provide official support for C++ compilation and it's a nightmare getting ...
19172281's user avatar
  • 695
0 votes
2 answers
878 views

FreeRTOS - Potential issues with Periodic Tasks

Suppose Task 1 has the highest priority of all tasks, and is run periodically using vTaskDelayUntil(). Task 2 has a lower priority, but is also required to run periodically in strict time intervals. ...
M-R's user avatar
  • 789
0 votes
1 answer
310 views

How do Free-RTOS and mbed OS handle ethernet?

Do Free-RTOS and mbed OS poll for incoming data to be received (or use interrupts?)? If so, is there a risk that data to be received while the processor is handling another task (e.g. running a ...
M-R's user avatar
  • 789
2 votes
2 answers
977 views

RTOS Over UART protocol

I am developing an UART protocol to ensure communication between two boards (Master board and Slave board). Slave board includes many sensors and actuators and Master board shall command this board by ...
Pryda's user avatar
  • 1,241
1 vote
2 answers
3k views

Control an UART protocol with FreeRTOS or Interrupts [closed]

I am trying to develop an UART protocol to allow communication between two boards Master_Board and Slave_Board. Master_Board shall send commands over UART to Slave_Board and the latter shall answer. ...
Pryda's user avatar
  • 1,241
4 votes
3 answers
344 views

What are the details about link files and startup code one needs to know to write an Operating System for a uC? [closed]

I know some people will say I don't need to write an OS because there are lots of options out there. But I'm not interested in using an OS to solve an specific problem. I want to write one by myself ...
user avatar
0 votes
0 answers
155 views

Getting error while opeing ".cfg" file with the XGCONF tool

I got some strange errors in ccs. I'm using a cc2640r2f IC and downloaded there simple_periphal_oad_on_chip from resource explorer. Whenever I open the .cfg file with the XGCONF tool I get an error ...
blinded_ravager's user avatar