Recent Posts

Pages: [1] 2 3 ... 10
1
Trenz Electronic FPGA Modules / Re: Zynqberry camera control by IIC
« Last post by Gloria on April 16, 2021, 02:57:26 PM »
I get it. Thank you!
2
Trenz Electronic FPGA Modules / Re: Zynqberry camera control by IIC
« Last post by Oleksandr Kiyenko on April 16, 2021, 07:48:33 AM »
Hi Gloria,

camera I2C is connected to PS, so there is no easy way to configure it from PL.

Best regards
Oleksandr Kiyenko
3
Trenz Electronic FPGA Modules / Zynqberry camera control by IIC
« Last post by Gloria on April 16, 2021, 06:24:49 AM »
Hi, I have a TE0726-03M. And I want to control the camera by IIC.
In wonder know that whether can I configure the IIC by PL? Can I configure the MUX IIC ,mio 40...49?
Or the MUX IIC is connected to the PS so I can not control it by PL?
4
Hi,
uart looks OK on device tree, but as I know there are also some other linux options possible to forward uart prints to other port.

Can you try following.

Use our 2018.2 template project and your xsa file and generate linux files without any changed and check if it works.
If it works, start to add ADI drivers and regenerate linux.

Second option to check if linux is available is to add fix IP to you linux system and use for example putty to connect to the the system via SSH.

br
John
5
Hi John,

If it is, I don't know where that configuration lives. I've verified in petalinux-config, "Subsystem AUTO Hardware Settings->Serial Settings-> Primary stdin/stdout (psi_uart_0)" and in the same submenu "System stdin/stdout baudrate (115200)" as I would expect. The Zynq UltraScale+ IP Block in Vivado is configured to use "MIO 42 .. 43" for UART 0 and UART 1 is unchecked/unused.  I have attached my built device tree source (.dts file converted using the Linux dtc tool) in hopes that might help unveil something. Is there another place that the UART could be affected or configured?

I reverified today that I can still boot successfully using the 2018.3 Starter Kit prebuilt images just fine and output from "lspci" and lsusb" look good to me. Also, it may be notable that the ADI Linux version is 4.14.

Thanks again for your assistance!

6
Trenz Electronic FPGA Modules / Re: ZynqBerryZero camera init.sh help
« Last post by sthibault on April 14, 2021, 01:29:33 PM »
I see, thank you for that.
7
Trenz Electronic FPGA Modules / Re: ZynqBerryZero camera init.sh help
« Last post by JH on April 14, 2021, 12:49:26 PM »
Hi,
devmem ... enables some interfaces on PL over emio, see PL Design
i2cpick... does not work at the moment, we will fix this in one of the next updates. it will normaly detect which camera is available1.3 or 2.1
after "if" .... --> depending on result RPI will be configured over I2C and stream is enabled

br
John
8
Trenz Electronic FPGA Modules / ZynqBerryZero camera init.sh help
« Last post by sthibault on April 14, 2021, 12:19:53 AM »
Would it be possible to get an explanation of what each command does in the init.sh script?

Code: [Select]
#!/bin/sh
devmem 0x41200004 32 0
devmem 0x41200000 32 1
i2cpick 1 0x36
rc=$?
if [ $rc -eq $((0x36)) ]
then
  echo "Rpi Cam 1.3"
  #PCB REV01
  #rpicam /dev/i2c-1
  #PCB REV02
  rpicam /dev/i2c-3
  devmem 0x41210000 32 1
fi
9
I got this working.  It turned out to be a cable problem.  In case anyone else is having a problem, the i2cdetect -r 3 command should show a valid device at 0x10 for PI Camera 2.1.
10
Trenz Electronic FPGA Modules / ZyncBerryZero Camera reference design not working
« Last post by sthibault on April 13, 2021, 11:01:14 PM »
I've programmed my device with the reference design using prebuilt binaries.  However, it seems unable to communicate with the camera:
Code: [Select]
Init Start
Run init.sh from SD card
Rpi Cam 2.1
Raspberry Pi Camera Init v1.3
Unable to send data: No such device or address
Camera V2.X configuration
Unable to send data: No such device or address
Unable to send data: No such device or address
Unable to send data: No such device or address
Unable to send data: No such device or address
Unable to send data: No such device or address
Unable to send data: No such device or address
Unable to send data: No such device or address
Model not supported!
: No such device or address
Init End

Any ideas how to resolve?  Camera is Pi Camera 2.1.
Pages: [1] 2 3 ... 10