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.

  • Resolved

Linux/AM3352: Linux/AM3352: CAN configuration question

Prodigy 70 points

Replies: 6

Views: 176

Part Number: AM3352

Tool/software: Linux

Hi,

I have an issue that is similar to this issue that has been raised with no solution.

I've done some of my own research and it appears to be related to this patch which was added to the kernel

So if I revoke this patch the command will then function with triple-sampling. My question is the suggestion in the commit of the patch suggests that the triple-sampling option of the driver has been removed as it never did anything, is this correct? Is triple sampling something that is supported by the chip In which case should we be using a different driver?

Many thanks in advance for your help.

Regards

Ben Taylor

  • Hi,

    I will have to investigate this question with the ip team concerning if. The DCAN ip for the SOC was developed by Bosch. Which SDK are you using? Are you seeing the same operation not supported message?

    Best Regards,
    Schuyler
  • In reply to Schuyler Patton:

    Hi Schuyler,

    I am using the SDK 04.04, Linux 4.9.69, the same as the original post. However you should see this issue in any kernel/SDK version that was created post the introduction of the patch I included on the 10th November 2017. I am also seeing the same behavior as the original post where the operation not supported message is shown whenever the triple-sampling option is used.

    Let me know if you need any further information.

    Regards

    Ben

  • In reply to Ben Taylor:

    Hi,
    If you don't use the triple sampling during setup does the CAN interface still function for you?

    I will out of the office for the next week. My next response will be delayed.

    Best Regards,
    Schuyler
  • In reply to Schuyler Patton:

    Hi,

    I've not thoroughly tested the CAN interface, so I cannot verify for certain whether the triple sampling affects it's operation. However it appears if you remove this option it functions correctly. We've followed the driver configuration guide at:

    Which states you need it to use the driver, is this no longer the case?

    Regards

    Ben

  • In reply to Ben Taylor:

    Hi,
    I am still trying to check into your question concerning triple sampling.
    Regards,
    Schuyler
  • In reply to Schuyler Patton:

    Hi,

    I checked with the IP team and the IP core that TI uses does not support triple sampling.

    The patch looks to be removing a capabilities value, there is not code in the patch series that touches a register. The documentation has been around for years that we will have to update.

    Thank you for bringing this to our attention.

    Best Regards,
    Schuyler

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.