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.
Hi,
TI experts,
We want to receive data from four sensors on TDA4VH through the link shown in the figure below, but there are some problems.
We set four virtual channels 0 1 2 3 in the serializer and deserializer to distinguish the data of the four sensors.
When I try to use the multi-cam demo to receive data from four sensors at the same time, I cannot receive the real-time data from the four sensors normally.
The program is not stuck and pressing 'p' can show that framerate is 30 normally and there are no errors in the APP log and RTOS log. However, when I save image, I can only see one frame of sensors, cannot see the real-time data of sensors.
Then I tried to use the single-cam demo to obtain the data of different virtual channels, it can display the real-time data of different sensors normally!
For example,I choose ‘0’ here: and then choose my driver, it can display real-time data of sensor 0 normally. Also,when I choose 1, it can display real-time data of sensor 1. Same for sensor 2 and sensor 3.
Here are my questions:
1)Why can't the multi-cam demo receive real-time data from four sensors at the same time?
2)Can TDA4 handle such data?
3)How can I debug this problem?
Best Regards,
Muqun
you should use multiple camera demo use case, change your app to integrate the maxium drivers, instead of to use the single camera demo.
Well, let me describe it in more detail:
MAX96712 has a data copy function and can output two identical channels data. We output the first channel to TDA4VH(1) and output the second channel to the serializer MA9295, and then output it to the MAX96712(2) on TDA4VH(2).
We first start four sensors on TDA4VH(1) by multi-cam demo. In this step, only four snesors, four MAX96717s and MAX96712(1) are configured, and MAX96712(1) outputs two channels of MIPI data at the same time. On TDA4VH(1), We can see data of four sensors normally.
Then, on TDA4VH(2), I use single-cam demo and multi-cam demo to start my driver. In the driver, only MAX9295 and MAX96712(2) are configured. Then as described above, single-cam demo can receive real-time data but multi-cam demo cannot. When I use the two demos, did not change the configuration of the serializer and deserializer.
it seems the TDA4VH1 works with the 4x cameras input through CSI0 of TDA4VH1 by virtual channels (VC0 to VC3), which means both your sensor driver adaption and multiple camera input visionapp use case are good.
with regard to TDA4VH2, sorry, we know nothing about max9295 and max96712. please check MAXIM about ideas.
Identified and fixed the Mcu2-0 crash due to NULL pointer of one of ISP related sensor driver callback.