Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/SPI/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void arduino::ZephyrSPI::notUsingInterrupt(int interruptNumber) {
}

void arduino::ZephyrSPI::beginTransaction(SPISettings settings) {
uint32_t mode = 0;
uint32_t mode = SPI_HOLD_ON_CS | SPI_LOCK_ON;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning: As I mentioned in the comments, this hangs SPI, when for example
you follow a SPI.transfer with a SPI.transfer16.


// Set bus mode
switch (settings.getBusMode()) {
Expand Down