element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Vertical Farming
  • Challenges & Projects
  • Design Challenges
  • Vertical Farming
  • More
  • Cancel
Vertical Farming
Blog RTOS for embedded processors
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: sftwrngnr
  • Date Created: 1 Aug 2015 8:06 AM Date Created
  • Views 1234 views
  • Likes 3 likes
  • Comments 8 comments
  • vertical
  • rtos
  • ambient_growth
  • farming
Related
Recommended

RTOS for embedded processors

sftwrngnr
sftwrngnr
1 Aug 2015

While doing my due diligence for this project, I've looked into several different real-time o/s' for the embedded devices.  Plausibly, one might say that an entire O/S is overkill for this solution, but the fact is, I don't have a great amount of time to devote to debugging all of the software components required for an entire software ecosystem to handle interrupts, radio control, tcp/ip stack, etc.  I suppose I could go for a total minimalist approach and roll my own vis-a-vis utilizing a collection of libraries and a small state machine, but I'd like to avoid re-inventing the wheel if at all possible.  Doing a little bit of digging, and I found Free RTOS(http://www.freertos.org), which seems to be perfectly suited for the application at hand, especially since its already ported for the ARM Cortex processor.  I'll be downloading it in the coming weeks (had planned on doing it this weekend, but my "day job" takes precedence) to have a look at the code to see what I'm dealing with.  It appears that they have a free tcp/ip stack available, so this may be a workable solution. uCLinux is way too heavyweight in my opinion, for this project.

 

I definitely like the idea of having a true RTOS running on the device, so that time sensitive activities such as checking the nutrient Ph/TDS, temperature and humidity monitoring, etc. can be easily accomplished with a small amount of code that ultimately hooks into a very simple REST API.

  • Sign in to reply

Top Comments

  • RWReynolds
    RWReynolds over 10 years ago +1
    Good info John. I checked out the FreeRTOS site for reference to the Silicon Labs devices included in the challenge. I see some reference to the EFM32 MCU but none for the EZ32. Keep in mind that the terms…
  • DAB
    DAB over 10 years ago +1
    Using an off the shelf RTOS is good if it has good documentation and is easy to learn. I have developed a number of real time implementations without a full RTOS and they worked just fine. It all depends…
  • sftwrngnr
    sftwrngnr over 10 years ago in reply to RWReynolds +1
    Rick and DAB, Thank you both for your feedback. I too have developed embedded systems without a full RTOS, and honestly it probably really is overkill for this situation. I mean think about it: all we…
  • RWReynolds
    RWReynolds over 10 years ago in reply to DAB

    That's very true DAB.

     

    And, simply because an RTOS has been ported to a specific processor family doesn't mean that it's suitable for every MCU or SoC which implements a member of that processor family. Each MCU and SoC have their own bus structures and peripheral interfaces. Access to which  are likely not immediately available in a ported version of the RTOS.

     

    Honestly, however, I have never worked on any RTOS implementations. My experience has been solely on either embedded Linux or bare metal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    Using an off the shelf RTOS is good if it has good documentation and is easy to learn.

     

    I have developed a number of real time implementations without a full RTOS and they worked just fine.

     

    It all depends upon the features you need and your understanding on how to implement them on the processor you have.

     

    Good luck,

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • RWReynolds
    RWReynolds over 10 years ago

    Good info John.

     

    I checked out the FreeRTOS site for reference to the Silicon Labs devices included in the challenge. I see some reference to the EFM32 MCU but none for the EZ32. Keep in mind that the terms and conditions state that the EZ32 device must be used in the challenge.

     

    OK, to update my earlier post... I now understand that the EZ32 MCUs are based on the EFM32 MCUs, just adding the radio. Sorry about that John.

    Announcing launch of EZR32LG and EZR32WG 32-bit Wi... - Silicon Labs Community

     

    I also found some SL forum posts that might be significant to your proposed use of RTOS.

    http://community.silabs.com/t5/32-bit-MCU/Tickless-RTOS-skelton-for-EFM32/td-p/105503

    EFM32 FreeRTOS Blink Problem - Silicon Labs Community

     

    You may also want to look at Kie RTX. And there is some reference to rtx sample code in Simplicity Studio in one of the above links.

    http://www.keil.com/rl-arm/kernel.asp

     

    And SEGGER embOS. I believe SEGGER is the JTAG debugger used on the SL MCUs.

    https://segger.com/silicon-labs.html

     

    I'm a masochist, I think I'm goin' bare metal on all the software development. lol...

    I am thinking of incorporating an RPi into the project as well so any development there will be done in some combination of C++ and C#/.NET using MonoDevelop.

     

    Hope some of this helps. image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube