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



Posted by neilberryparker on June 30, 2017

I have a TI RM46x HDK and have it setup to communicate successfully on CAN1 using the TI Demo tool.

I also have the FreeRTOS 9.0 demo built and running under CCS 5.4 on the RM46x HDK. We are using the Simma SDK for CAN and J1939. I do not think I have correctly setup the CAN rx/tx ISR.

So, for the 9.0 demo for CCS RM48, what should I do to assign the can[r/t]xisr functions?


Posted by rtel on June 30, 2017

If I understand your question, you seem to be asking about how to assign and name ISRs using Code Composer, which doesn't appear to be a FreeRTOS related question. Let me know if my understanding is wrong and your question is about FreeRTOS.


Posted by neilberryparker on June 30, 2017

It is a question on how to assign an ISR to a specific CAN function (one for rx and one for tx). It is not specifically a FreeRTOS question, but is a question where I hope to use the version 9.0 demo for RM48 as a starting point.

I already have changes that allow a J1939 message (Address Claim) to be transmitted, but I am not seeing any reply or CAN/J1939 frames. I suspect my ISR setup, since those appear to not be assigned.

I am confident in my communication wiring and resistor setup, since intended traffic is visible on USB CAN tools and those tools capture the 1939 Address Claim message from the RM46x HDK board.

Any advice would be appreciated. Any guidance on whether I should be looking at specific interrupts or specific channels might also be helpful.

It might be a FreeRTOS question if considered along these lines: For any FreeRTOS demo created for the TI Hercules RM4 series, has anyone added CANBUS support? If so, how did you do it?


Posted by rtel on June 30, 2017

To answer this question I would have to first get out the hardware manual to remind myself how interrupts work on that part. Then have a look at some projects for that part that use the same compiler as you to see how they name interrupts, define the vector table, and any library functions that are used to install/enable/configure interrupts. I'm afraid non of that is related to FreeRTOS or uses the FreeRTOS documentation.


Posted by neilberryparker on July 11, 2017

Here is an update to the question I asked. I was successful in using HalCoGen to create buildable code to support CAN/DCAN. I was expecting to hear about code snippets, but HalCoGen appears to have replaced the "code snippet" approach.

[ 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