Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: gelssen on March 18, 2017, 06:57:35 AM

Title: TE0726: camera resolution change at demo1
Post by: gelssen on March 18, 2017, 06:57:35 AM
Hello,

I tried to change camera resolution from 1280x720 to 640x480 at demo1.
But camera doesn't response at all.

I made changes the followings:
1. At vivado design, video resize resolution is set to 640x480.
2. At fsbl_hooks.c, set vdma_in_init to be 640x480
3. At system-top.dts, camera resolution is set to 640x480
4. rpi-camera.c, I set sensor_640_480_90

After these changes, stiil camera doesn't working (no video).
Did I miss some changes other than the above ones?
or Could tell me how to change camera resolution at demo1?

Regards,
Title: Re: TE0726: camera resolution change at demo1
Post by: Oleksandr Kiyenko on March 20, 2017, 08:12:03 AM
Hello,

At first you need to check if your camera config is working. You can put ILA core after csi_to_axis core in Vivado project and check for input stream.

Best regards
Oleksandr Kiyenko
Title: Re: TE0726: camera resolution change at demo1
Post by: gelssen on March 20, 2017, 11:14:38 AM
Thank you for your reply.

I'll try your suggestion, but I want to make sure I didn't miss any other setting to change resolution.
Could you confirm it?

Thank you,
Title: Re: TE0726: camera resolution change at demo1
Post by: Oleksandr Kiyenko on March 20, 2017, 04:48:10 PM
Hello,

Other resolution settings is in Linux configuration. You need to change framebuffer definition in subsystems/linux/configs/device-tree/system-top.dts

Best regards
Oleksandr Kiyenko
Title: Re: TE0726: camera resolution change at demo1
Post by: gelssen on March 21, 2017, 12:14:13 AM
Thank you for your confirmation.
I 'll check internal signals.

Thanks a lot,