Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TDA2PXEVM: PSDK_3.5 WDR mode issue

$
0
0

Part Number: TDA2PXEVM

Hey,

I am using TDA2PXEVM with PSDK3.5 and an imx390 sensor.

I am trying to setup wdr mode (one or two pass) for the imx390 sensor.  When selecting wdr mode in iss settings and starting the standard ISSCAPTURE_ISP_SIMCOP_DISPLAY usecase I get an assertion:

To fix this I had to add the following lines in vpscore_isscommon.c(every line with Nico Hack was added by me):

After adjusting the pitch to the actual resolution of my sensor and setting wrDmaCtx[1U] = FALSE the usecase runs without problems in wdr mode.

I wonder why something like the pitch is hardcoded here, shouldn´t it be set by the sensor specifications?

Concerning the wrDmaCx, I added this line because in the call of Vps_Hal_isscalUpdateBufAdr(), the second if is TRUE ( so status = FVID2_EBADARGS, which is the cause of my assertion) in case I don´t set wrDmaCx[1] to FALSE, because it is otherwise filled with a number >= VPS_ISS_CAL_MAX_STREAMS.

Can you help me clarify some things here? I don´t really like my solution, it feels like a dirty hack.

best regards,

Nicolas Rausch


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>