Skip to content

Running an MOSI only SPI (setting sck to None) causes SPI to hang #410

@korken89

Description

@korken89

Hi,

I was testing using the SPI to drive a smart LED where I only needed the MOSI pin, so I set the sck pin to None.
However if one does this the SPI gets stuck in nrf_hal_common::spim::Spim<T>::do_spi_dma_transfer.
Adding back a clock pin does make it work again.

I'm not sure why this happens, and I can't find a reference in the datasheet to this behavior.
Does anyone know how to get this to work without having to have an SCK pin defined?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions