Power & Source of Big Ideas

SPI first clock pulse

Moderators: chensy, FATechsupport

Good morning all,
I'm trying to comunicate with an SPI device on a NanoPi Neo core 2 (SPI0) but i have some problems.
I can't connect the CS signal and I have a strange first clock pulse so the device receive wrong data

As you can see the
Cattura_10.JPG
Cattura_10.JPG (66.09 KiB) Viewed 1745 times



Any comments/ suggestions are welcome
Thanks in advace

Attachments

bpastore wrote:
Good morning all,
I'm trying to comunicate with an SPI device on a NanoPi Neo core 2 (SPI0) but i have some problems.
I can't connect the CS signal and I have a strange first clock pulse so the device receive wrong data

As you can see the
Cattura_10.JPG



Any comments/ suggestions are welcome
Thanks in advace


AFAIK SPI works as expected. Which kernel you use?
If you don't capture the SPI when your CS is low, you are probably reading other SPI activitiy on the bus.

You need to setup your logic analyser to trigger capture when your CS goes low.

Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 14 guests