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.

TDA4VM: How to set framerate of IMX390

Part Number: TDA4VM

I am trying to figure out how to specify the framerate of a D3 IMX390CM. It seems to default to 60Hz, would like to run it closer to 30Hz due to deserializer limitations.

  • IMX390 sensor driver supports 2 usecase modes

    ISS_SENSOR_FEATURE_CFG_UC0 - 30fps

    ISS_SENSOR_FEATURE_CFG_UC1 - 60fps

    The mode is application selectable.

    Single cam app defaults to highest performance mode supported by the sensor.

            if(ISS_SENSOR_FEATURE_CFG_UC1 == (sensor_features_supported & ISS_SENSOR_FEATURE_CFG_UC1))
            {
                APP_PRINTF("CMS Usecase is supported \n");
                sensor_features_enabled |= ISS_SENSOR_FEATURE_CFG_UC1;
            }

    You may default to 30fps by removing the code above.

  • Is removing this code the same as setting usecase_option in app_multi_cam.cfg? If I set usecase_option to 0 in cfg file I get the 30 fps I am looking for but also everything that should be bright white turns pink. This does not happen if I set usecase_option 1 in the cfg file, but I get 60 fps which I don't want. Seems like there are other settings besides fps that is getting changed.

  • What is the result if you try the solution I have suggested?

  • If i comment that out and run it i get the same result, white stuff turns pink. The register config between the 60fps and the regular wdr(30 fps) has a lot of changes, i dont have the datasheet so not sure what but it seems more than just 60 or 30 fps.

    Issue I am really hoping to fix is that if i run the multicam app with 3 cameras @ 60 fps, it hangs periodically also the colors go to some corrupted rainbow version of the image. Can make stuff out in the image and see movement but image turns into a very colorful image. The captured images on disk look the same, it isnt just what comes out the DP to the monitor that is corrupted. One camera and probably 2 behave ok, 3 and it breaks. 4 doesnt run at all. Restart the app and it is ok for a while.

  • Andrew,

    More than 2 cameras @60fps will not work because of UB960 bandwidth limitation. 30fps mode works fine with upto 8 cameras in TI SDK.

    It feels like too many issues are getting mixed up here. I would request staying on a single topic - please help me understand which app, usecase, setting you are having difficulty with. Once I understand that I can guide you in the right direction.

    If you have multiple issues, please create new E2E thread for every issue.

    Regards,

    Mayank

  • I will create a thread for pink images using UC0. It seems like fps and image quality are tied together if you use UC0/1.