FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [June 2017 Threads] TI RM46x HDK DCAN/CANPosted 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?
TI RM46x HDK DCAN/CANPosted 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.
TI RM46x HDK DCAN/CANPosted 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?
TI RM46x HDK DCAN/CANPosted 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.
TI RM46x HDK DCAN/CANPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|