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

Errors in flip_click_defs.h #2

Open
sigmaeo opened this issue Nov 25, 2021 · 0 comments
Open

Errors in flip_click_defs.h #2

sigmaeo opened this issue Nov 25, 2021 · 0 comments

Comments

@sigmaeo
Copy link

sigmaeo commented Nov 25, 2021

The file flip_click_defs.h has 2 errors in all examples:
1.)
#define B_CS 4
only works with original Arduino Due, but not with Flip&Click board, because here only pin A.29 (=87 = PIN_SPI_SS1 = PIO_PA29A_SPI0_NPCS1) is connected to CS from port B.
On the original Arduino Due board there are two pins connected together to this CS:
A.29 (=87) and C.26 (=4).
2.)
The same is wrong with:
#define C_CS 52
On the original Arduino Due board there are two pins connected together to this CS:
C.29 (=52) and B.21 (=86).
With Flip&Click board we need 86 instead of 52, because only this is connected to the CS-Pin of Port C.

So we need:
#define B_CS 87
#define C_CS 86

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

No branches or pull requests

1 participant