IMX6 CSI Register Settings on Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6 CSI Register Settings on Linux

1,065 Views
umit_kayacik
Contributor II

Hi

How can i see the csi registers in linux command line? If i need to update any kernel or u-boot code is ok for me.

I just want to see 

IPU_CSI_SENS_FRM_SIZE

IPU_CSI_ACT_FRM_SIZE

IOMUX_GPR1

IPU_CSI_SENS_CONF

IPU_CSI_OUT_FRM_CTRL

PU_CSI_CCIR_CODE_1

Umit

0 Kudos
1 Reply

907 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

You could use memtool to see and write the registers of the i.MX.

This tool is located in the following path:

/unit_test/memtool

To use it, the clock of the module needs to be set. Otherwise, the board will crash.

An example of how to use the tool could be.

./memtool -32 0x02A30000 1

The 0x02A30000 is the IPU2_CSI0_SENS_FRM_SIZE address for the i.MX6Q.

For more information about the address of the IPU registers that you mentioned. Please see page 2903 of the i.MX6Q reference manual.

 

Hope this information could help you.

Best regards,

Diego.

0 Kudos