Skip to content

Fix NRF52 SPI pin initialization #6717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2018
Merged

Fix NRF52 SPI pin initialization #6717

merged 1 commit into from
Apr 25, 2018

Conversation

marcuschangarm
Copy link
Contributor

SPI pins are not initialized correctly according to the current SPI mode.

This commit changes how the SPI instance is configured and ensures
that:

  1. SPI pins are initialized on each object initialization.
  2. SPI pins are reinitialized on each mode or object change.
  3. SPI instance is only initialized when a change has occured.

Description

Pull request type

[x] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

SPI pins are not initialized correctly according to the current
SPI mode.

This commit changes how the SPI instance is configured and ensures
that:

1. SPI pins are initialized on each object initialization.
2. SPI pins are reinitialized on each mode or object change.
3. SPI instance is only initialized when a change has occured.
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 24, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Apr 24, 2018

Build : SUCCESS

Build number : 1842
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6717/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Apr 24, 2018

@mbed-ci
Copy link

mbed-ci commented Apr 25, 2018

@adbridge
Copy link
Contributor

adbridge commented May 4, 2018

NRF5x does not exist on the 5.8 branch... Came in on this PR #6547, for 5.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants