2023-12-29 12:53 PM - last edited on 2024-01-02 06:01 AM by SofLit
Hi,
I am struggling to get SPI and I2C to work at the same time on my project I have tried multiple things (DMA, interrupts etc...) are there any example projects that already have this implemented? I am simply trying to read an I2C sensor value and show it on an SPI screen, as soon as I enable the SPI TFT the I2C returns zero values....
2024-01-02 01:57 AM
Hello @Linkpad,
Thank you for your question !
Here some Remark :
Best Regards,
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-02 02:32 AM
Hi Pierre,
Thanks for the advice what was happening in this case is the STM32F303K8 Discovery Board was pulling the I2C system low as soon as SPI was initiated, I swapped the project to an STM32F412G Discovery Board and the problem went away and is now working fine. I think some discovery boards have limitations on functionality (with jumper settings).
Thanks
Patrick
2024-01-02 08:46 AM
Hi @Linkpad
The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.
Regards,
Billy