Part Number: J784S4XEVM
Hello,
I am currently testing CSI code on an EVM board, which will eventually be used on a custom board.
The target configuration is to use 3 RX ports and 1 TX port.
I am developing based on the following examples:
csitx_transmit_test(from the CSITX example)csirxtx_loopback_test(from the CSIRX example)
Since the TRX ports will be directly connected to an external device in the final setup,
I am testing on the EVM by directly connecting RX instance 2 and TX instance 1 using a cable.
When I load and run the csitx_transmit_test example image, it works correctly.
Issue
When running the TX task alone, I can confirm that the Complete Callback is invoked properly.
However, when I run the RX task together with the TX task, the TX no longer operates (no callback is triggered).
Logs
-
Below are the logs when running TX and RX tasks together:
================================================================= DMSC Firmware Version 11.1.8--v11.01.08 (Fancy Rat) Firmware revision 0xb ABI revision 4.0 ================================================================= Sciclient_ccs_init Passed. SCISERVER Board Configuration header population... PASSED [MAIN_Cortex_R5_0_0] Clock Freq: CSITX_MOD_ESC_CLK = 20000000Hz Clock Freq: CSITX_MOD_DPHY_TXBYTECLKHS_CLK = 0Hz Clock Freq: CSITX_MOD_VBUS_CLK = 250000000Hz Clock Freq: CSITX_MOD_MAIN_CLK = 500000000Hz CSI RX PMSet 0 CSI_RX_TASK: Sample Application - STARTS !!! CSI_RX_TASK:===================Setup Details=================== CSI_RX_TASK: Capture Instance: 2 CSI_RX_TASK: Capture DF:0x2c CSI_RX_TASK: Capture Resolution:1920 x 1080 CSI_RX_TASK:=================================================== CSI_RX_TASK:Set D-PHY Configuration Successful for CSIRX instance 2!!! CSI_RX_TASK: CSIRX Capture created for CSIRX instance 2 Wait gAppCompletionSem Wait gAppCompletionSem Start CSI TX... gAppCompletionSem Post Wait Event CSI_TX_TASK: CSITX start of frame interrupts for CSITX instance:1 in 10 sec is 0!!! -
Below are the logs when running TX task only:
Sciclient_ccs_init Passed. SCISERVER Board Configuration header population... PASSED [MAIN_Cortex_R5_0_0] Clock Freq: CSITX_MOD_ESC_CLK = 20000000Hz Clock Freq: CSITX_MOD_DPHY_TXBYTECLKHS_CLK = 0Hz Clock Freq: CSITX_MOD_VBUS_CLK = 250000000Hz Clock Freq: CSITX_MOD_MAIN_CLK = 500000000Hz Start CSI TX... Tx[1] Frame 250 Tx[1] Frame 500 Tx[1] Frame 750
Tx[1] Frame: xxx — this log is printed from the TX complete callback.
rtos_app.zip I’ve attached the code I’m currently testing. It’s still in the early stages of development, so it’s quite messy—thanks for your understanding.
I would appreciate any guidance on what might be causing this issue.
thank you.