Skip to content

microchip-pic-avr-examples/atmega4809-xplained-pro-getting-started-with-freertos-mplab

Repository files navigation

MCHP

Freertos

ATMEGA4809 Xplained Pro Getting Started With FreeRTOS™

This is an example of how to get started with FreeRTOS™ on the AVR architecture with ATMEGA4809 Xplained Pro. FreeRTOS™ is a real-time operative system kernel which allows the MCU to operate with different tasks simultaneously. This is accomplished with mutexes, semaphores and software timers. AN3007 describes in detail how the FreeRTOS™ is being used to control the AVR.

Related Documentation

Software Used

Hardware Used

Setup

  • Connect the OLED1 Xplained Pro Extension Kit into the EXT3 port on your Xplained Pro

Operation

  1. Download the zip file or clone the example to get the source code.
  2. Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable.
  3. Open atmega4809-xplained-pro-getting-started-with-freertos-mplab.X in MPLAB.
  4. Make sure the kit is selected as the tool to be programmed under project settings.
  5. Press the make and program button to program the device.
  6. Open your favorite terminal application or Data visualizer and open the serial port associated with the Xplained Pro.

Conclusion

We have here shown that it is possible to run FreeRTOS™ on an ATmega4809 and what advantages this might bring to your project. As mentioned in the appnote AN3007 you can see the different tasks running and interact with them using the virtual com port on your ATmega4809 Xplained Pro or using the on board buttons.

About

freeRTOS example on a xplained-pro atmega4809 with MPLAB X

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •