Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


FreeRTOS + IO for the CAN Peripheral

Posted by nishadsabnis on November 19, 2013

Recently I was doing a Post graduate diploma course on Embedded Systems. During the last month we had to come up with a project to execute during the month. I decided to add support for the CAN peripheral in the FreeRTOS + IO Project. After studying the source code and understanding the architecture of FreeRTOS + IO, I made changes to the code so that the CAN peripheral could now be accessed via POSIX-like open(), read(), write() and ioctl() calls. I managed some basic communication between two microcontrollers using the driver I wrote but I was short of time so the driver code was very badly done. This was around 6 months ago, and I have some free time on my hands now so I was thinking I should look into this project again as studying the internals of FreeRTOS helped me learn a lot earlier.

I am a relative newbie in the embedded world (only a year and a half of experience) and hence I had a few doubts about the transfer modes used with FreeRTOS + IO. I was not able to decide on any mode to use with CAN.

Also, CAN is a much bigger protocol than SPI or I2C, so I wanted suggestions as to what features could be included in the driver and which can be done away with.



FreeRTOS + IO for the CAN Peripheral

Posted by nishadsabnis on November 19, 2013

I am not looking for any specific answers, just want to know your opinions on having a CAN driver which works through the FreeRTOS + IO Layer. Im sorry if this is not the correct place to post this, but if it isnt could you direct me to some place where this question is better suited?

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists