Skip to content
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

SPI initialization problems #66

Open
MrKevinWeiss opened this issue Feb 20, 2020 · 1 comment
Open

SPI initialization problems #66

MrKevinWeiss opened this issue Feb 20, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@MrKevinWeiss
Copy link
Collaborator

It seems like in the HAL_SPI_MspInit the NSS pin is not enabled for the nucleo and the inputs should also be pulled up.

TODO:
GPIO_InitStruct.Pull = GPIO_PULLUP;
and GPIO_InitStruct.Pin = DUT_NSS_Pin | DUT_SCK_Pin | DUT_MOSI_Pin;

Also, add floating SPI communication to the SPI qualification test... This could have been the problem for intermittent failures.

@MrKevinWeiss MrKevinWeiss added the bug Something isn't working label Feb 20, 2020
@MrKevinWeiss MrKevinWeiss self-assigned this Feb 20, 2020
@MrKevinWeiss
Copy link
Collaborator Author

3a1921d Should have fixed the problem but I think the qualification test should still be updated so I will leave this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant