cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
168 Views
Registered: ‎07-06-2020

Serial Driver no Interrupt Handler

I'm trying to create a serial interface using pins on my ZCU102 board and am having issues with receiving data from the interface. I have the Tx and Rx pins connected and am able to write to it and see the interrupt get called, but nothing appears using "screen <device>". The second serial interface for the console is working properly (IRQ 47). This is what the proc/interrupts has in it:

 

 

47:   36        0        0          0    GICv2   53    Level   xuartps
48:    1        0        0          0    GICv2   54    Level

 

I looked in petalinux-config -c kernel to see if there is anything in there that looked obvious, but didn't see anything.

I also looked at the device tree and both have entries in zynqmp.dtsi  (uart0 is the console serial port):

		uart0: serial@ff000000 {
			u-boot,dm-pre-reloc;
			compatible = "cdns,uart-r1p12", "xlnx,xuartps";
			status = "disabled";
			interrupt-parent = <&gic>;
			interrupts = <0 21 4>;
			reg = <0x0 0xff000000 0x0 0x1000>;
			clock-names = "uart_clk", "pclk";
			power-domains = <&zynqmp_firmware 33>;
		};

		uart1: serial@ff010000 {
			u-boot,dm-pre-reloc;
			compatible = "cdns,uart-r1p12", "xlnx,xuartps";
			status = "disabled";
			interrupt-parent = <&gic>;
			interrupts = <0 22 4>;
			reg = <0x0 0xff010000 0x0 0x1000>;
			clock-names = "uart_clk", "pclk";
			power-domains = <&zynqmp_firmware 34>;
		};

 

I'm not able to find anything online that has helped. What am I missing?

 

 

0 Kudos
0 Replies