Jump to content

Which SPI controller driver does the H3 chip use?


JCOneTwoThree

Recommended Posts

I have a NanoPi Neo Core and I'd like to analyse the SPI controller driver and why it toggles the lines the way it does.

 

In the overlay file, all I see are mentions to 'spidev'.

 

Where can I find out why the data lines shown below toggle the way they do? I.e. chip select goes low way before the clock line. The MISO line has a droop to GND briefly and the CLK line hangs high for a while before toggling...

 

Thanks forum :).

 

YELLOW: CS

PURPLE: MOSI

BLUE: MISO

GREEN: CLK

NanoPi_06.png.c1e3e24f72ba613d4f538e7eb09709d6.png

 

 

EDIT: I'm sending two bytes, 0xDA, 0x00 at spi mode 3. Ignore the decoder, it was set to read LSB first.

Edited by JCOneTwoThree
forgot to add what data is being sent and add more info
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines