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

Update SPI to work with STM32 #7

Open
peterpolidoro opened this issue Mar 8, 2024 · 0 comments
Open

Update SPI to work with STM32 #7

peterpolidoro opened this issue Mar 8, 2024 · 0 comments

Comments

@peterpolidoro
Copy link
Member

Hi Peter,

I want to use your AD57x4 library with a MapleMini board (and with AD5732AREZ),
but I get an error in the Arduino IDE when compiling it: AD57X4R.cpp:474:68:
error: invalid conversion from 'uint8_t {aka unsigned char}' to 'BitOrder'
[-fpermissive]SPI.beginTransaction(SPISettings(SPI_CLOCK,SPI_BIT_ORDER,SPI_MODE));

I assume the STM32F103 uses a different SPI implementation. What do you suggest,
what should be changed?

Thanks in advance, Donat.

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