In this example, we capture frames using the CSIRX interface in internal debug or test mode. In this mode, there is no external sensor attached. The CSIRX HW has a internal test mode which is used to construct and send a CSIRX frame to the CSIRX HW. The CSI HW captures the frame using its HW logic + DMA and outputs to the frame to memory buffer that is specified.
Here the CSIRX HW is setup using SysConfig. Two DMA contexts are created.
Line mode switching is used when the frame is large and cannot be buffered in the limited internal memory of the SOC.
We show both the buffer switching examples in two different function calls in the example below.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
c66ss0 nortos | |
Toolchain | ti-arm-clang, ti-c6000 |
Board | am273x-evm |
Example folder | examples/drivers/csirx/csirx_internal_loopback/ |
Shown below is a sample output when the application is run,