Post Go back to editing

CAN driver with RTOS

Category: Software
Product Number: ADSP-SC584
Software Version: CCES 2.12.0

Hi all,

I am working with the Ez-Kit of the ADSP-SC584. I want to use RTOS on my SHARC core as well as some device drivers.

I have understood that if you use RTOS, problems can occur with the device drivers. To avoid this, you should add the drivers via the add-in function. I have found the corresponding Add-Ins for UART, SPI and GPIO, but I don't have them for CAN. How can I integrate the CAN driver into my project without causing problems? Are there any examples for using RTOS and CAN?

Thank you very much for your help


Thread Notes

  • Hi Phil,

    We are checking this query with our Internal team. We will get back to you soon

    Best Regards,

  • Hi Phil,

    CAN driver support is currently limited to ADSP-SC589 and the support for ADSP-SC584 is not available. If in case, you need to work with SC584 then we will have to verify the driver builds and support for CAN with SC584.

    Best regards,

  • Hi Santhakumari,

    Unfortunately I am tied to the SC584, but I still want to use CAN. I just tried to use the device driver (adi_can.h) anyway, but I have problems sending messages. Some functions work without error messages, like adi_candrv_Open or adi_candrv_SetCanClock, but when I try adi_candrv_Write I get error 4, i.e. that no free mailbox was found, although no mailbox has been used so far.
    I don't know whether I have simply made a mistake or whether it is due to the actual lack of compatibility with the device driver for the SC584.

    The only example of CAN I have found is the can-test in the Power_On_Self_Test and the DD is not used there. Are there any other examples for CAN where the adi_can.h is used? So I could check if the example works with the SC584.

    What are my options to get CAN running on my SC584?

    Best regards

    PS: I did not use RTOS environment in my experiments