analogdevicesinc / aditof_sdk

Analog Devices 3D ToF software suite
https://analogdevicesinc.github.io/aditof_sdk/
BSD 3-Clause "New" or "Revised" License
72 stars 49 forks source link

XAVIER_NX: setting registers for enabling stream separated for specific #756

Closed rbudai98 closed 2 years ago

rbudai98 commented 2 years ago

channels

IR and DEPTH bug, was not working induvidually, fixed with this commit Signed-off-by: rbudai robert.budai@analog.com

rbudai98 commented 2 years ago

Xaviern NX by using current device tree is not able to turn off ir or depth hence causing crash when selecting only one frame type. In order to fix this error we keep the register setting always at depth-ir (register 0xc3da at value 0x0007) in order to obtain frames. Also framesize has to remain at 640x480x2 constant due to the same fact.