I actually think your clock signal is wonky. I would expect clear hi/lo transitions, even with the jitter you see on the other signals. but instead you end up with that blocky section when the clk signal is meant to be rising/falling uniformly. I also don’t understand why MOSI went high when SSEL did the first Lo/Hi Transition.
Upshot: I don’t think I can guide you to setting up DsPic properly to interface with an SPI device… it could be something electrically (but I doubt it), but looks very specifically to be your signal…
The transitions on the CLK are actually clearer than that, you can see it better on the close-up accompanying this post. From afar they just look like blocks indeed.
MOSI going high at the same time as SSEL is due to the configuration I did, they both go high right before I launch Reset to choose the SPI interface.
I really don’t understand what’s going on here…
Thank you for you inputs either way, it is much appreciated !
From that post, they just did clean up their driver and it worked.So you can try to take a look at your driver again to make sure that everything was config correctly.
I deleted and created a whole new SPI block to make sure that all the parameters were right but there is no change, still no answer from the ALFAT. I tried to play on the delays, giving it more time to react but again, no sign of life.
I don’t get it !
(you don’t know how much I hate saying this) do you have an Arduino you can prove your ALFAT over SPI does/not work ? I honestly think there’s a disconnect in the way you’re handling the data but while we keep playing in DsPic world (where unfortunately you have no friends / proof points in this forum) we will continue to struggle to help.