Other Parts Discussed in Thread: OPT9221
Hi, I’m trouble-shooting a device based on TI’s OPT8241-CDK-EVM and have some questions.
- Is there a way to validate connectivity of the OPT8241 independent of the OPT9221? It would be helpful to be able to check that the OPT8241 was properly seated with good pad connections independent of the OPT9221. There are two Test Points mentioned in the OPT8241 data sheet, TP1 and TP2, that are described as debug pins. In addition, there is a QPORT pin that is described as a debug port. Can TP1, TP2, QPORT, and/or any other pins be used to test the OPT8241 independent of the OPT9221. If so, please provide instructions for how to use them for this purpose.
- Does the OPT8241 (sensor) automatically enable when properly powered, or does the OPT9221 (TFC) enable it after performing checks?
- Does the OPT8241 automatically shut itself off if it gets too hot, or does the OPT9221 turn the OPT8241 off if TSENSOR is too high?
The device being tested is currently set up to mimic the OPT8241-CDK-EVM. That is, the OPT8241-CDK-EVM’s FX2 EEPROM values (read while the FX2 was held in reset) were written to the new device’s FX2 EEPROM. Hence, the new device has, at this preliminary stage, the PID/VID/SN for the OPT8241-CDK-EVM. This was done to simplify development. Once the device is functioning properly, the process and coding involved to assign new identifiers will be undertaken.
- Could this be the issue? Are there internal checks performed by the OPT8241 and/or OPT9221 that prevent successfully mimicking the OPT8241-CDK-EVM in this way?
- Is there a resource similar to the FX2 example firmware code (OPT8241-FX2-reference-FW) available for the TFC firmware? This would help with troubleshooting.
Is the OPT8241’s VSUB_BIAS set to -5.0V for the OPT8241-CDK-EVM design?
Attached is a log file showing some connection attempts with the Voxel Viewer.
----------------------------------------------------------------------------------------------------------- - Description of the four connection attempts recorded in the log below - - First connection attempt: Voxel Viewer connected to new device (mimicking the OPT8241-CDK-EVM) - New device was previously set to use the MetrilusLongRange calibration - and so initialized with that calibration. - The device was disconnected using Voxel Viewer and the Voxel Viewer was closed. - - Second connection attempt: Voxel Viewer restarted and connected to the new device again. - The new device initialized with the MetrilusLongRange (MLR) calibration. - - Third connection attempt: While the device was unsuccessfully operating with the MLR calibration, - it was switched to the "No Calibration" calibration. - The device was disconnected using Voxel Viewer and the Voxel Viewer was closed. - - Fourth connection attempt: Voxel Viewer restarted and connected to the new device again. - This time the device initialized with the "No Calibration" calibration. - The device was disconnected using Voxel Viewer and the Voxel Viewer was closed. ------------------------------------------------------------------------------------------------------------ INFO: ParameterDMLParser: Found register map with name 'OPT9221' (vPG1P0) INFO: HardwareSerializer: Received 43221 bytes from hardware in 1.95 s INFO: Data2DCodec: Original number of 8-bit offsets = 566 INFO: Data2DCodec: Number of invalid pixels in original data = 0 INFO: Data2DCodec: Current number of 8-bit offsets = 566 INFO: CameraSystem: Successfully refreshed parameters for TintinCDKCamera(0::0451:9105::12017411199895). INFO: ToFCameraBase: Starting with 320x240@30.0001fps ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379047504471 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379048112872 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379048721273 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379049329674 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379049938075 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379050546476 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379051154877 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379051763485 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379052371886 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379052980287 INFO: DepthCamera: Streaming stopped.Deleting logger... INFO: ParameterDMLParser: Found register map with name 'OPT9221' (vPG1P0) INFO: HardwareSerializer: Received 43221 bytes from hardware in 1.95 s INFO: Data2DCodec: Original number of 8-bit offsets = 566 INFO: Data2DCodec: Number of invalid pixels in original data = 0 INFO: Data2DCodec: Current number of 8-bit offsets = 566 INFO: CameraSystem: Successfully refreshed parameters for TintinCDKCamera(0::0451:9105::12017411199895). INFO: ToFCameraBase: Starting with 320x240@30.0001fps ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379079638549 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379080246950 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379080855351 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379081463752 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379082072153 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379082685761 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379083294162 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379083902563 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379084510964 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379085119366 INFO: DepthCamera: Streaming stopped. INFO: DepthCamera: Setting parameter 'op_clk_freq' INFO: DepthCamera: Setting parameter 'sub_frame_cnt_max' INFO: DepthCamera: Setting parameter 'quad_cnt_max' INFO: DepthCamera: Setting parameter 'mod_freq1' INFO: DepthCamera: Setting parameter 'mod_freq2' INFO: DepthCamera: Setting parameter 'intg_duty_cycle' INFO: DepthCamera: Setting parameter 'dealias_en' INFO: ToFCameraBase: Starting with 320x240@30fps ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379086554568 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379087162969 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379087771370 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379088379771 ERROR: USBIO: Could not transfer '0' bytes ERRORERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379088988172 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379089596780 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379090205181 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379090813582 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379091421984 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379092030385 INFO: DepthCamera: Streaming stopped.Deleting logger... INFO: ParameterDMLParser: Found register map with name 'OPT9221' (vPG1P0) INFO: HardwareSerializer: Received 43221 bytes from hardware in 1.9344 s INFO: Data2DCodec: Original number of 8-bit offsets = 566 INFO: Data2DCodec: Number of invalid pixels in original data = 0 INFO: Data2DCodec: Current number of 8-bit offsets = 566 INFO: CameraSystem: Successfully refreshed parameters for TintinCDKCamera(0::0451:9105::12017411199895). INFO: ToFCameraBase: Starting with 320x240@30fps ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379169745135 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379170353536 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379170961937 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379171570338 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379172178739 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379172787140 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379173395541 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379174003942 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379174612343 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379175220744 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379175829145 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379176437546 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379177045948 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379177654349 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379178262750 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERRORWARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379178871151 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379179479552 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379180087953 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379180696354 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379181304755 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379181913156 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379182521557 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379183129958 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379183738359 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379184346760 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379184955161 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379185563562 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379186171964 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379186780365 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379187388766 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379187997167 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379188605568 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379189213969 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379189822370 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379190430771 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379191039172 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379191647573 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379192255974 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379192874182 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379193482583 ERROR: USBIO: Could not transfer '0' bytes ERRORERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379194090984 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379194699385 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379195307786 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379195916187 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379196524795 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379197133196 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379197741597 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379198349998 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes WARNING: USBBulkStreamer: Resetting bulk endpoint at 1624379198958400 ERROR: USBIO: Could not transfer '0' bytes ERROR: USBIO: Could not transfer '0' bytes INFO: DepthCamera: Streaming stopped.Deleting logger...