Part Number: PROCESSOR-SDK-AM62X
Tool/software:
I am working on integrating the AD9361 with the AM62x-E3 evaluation board. For this purpose, I have:
- Uploaded the AD9361 driver into IIO.
- Edited the device tree (DTS) to configure the AD9361.
However, I am facing issues in getting the setup to work correctly. I would appreciate your guidance in verifying my DTS modifications and ensuring the correct configuration for proper communication between AM62x-E3 and AD9361.
&main_spi0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_spi0_pins_default>;
ad9361-phy@0 {
compatible = "adi,ad9361";
reg = <0>; // SPI Chip Select 0
spi-max-frequency = <10000000>; // 10 MHz SPI speed
spi-cpha;
/* GPIO Connections */
reset-gpios = <&main_gpio0 64 GPIO_ACTIVE_LOW>; // GPIO 40
sync-gpios = <&main_gpio0 41 GPIO_ACTIVE_HIGH>; // GPIO 41
enable-gpios = <&main_gpio0 22 GPIO_ACTIVE_HIGH>; // GPIO 22
txnrx-gpios = <&main_gpio0 66 GPIO_ACTIVE_HIGH>; // TX/RX Control
};
};
I have attached the DTS file for your reference. Please provide the necessary corrections or recommendations to resolve the issue.
Looking forward to your support.