IVC and Real-Time Camera Engine

Hi,

I need to check the config I send to camera since Xavier now use messages to set camera settings.

I can see callback from VI, but it seems there’s no callback from CSI.

I have checked this post:
[How does IVC work in xavier?]

But the TRM I checked (version 1.4P, released at 2020/05/04) doesn’t have a chapter called “Real-Time Camera Engine(RCE)”.

The chapter mentioned RCE is at chapter 8, and it seems not have much information about RCE.

So here’s my question:

Is there any document mentioned about how does IVC or RCE work?

If not, is there any method to check response from CSI?

hello ts01399984,

if you’re looking [Figure 2.1 Xavier Processor Block Diagram] in TRM, that’s RCE block to handle camera buffers on Xavier.
you might also check the Xavier flashing messages, it’s RCE firmware to have those controls.
for example,

[ 101.3372 ] Writing partition rce-fw with camera-rtcpu-rce_sigheader.img.encrypt
[ 101.3450 ] [................................................] 100%

you could enable VI tracing logs to check the response from CSI.
as you can see from the commands, it enable trace logs in tegra_rtcpu; and also set the log level of camrtc
for example,

echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 2 > /sys/kernel/debug/camrtc/log-level
echo > /sys/kernel/debug/tracing/trace
cat /sys/kernel/debug/tracing/trace

Hi Jerry,

Thanks for reply, I’ll have a try.

I’ll open a new topic if I have any further question.