Skip to content

[2.0.x] DUE - change hardware SPI to mode 0#10195

Merged
Bob-the-Kuhn merged 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
Bob-the-Kuhn:DUE-hw-SPI-to-mode-0
Mar 23, 2018
Merged

[2.0.x] DUE - change hardware SPI to mode 0#10195
Bob-the-Kuhn merged 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
Bob-the-Kuhn:DUE-hw-SPI-to-mode-0

Conversation

@Bob-the-Kuhn
Copy link
Contributor

The current DUE hardware SPI is running in mode 3 despite what the comment says. This PR changes it to mode 0 which matches all the other Marlin SPIs.

DUE's software SPI has been checked and it runs in mode 0.

The SAM3X SPI controller's CPHA control bit is inverted which makes setting the mode correctly a bit confusing.

@Bob-the-Kuhn Bob-the-Kuhn added PR: Bug Fix T: HAL & APIs Topic related to the HAL and internal APIs. labels Mar 23, 2018
@Bob-the-Kuhn Bob-the-Kuhn merged commit 81d68b2 into MarlinFirmware:bugfix-2.0.x Mar 23, 2018
@Bob-the-Kuhn Bob-the-Kuhn changed the title [2.0.x] DUE - change hardware SPI to mode 0change to mode 0 [2.0.x] DUE - change hardware SPI to mode 0 Mar 23, 2018
@Bob-the-Kuhn Bob-the-Kuhn deleted the DUE-hw-SPI-to-mode-0 branch March 23, 2018 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Bug Fix T: HAL & APIs Topic related to the HAL and internal APIs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant