- Enable SPI driver on nrf52840
Re: Enable SPI driver on nrf52840
Jan Van Winkel <jan.van_winkel@...>
toggle quoted messageShow quoted text
Looks like you configured MOSI & MISO to the same pin (8) is this intentional?
As far as I know the NRF52840 does not support 3-wire (shared MISO/MOSI pin) SPI mode.
Vinayak, Jan, et. al.
Thanks again for your combined help on this. Just ran into a pothole and I thinks its
a simple config issue on my part. I have a simple spi write set up and it appears
to be functional. Am using the following prj.conf.
Having some problems w/debug, so I'm salting driver code with printk's. Ok,
that's a bit of a hack, but will get debug up after this is running. The problem is
that the driver is not returning on completion. Its starting up and then it waits in
the sem take call -- as it should. But, it never completes. I have checked the
code that loads the event handler - that's executing at os start up. I don't have
the ASYNC flag defined in config, so I would expect it to wait until the completion
event shows up from easyDMA. Any suggestions?
Join firstname.lastname@example.org to automatically receive all group messages.