Post Go back to editing

Issue in RX

Category: Software
Product Number: MAX3109

Hi,

we are using the MAX3109 for UART. Currenly it is connected with the SPI1. The Processor we are using is AM62. The SOM Module we are using in Verdin AM62.

Below are the device tree:

		max3109: max3109@0 {
		compatible = "maxim,max3109";
		reg = <0>; // SPI chip select number
		spi-max-frequency = <20000000>;
		interrupt-parent = <&mcu_gpio0>;
		clocks = <&clk16m0>;
		clock-names = "xtal";
		interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
		gpio-controller;  /* Marks the device node as a GPIO controller */
		#gpio-cells = <2>;
	 };

We are able to detect the the MAX3109 IC under SPI.

we have connected an external crystal which is configured in device tree as well.

we are able to data transmitted and data is also proper with respect to the ttyMAX0 and ttyMAX1 ports, but the issue is we are not receiving anything, i mean only tx is working and rx is not working. when we try read calls on ports ttyMAX0 and ttyMAX1, there is no data and it always returns zero.

IRQ count is always zero for this device under /proc/inteerupts

is there any specific configuration needed for rx?