RAW14 data type

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version

Target Operating System

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version

Host Machine Version
native Ubuntu 18.04


recently we have implemented a driver for our sensor using the nvmimg_cc sample app. We are successfully receiving data, but the data is not as we expect.

Our sensor outputs RAW14 data type; this type hasn’t been implemented by default in the sample app, but after patching it we have managed to get the data from the sensor.

we have expected to receive data as follows:
Bit15 and Bit14 - don’t care, they should have been set to zeroes
Bit 13 to Bit o - sensor data

What we actually receive is:
our data is set from Bit 15 to bit 2 and Bit 1 and Bit 0 are mirrored of Bit 15 and Bit 14.

expected data:
Bit15 …Bit 0
0001 0010 0110 1111

received data:
Bit15 …Bit 0
0100 1001 1011 1101
the received data seems to be our expected_data<<2 and additional the bit15 and bit14 are copied to bit1 and bit0.

We have searched in the documentation for hints about it, but we couldn’t find anything. Does someone faced such an issue?

Thank you in advance for your support,

NvMedia ICP APIs are deprecated in DRIVE OS 5.2.0.
Why don’t you try with the SIPL sample applications?

Hi VickNV,

we were not aware that the ICP API has been deprecated in 5.2.0. The reason why we were using it, is due to the sample application nvmimg_cc. We have successfully used this sample application for multiple sensors bring up.

If you can point us to another sample application which might enable us to bring-up sensors making use of the new API, we could try it out. In the same time, we would appreciate if you can help us understand the behavior we have described earlier.

Thank you in advance for your support,

Custom sensor module bring-up isn’t supported through the forum.
Please contact your nvidia representative to understand who will support you.

For ICP APIs deprecated, it is (not obvious) mentioned in the porting guide.

SIPL Camera and SIPL Sample are samples using the latest APIs (SIPL).