I am trying to get SPI communication to work between my Espruino Wifi and a time-to-digital dev kit.
If the dev kit board is powered off, the SPI signals from Espruino looks good (I am using a logic interface to debug). But as soon as the dev kit board is powered on, the SCK clock signal stops pulling low, -it is always high with some sporadic short low pulses.
I am a programmer with very little experience from the world of electronics. Does anyone have an idea what could be wrong?
Have you connected the GND wires together on all the boards? That's usually the #1 issue for things like this that change when you apply external power
Yes, I have connected all GND wires together.
I have tried powering both devices from USB (USB -> Espruino Wifi -> external board connected to GND and 3.3V pins of the Espruino Wifi)
and also tried powering both boards from an external 3V power supply (not 3.3V, only 3V...) using the GND and 3.3V. pins of the Espruino Wifi with USB disconnected.
The output in the logic analyser looks the same - when the external board powers up, SCK stops pulling low.
I found the error, one of the pins of the dev kit board is actually mislabeled in the data sheet. I have reported this to the manufacturer now.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem