Hello,
This question is not specific to the Jetson TX2, but rather the MAX9286 GMSL1 deserializer.
I have been using the MAX9286 with a single camera (image sensor plus MAX9271 serializer). The deserializer is configured in manual frame sync with the frame period registers set appropriately for my frame rate. With a single camera I can stream successfully with no issues…the deserializer get a lock on the video link, it detects the vsync from the camera, the frame sync lock bit is set, and valid CSI data is received by the Jetson.
When I connect a second camera the deserializer gets a lock on both video links, but it does not detect vsync from either camera, the frame sync bit stays clear, and no CSI data is received by the Jetson. I have tried changing the order in which the cameras begin to stream, the serializers are set to enabled, and the deserializer is set to enable output, but there is no change in frame sync lock behavior.
I tried configuring the MAX9286 to mask out one of the active cameras prior to enabling the video link and that allows me to successfully stream both virtual channels on my host. The vsyncs are detected and the frame lock happens as would be expected. Naturally the masked out link is all green, but the unmasked camera is coming through perfectly and I’m getting the full frame rate on both channels. Unfortunately, when I unmask the 2nd link (or change the mask to the other camera) by sending an i2c command from the console I lose the frame sync lock, the lock is not restored, and there’s no longer any CSI output. Oddly the MAX9286 does not set the “frame sync lock lost” bit, it just clears the lock bit.
With frame sync set to Automatic or Semi-automatic I can not get frame sync to work even with the masking, so I am using Manual frame sync mode for all testing. The MAX9286 is not generating vsync internally.
I assume that I am very close but have an issue in the order of initialization or a timing issue.
I’ve seen at least two people on this forum get the 9286 to work with 2 or more cameras, can anyone provide some assistance? I also have an inquiry in with Maxim, and I will update this topic if I learn more from them.
Andy
Related threads: