SPI Garbage Data Issue while Integrating i.MX 8QXP with S32K146

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI Garbage Data Issue while Integrating i.MX 8QXP with S32K146

890件の閲覧回数
subash_p
Contributor III

Hi NXP Support Team,

We are working on integrating an i.MX 8QXP custom board with an S32K146 MCU over SPI. The setup involves sending data from the S32K146 to the i.MX 8QXP, but we are encountering an issue where the i.MX 8QXP receives garbage values instead of the expected data.

Configuration Details:

S32K146 SPI Clock Frequency: 8 MHz

i.MX 8QXP Device Tree Configuration:

&lpspi0 {
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
assigned-clock-rates = <60000000>;
pinctrl-0 = <&pinctrl_lpspi0 &pinctrl_lpspi0_cs>;
cs-gpios = <&lsio_gpio1 8 GPIO_ACTIVE_LOW>;
status = "okay";

spidev0: spi@0 {
reg = <0>;
compatible = "rohm,dh2228fv";
spi-max-frequency = <8000000>;
};
};

Updated the i.MX 8QXP device tree to include the LPSPI0 configuration with spidev and ensured the spi-max-frequency was set to 8 MHz.

タグ(2)
0 件の賞賛
返信
0 返答(返信)