Author Topic: test camera using TE0726-03M  (Read 203 times)

Gloria

  • Active Member
  • *
  • Posts: 18
test camera using TE0726-03M
« on: March 31, 2021, 09:02:15 AM »
I have a TE0726-03M zynqberry board and I want test my camera module IMX219 with the board.
I create a project and create the block design and export the harware (.xsa), and create an application in vitis.
I copy the files sensor_config.h and rpicam.c in zynqberry demo1  to vitis, however, some errors appear up for the lack of include files, including <i2c.h>.<i2c-dev.h> and  <ioctl.h>.
where can I get the files? I cannot find them in zynqberry demo1.

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1623
Re: test camera using TE0726-03M
« Reply #1 on: March 31, 2021, 10:06:44 AM »
Hi,
https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo1#TE0726ZynqberryDemo1-Content
source code is included and there is also some documentation in the wiki.
--> C code is included into the petalinux template
code was tested only with RRPI camera and it's only a demo:
https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo1#TE0726ZynqberryDemo1-Hardware


br
John

Gloria

  • Active Member
  • *
  • Posts: 18
Re: test camera using TE0726-03M
« Reply #2 on: April 01, 2021, 06:10:26 AM »
Hi, I notice that there is a example about csi camera test in wiki in application notes →design examples→zynqberry demo→csi camera test.https://wiki.trenz-electronic.de/display/PD/CSI2-Camera+Test
I want to do the same thing, and it there the project files? Or. where can I get the ips such as rpi_gpio, etc. I find some ips in zynqdemo1, but some ips are not contained in zynqberry1.


JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1623
Re: test camera using TE0726-03M
« Reply #3 on: April 01, 2021, 06:20:05 AM »
???
Quote
→design examples→zynqberry demo→csi camera test.https://wiki.trenz-electronic.de/display/PD/CSI2-Camera+Test
This is an old archive picture of the first prototyp project.

I've send you:
https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo1#TE0726ZynqberryDemo1-Content
--> this link to a chapter of this page:
https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo1
Please read the information from this page there is also link to the download area...

br
John

Gloria

  • Active Member
  • *
  • Posts: 18
Re: test camera using TE0726-03M
« Reply #4 on: April 03, 2021, 08:54:24 AM »
Hi~
I have loaded the reference design, but I noticed that the there are differences between the block design of demo1 and the block design of camera test (https://wiki.trenz-electronic.de/display/PD/CSI2-Camera+Test).
I want to create a project based on the camera test, however, I need the ip vio (virtual input/output) and the ip rpi gpio, the two ips are not contained in demo1 and vivado. Where can i get the two ips?
Thank you ! ;D ;D ;D

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1623
Re: test camera using TE0726-03M
« Reply #5 on: April 12, 2021, 07:31:05 AM »
Hi,

Quote
I have loaded the reference design, but I noticed that the there are differences between the block design of demo1 and the block design of camera test (https://wiki.trenz-electronic.de/display/PD/CSI2-Camera+Test).
this pictures are  from 2016.   We have 2021 now ;-)

Quote
I want to create a project based on the camera test, however, I need the ip vio (virtual input/output) and the ip rpi gpio, the two ips are not contained in demo1 and vivado. Where can i get the two ips?

https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo1#TE0726ZynqberryDemo1-Content
--> IP are included in the 2019.2 demo project, IP which you didn't find in the IP folder (like VIO...) are from Xilinx which are included in the Vivado installation
--> this link to a chapter of this page:
https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo1
Please read the information from this page there is also link to the download area...

br

John