Skip to content

Fixed issue #11: SPI constructors and SS pin usage modified #15

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 4 commits into from
Jun 9, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jun 7, 2017

Fix #11:

  • SPI constructor modified. SS pin should be set only if hardware NSS pin is required.
  • Hardware NSS pin can be enabled. If NSS enabled, software CS is disabled.

See microcontroller documentation for hardware NSS pin available.

@fpistm
Copy link
Member

fpistm commented Jun 8, 2017

NSSPMode field of SPI_InitTypeDef is only available for F0/F3/F7/L4.

@ghost
Copy link
Author

ghost commented Jun 9, 2017

I removed NSSPMode field from the configuration. It is not an useful option in our case.

@ghost ghost mentioned this pull request Jun 9, 2017
@fpistm fpistm merged commit 055864f into master Jun 9, 2017
@fpistm fpistm deleted the issue_11 branch August 7, 2017 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant