SPI NSS Pin is set too early on send #5560
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2016-12-23 by Wilberforce Sorry, can't offer help here, but would like to know what hardware and software you are using to do this capture? Posted at 2016-12-23 by GeekBot I use a Saleae logic analyzer. You can purchase one on their website. Posted at 2016-12-23 by Wilberforce Thanks $109 for the logic 4 seems very reasonable. Can the bottom of the range one be used for i2c and onewire? Posted at 2017-01-04 by @gfwilliams Are you sure you have it connected to the right pins? I just tried this connected to a 2 channel scope on SCK and A7 and it works fine for me with a Pico on 1v90. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-12-22 by GeekBot
Hello,
I try to connect a radio module using an SPI link (on SPI3, Espruino Pico, Firmware V1.90)
Here is my code :
NSS Pin is A7.
Since this code doesn't work (communication doesn't work), I had a look at signals with the logic state analyzer.
I attach a screen capture. In fact, NSS PIN is set high too early, when the last byte is not totally sent. I looked at the code line 212, the PIN change seems to be executed without knowledge of end of transmission, but I can be wrong !!
Help will be greatly appreciated.
Best regards
GeekBot
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions