*** Please note that this reply is generated by LLM automatically ***
Based on the provided context, I’ll address the questions and provide a comprehensive answer.
Issue with SPI data transmission on Jetson AGX Orin
The user is experiencing an issue with sending more than 256 bytes of data using the spidev2.0 interface on a custom board with Jetson AGX Orin Industrial and Jetpack 6.2 (rel 3.643). The problem is observed when using the spic2.60000 interface.
Analysis of the issue
The user has provided a dmesg log and device tree source in boot.dtb. They have also tested SPI data transmission using a source file (test.zip) and found that the dmas property of the spic2.60000 interface changed from 16 to 19 when updating from Jetpack 5.1.3 to Jetpack 6.2.
Comparison with other SPI interfaces
The user mentions that other SPI interfaces (e.g., spidev1.0) can send up to 4096 bytes of data without issues. This suggests that the problem is specific to the spic2.60000 interface.
Modification of the dmas property
The user has modified the dmas property from 19 to 16, which resolved the issue and allowed sending more than 256 bytes of data through the spic2.60000 interface.
Questions and answers
- Why was the
dmas property changed from 16 to 19 after updating to Jetpack 6?
The context does not provide a clear answer to this question. However, it is possible that the change in the dmas property was made to accommodate changes in the SPI controller or to optimize performance for specific use cases.
- Is it correct to modify the
dmas property to send more than 256 bytes of data through the spic2.60000 interface?
Based on the user’s experience, modifying the dmas property from 19 to 16 resolved the issue and allowed sending more than 256 bytes of data. However, it is essential to note that modifying the device tree or kernel parameters can have unintended consequences and may not be supported by NVIDIA.
Recommendations
To resolve the issue, the user can try the following:
- Verify that the modification of the
dmas property does not introduce any other issues or affect the performance of the system.
- Check the NVIDIA documentation and forums for any updates or recommendations on using the
spic2.60000 interface with Jetpack 6.2.
- Consider reaching out to NVIDIA support for further assistance and guidance on resolving the issue.
In summary, the user has identified an issue with the spic2.60000 interface on Jetson AGX Orin Industrial with Jetpack 6.2, which can be resolved by modifying the dmas property. However, it is crucial to exercise caution when modifying kernel parameters and to verify that the change does not introduce any other issues.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***