AnsweredAssumed Answered

iMX6UL-MAX14830 Quad Serial UART

Question asked by Surendra Dhobale on Sep 4, 2016
Latest reply on Sep 6, 2016 by Surendra Dhobale

Hello,

         I am interfacing max 14830 quad serial UART IC with iMX6UL over SPI bus. I am using hobbit board ( RDB for iMX6UL). Driver ( max310x) loaded correctly. But getting error " max14830 ID 0xFF does not match".

I saw the driver, in the detection of the max14830 its failing.

My Device Tree configurations as,

 

&ecspi3 {
        fsl,spi-num-chipselects = <1>;
        cs-gpios = <&gpio4 20 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi3>;
        status = "okay";

/*      spidev@0 {
                compatible = "spidev";
                spi-max-frequency = <60000000>;
                reg = <0>;
        };*/
         max14830: max14830@0 {
                   compatible = "maxim,max14830";
                   reg = <0>;
                   mode = <0>;
                   clocks = <&clk20m>;
                   clock-names = "osc";
//                 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
                   spi-max-frequency = <26000000>;
        };
};

 

 pinctrl_ecspi3: ecspi3grp {
                        fsl,pins = <
//                              MX6UL_PAD_UART2_TX_DATA__ECSPI3_SS0     0x10b0
//                              MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20     0x10b0
                                MX6UL_PAD_CSI_HSYNC__GPIO4_IO20         0x10b0
                                MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK    0x10b0
                                MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI      0x10b0
                                MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO      0x10b0
                        >;
                };

 

What could be problem?

 

Can anybody help on this ? I have gone through other similar threads but not getting the solution.

Is anyone already faced similar issue? How it resolved?

Attached connection diagram.

Attachments

Outcomes