Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/AM4378: am4378

$
0
0

Part Number:AM4378

Tool/software: Linux

Team, We are trying to inegrate SPI based NFC chip and followings are the settings.

spi_display_pins_default: spi_display_pins_default {
                    pinctrl-single,pins = <
                            AM4372_IOPAD(0x990,PIN_INPUT | MUX_MODE3) /* (N24) mcasp0_aclkx.spi1_sclk */
                            AM4372_IOPAD(0x994,PIN_OUTPUT_PULLUP | MUX_MODE3) /* (N22) mcasp0_fsx.spi1_d0 */
                            AM4372_IOPAD(0x998,PIN_INPUT_PULLUP | MUX_MODE3) /* (H23) mcasp0_axr0.spi1_d1 */
                            AM4372_IOPAD(0x99c,PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* (M24) mcasp0_ahclkr.spi1_cs0 */
                  AM4372_IOPAD(0x9EC, PIN_INPUT_PULLDOWN | MUX_MODE7)   /* BUSY*/
                                  AM4372_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)  /*IRQ*/
                                        /*AM4372_IOPAD(0x9e8, PIN_OUTPUT | MUX_MODE7) *//*REset*/
                                 AM4372_IOPAD(0x858, PIN_OUTPUT_PULLUP | MUX_MODE7) /*RESET */
                    >;
            };

&spi1 {
        pinctrl-names = "default";
          pinctrl-0 = <&spi_display_pins_default>;
    dmas = <&edma 16 0
        &edma 17 0>;
    dma-names = "tx0", "rx0";
          status = "okay";
    ti,pindir-d0-out-d1-in=<1>;
      
    bal: nxprdlib-bal@0 {
        compatible = "nxp,bal";
        reg = <0>;
        spi-max-frequency = <5000000>;
    busy-pin-gpio = <&gpio4 15 0>;
    status = "okay";
/*    
        spidev@0 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "linux,spidev";
                spi-max-frequency = <5000000>;
                reg = <0>;
        status = "okay";
        };*/
};
};

Once we load the module we are seeing the attached crash. Could you please help overcome this issue. We are using the latest SDK(Please visit the site to view this file)

Best Regards, MRP


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>