Jump to content
  • 0

SPI MISO line shows no data


Rohan16

Question

I have interfaced ADC12138 to Digital Discovery board and observing data on MISO line.SPI Clock frequeny is 100Khz and expecting some data change on MISO line for various commands related to ADC sent over MOSI line.

there is no data observed on MISO line except 0x00 for any command sent to MOSI line. what could be the reason of this issue ? is there any setting need to be performed for SPI Protocol instrument . wiring diagram of circuit is also attached.

image.png.22ae0cfa1ded0a0c49d59de52afd6a72.png

0A.JPG

0C.JPG

08.JPG

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

@attila Thanks for the reply . How do we send the exact 13 bits of data with follwing format  ?  because for 16 bits , it shifts the data and does not appear correct on logic analyzer .

" Protocol.SPI.ReadWrite(XX,[0xXXX])" .........13 bits of data with 13 clock cycles 

Link to comment
Share on other sites

  • 0

@attila In your case , The 0th clock pulse is empty and data transffer starts from 1st clock pulse.

I want to start the data transffer from 0th clock pulse so that it will sync it to clock pulses from start .

and also is there a syntax in script  to send the  binary data (for e.g 101010) ?

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...