MAX96724
Recommended for New Designs
The MAX96724/F/R deserializer converts four GMSLâ„¢2/1 inputs to 1, 2, or 4 MIPI D-PHY or C-PHY outputs. The device allows simultaneous transmit bidirectional...
Datasheet
MAX96724 on Analog.com
Im trying to follow this guide.
https://wiki.analog.com/resources/eval/user-guides/ad-gmslcamrpi-adp/ug_rpi
However I have MAX96714 EVK instead of MAX96724.
When I start the script Im getting message:
Cannot open device /dev/video0, exiting
as far as I understand, its because default drivers is for MAX96724, Raspberry sends I2C requests to 0x4E (MAX96724).
I have no idea what should I put in /boot/config.txt to make that work.
I hoped for wiki https://wiki.analog.com/resources/eval/user-guides/ad-gmslcamrpi-adp/comp_guide
but page is missing
Hi,
The driver included in the RPI4 image support only MAX96724. You can see here: max96724.c#L506
We have in work an updated version of the GMSL drivers which support MAX96714 too but currently we have no RPI image for it. You can check it out here: max9296a.c#L1125
Regarding the I2C device address of the deser, you're right, the devicetree configures linux to expect the deserializer on 0x4E (0x27 on 7 bit addressing). Here you can see that: gmsl-overlay.dts#L43
It also depends on the CFG pins which is the default address a deserializer will respond to after reset.
The documentation for ad-gmslcamrpi-adp board is on wiki here: ad-gmslcamrpi-adp/index.html or on github here: ad-gmslcamrpi-adp/index.html
Regards,
Bogdan
Its nice to hear that Im right on everything, but what should I do now?
Hi Alex,
As I said we have in work a new image which does include the updated GMSL drivers with support for MAX96714 but it is not ready yet.
So you either reference the information from above, take the rpy-6.13 kernel from raspberry pi, integrate our latest version of gmsl drivers with MAX96714 support, create a devicetree or you wait until we release the image.
Unfortunately these are your options now.
two following questions.
1. How long it takes for you to release a new image?
2. Is there a manual how to integrate all this stuff together?
1. We estimate in a 2 months frame to have a new release for RPI4 and RPI5
2. Unfortunately we have no such manual but if you have Linux kernel development background it should be straight forward to apply the patches I referenced in my previous posts over the RPI Kernel sources
Well I have no Linux kernel development background, I bought these 2 (pretty expensive) kits to see how GMSL2 works, and, well, here we are.
Anyway, let me get this straight. Basically RPi configures CSI video source through I2C, and in this setup we have a I2C tunnel to RPi camera (tunnel works fine). The only thing missing is Ser and Deser configuration (lane, etc.), hense 2 questions:
1. Well I should be able to configure them via USB and GMSL SerDes GUI?
2. I scroll through I2C media drivers in RPI repo and I saw no files that configures the whole chain - Camera-Serializer-Deserializer. So what exactly are you advising me regarding drivers?
1. Yes, you can configure GMSL2 eval kits through GMSL SerDes GUI and make the whole GMSL pipeline "transparent" to the RPI. This should work in the first instance.
2. In my previous post I was instructing you to take all the relevant patches implementing support for GMSL from our work branch: work-6.13 and apply them over official rpi 6.13 kernel. But if you have no Linux kernel development background maybe the best idea is to stick to point 1.
alright thanks.
Documentation for ser and deser is here, but just to save me a lot of time: Is there an example configuration somewhere?
In the GMSL SerDes GUI under Tools tab you can find the CSI Configuration Tool.
That is a graphical config tool which will save you a lot of time. You can create a functional Ser-Des configuration with just a few clicks and after that save it in to a script file for easy reloading.
Configuration tool does look promising, however, script is exported as cpp file, and script loader wants csv. I read the docs and I see no description about "Load Recent file section". Where can I find some hints on that?