Access ECSPI2 by DSP xtensa #71622
Replies: 3 comments 5 replies
-
I'm concerned about
@LaurentiuM1234 can you please look at this when you have some spare cycles. |
Beta Was this translation helpful? Give feedback.
-
I tested ECSPI2. Although "spi_write_dt" is done with no error, I don't have any signal in ECSPI2 pins (MOSI, SCK, SS). |
Beta Was this translation helpful? Give feedback.
-
You're right that there's only 1
Not sure actually. If you're interested in the CM7-DSP interaction specifically via MU3 then maybe having a look at
Not sure if I can be of any use here as I've never messed around with this IP :(. Maybe you could look at |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Hope you are well.
I want to access ECSPI2 through DSP HiFi4 in IMX8MP.
In device tree I defined ecspi2 node:
And the code is:
I also tested with ECSPI1 and I didn’t get any compile error but when I run the code on DSP, ECSPI1 doesn’t work. It seems that something missing in my configuration because “device_is_ready” and “spi_is_ready_dt” return false:
ECSPI1 node:
I have also enabled gpio in prj.conf
DSP Output:
Could you please tell me how I am able to solve this problem?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions