You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem that I am facing is that my program can only communicate with one of the devices because
the SpiDevice can not change the mode of the SpiBus.
I think this design decision was discussed back in 2022 in this comment #351 (comment).
Could you please advise on how I could address this problem in my code?
At the moment this must be implemented in a HAL-specific way. The difficulty will depend on the HAL you are using (I cannot access your application repo) but it will probably involve rewriting a bit of embedded-hal-bus so that when a device is activated, the bus is reconfigured.
I have a small board that has 2 devices attached to the same SPI bus
Each device has its own CS pin.
I am using the following two drivers
The problem that I am facing is that my program can only communicate with one of the devices because
the
SpiDevice
can not change the mode of theSpiBus
.I think this design decision was discussed back in 2022 in this comment #351 (comment).
Could you please advise on how I could address this problem in my code?
If interested in the code of my application you can have a look at this branch https://github.com/dan-corneanu/ad983x_signal_generator/tree/features/configure_ushell.
The text was updated successfully, but these errors were encountered: