Interresting SPI Problem

haraldnagy
Posts: 2
Joined: Tue May 05, 2020 9:06 am

Interresting SPI Problem

Postby haraldnagy » Tue May 05, 2020 9:13 am

Hello!

I hope anybody has a solution for me. Following the Problem.

I am using SPI to readout an ADC. For this I wrote separate c/h file to use in a test program. In this test program everything works fine. Additional used components are WiFi, ADC and a GPIO.

When I use the same c/h files in my firmware project SPI doesn't work. When looking at the bus with a logic analyzer I see that just the clock is toggling but nothing an MOSI/MISO and also the CS doesn't toggle (I assume this is the main reason why it doesn't work).

Together: It is the same hardware where the same software (concerning SPI) is running and one time it works and the other one not.

Does anybody have an idea what might be the problem? Any interference in the API? On Google I didn't find any hints...

Who is online

Users browsing this forum: Basalt and 352 guests