AnsweredAssumed Answered

ZedBoard FMCOMMS2 design : adding UART

Question asked by Seb@Airbus on Feb 27, 2015
Latest reply on Mar 3, 2015 by Seb@Airbus

Hello,

 

I used the fmcomms2 reference design on a zedboard and I want to add an axi uartlite IP to the project (in order to connect to a RS232 device on the PMOD).

Her is what i did so far :

  • I add and connect the IP in the system.
  • I connect the interrupt to the IRQ_F2P with the concat IP (on pin In6).
  • I define it in the component in device tree as :

/dts-v1/;

/include/ "zynq-zed.dtsi"

/include/ "zynq-zed-adv7511.dtsi"

&fpga_axi {

                [ ... other stuff]

                axi_uartlite_0: axi_uartlite@42C00000 {

                                compatible = "xlnx,xps-uartlite-1.00.a";

                                reg = <0x42C00000 0x10000>;

                                interrupt-parent = <&gic>;

                                interrupts = <0 60 4>;

                                clock = <100000000>;

  };



After reloading the design into the Zedboard, i can find it in the Ubuntu 12.04 os (/dev/ttyUL0).

Using minicom I can successfully send data (i observed the signal with a scope), but I can’t receive the data on the Rx when in loopback TX/RX.

I’m not sure about the declaration of the interrupts definition.

Would you have any advice on this pb (devicetree, interrupts declaration maybe), or could you tell me if i missed a tutorial on this subject ?

Thanks,

Sébastien

Outcomes