We are using the MCP2515 SPI to CAN chip and have identified an issue during testing.
When Windows sends data and the Jetson Orin receives it, the data is received normally if the transmission interval is greater than or equal to 3ms. However, when the transmission interval is less than 3ms, the received data contains errors, and frame loss occurs.
*** Please note that this reply is generated by LLM automatically ***
Based on the provided context, it appears that you are experiencing issues with the MCP2515 SPI-to-CAN chip on the Jetson AGX Orin platform when receiving data from Windows at transmission intervals less than 3ms.
To address this issue, I’ll provide some insights and potential solutions.
Similar Issues:
CAN bus sample code for Jetson AGX Orin: There is a topic discussing CAN bus sample code for Jetson AGX Orin, which might be relevant to your issue.
Jetson Orin AGX JP6.0: use two mcp2515 on SPI1: Another topic mentions using two MCP2515 chips on SPI1, which could be related to your setup.
CAN Message from Jetson Orin Nano not detected: A topic about CAN message detection issues on Jetson Orin Nano might be worth exploring.
Potential Solutions:
Check device tree configuration: Verify that the device tree configuration for the MCP2515 chip is correct. You can refer to the device tree topic for more information.
Adjust transmission interval: Try increasing the transmission interval to 3ms or more to see if the issue persists.
Verify SPI-to-CAN chip configuration: Ensure that the MCP2515 chip is properly configured and connected to the Jetson AGX Orin.
Check for firmware updates: Verify that the Jetson AGX Orin firmware is up-to-date, as newer versions might address this issue.
Consult NVIDIA documentation: Refer to NVIDIA’s documentation on using the MCP2515 chip with Jetson AGX Orin for any specific configuration or setup requirements.
Comparison with Other Jetson Platforms:
The issue seems to be specific to the Jetson AGX Orin platform, as the native CAN0 and CAN1 interfaces are unaffected. However, it’s worth noting that similar issues have been reported on other Jetson platforms, such as the Jetson Orin Nano.
In summary, to resolve the issue, you should:
Verify the device tree configuration.
Adjust the transmission interval.
Verify the SPI-to-CAN chip configuration.
Check for firmware updates.
Consult NVIDIA documentation.
If none of these solutions work, please provide more details about your setup and configuration, and I’ll be happy to help further.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Chip manufacturers say the question is whether the SPI is fast enough to fetch the messages from the buffers.
Is there any way to increase the speed of receiving messages for the SPI controller driver?