This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C66 processor - CAN bus driver

Hi there,

I'm looking for a simple CAN bus driver to read and write CAN messages over the CAN bus.

Here I'm using CCS Version: 5.5.0.00077 

and Development board VAYU - EVM from Spectrum Digital. There is one CAN bus physical port available on the EVM.

If you have some simple driver to write/Read messages on that port I'd appreciate it.

Regards,

Marko Vico

  • Hi Marko,

    Could you please provide the part number of the EVM and DSP?

    Thank you.

  • Hi,

    The DSP is :  'ADAS Superset 28' - based on OMAP enhanced architecture.

    It has two C66x DSP Co-Processors.

    The EVM is : 'VAYU EVM'.

    It has two DCAN Serial Interfaces.

    If you have a general DCAN driver it would be enough for me to start Receiving/Transmitting CAN messages.

    Regards,

    Marko

  • Hi Marko,

    Moved this thread to correct forum for faster response.

    Thank you.

  • Hello Marko

    Could you give more details about the software platform running on your DRA7xx board? (GLSDK or Android)

    You can find CAN bus driver at review.omapzoom.org.

    See the following links for DRA7xx CAN configuration:

    Bootloader:
    HACK: DRA: Connect DCAN IRQs on crossbar: http://review.omapzoom.org/#/c/34109/
    --------------------------------------------------------------------------
    Kernel:
    C_CAN: Genericize RAMINIT bit mask macro naming: http://review.omapzoom.org/#/c/34102/
    C_CAN: D_CAN: Remove non-existent DCAN RAM de-init: http://review.omapzoom.org/#/c/34103/
    C_CAN: D_CAN: Add explicit RAMINIT bit containers: http://review.omapzoom.org/#/c/34104
    C_CAN: D_CAN: Fix multi-instance INITRAM ioremap: http://review.omapzoom.org/#/c/34105/
    C_CAN: D_CAN: Add support for driver flags: http://review.omapzoom.org/#/c/34106/
    C_CAN: D_CAN: DRA7: Add DRA7 DCAN support: http://review.omapzoom.org/#/c/34107/
    DRA7: D_CAN: Add DT configuration for DRA7 DCAN: http://review.omapzoom.org/#/c/34108/

    For the release notes:
    can-utils are located @ https://gitorious.org/linux-can/can-utils
    https clone: https://git.gitorious.org/linux-can/can-utils.git

    Best regards,

    Yanko

    Hi there,

    I'm looking for a simple CAN bus driver to read and write CAN messages over the CAN bus.

    Here I'm using CCS Version: 5.5.0.00077 

    and Development board VAYU - EVM from Spectrum Digital. There is one CAN bus physical port available on the EVM.

    If you have some simple driver to write/Read messages on that port I'd appreciate it.

    Regards,

    Marko Vico

  • Hello Marco,


    I suggest you to use the listed SW patches in my previous post.

    Unfortunately, there is no available CAN bus driver for CCS.

    Best regards,

    Yanko