I am sorry if this is a simple question but I have been fighting with this for most of the day: I am using an Arduino to read/write to an SD card (via a breakout board) and during this activity I am trying to use the Digital Discovery (and WaveForms version 3.22.2) to capture (using both the logic analyzer and SPI protocol analyzer) the initial command (0x40) being sent over MOSI; however, my trigger never hits (to add insult to injury, if I am using the SPI protocol analyzer to monitor the traffic I see values being passed back and forth but never the inital command block (which is 0x40 0x00 0x00 0x00 0x00 0x95).
To make sure that I have everything wired up correctly I also setup a Sale Logic 8 to the same pins (using a breadobard) and ran a capture with the Salea Logic 2 software). Without having to mess with any of the configuration params in the Logic software I see (and trigger on) the desired 0x40 Command value so I know its going accross the wire and that my pins are correct.
My settings in WaveForms are:
SPI_CS: DIO24
SPI_CLK: DIO29
SPI_MOSI: DIO28
SPI_MISO: DIO25
SPI Protocol Analyzer Settngs:
Select: DIO24
Clock: DIO29
Active: Low
Polarity: 0
Frequency: Have tried from 100kHz to 50MHz
DQ0: DIO28
DQ1: DIO25
First bit: MSBit
Glitch Filter: Enabled
Logic Analyzer (From the Debug with option)
Select: DIO24
Clock: DIO29
DQ0: DIO28
DQ1: DIO25
Mode: Repeated (also tried just about every other mode)
Trigger: Normal (also tried Auto)
Source: Tried both Digital and Patterns
Protocol: Spi MOSI
Trigger: Value
Value: h40
Place: Any
Source: Digital, Rising Edge, 100MHz (also tried 200Mhx), 8 bits, DIO 24...31
Samples: Default (also tried up to 32 Mi
Rate: 100Mhz (also tried down to 20Mhz)
Note: 3.3v VIO not connected as the Arduino Uno is supplying the volatage
Also, I have tried all of the above on both a Windows 10 system and a Linux system
I must admit at this point I have no clue as to what I am doing wrong so any advice would be much welcomed.
Question
mmessuri
I am sorry if this is a simple question but I have been fighting with this for most of the day: I am using an Arduino to read/write to an SD card (via a breakout board) and during this activity I am trying to use the Digital Discovery (and WaveForms version 3.22.2) to capture (using both the logic analyzer and SPI protocol analyzer) the initial command (0x40) being sent over MOSI; however, my trigger never hits (to add insult to injury, if I am using the SPI protocol analyzer to monitor the traffic I see values being passed back and forth but never the inital command block (which is 0x40 0x00 0x00 0x00 0x00 0x95).
To make sure that I have everything wired up correctly I also setup a Sale Logic 8 to the same pins (using a breadobard) and ran a capture with the Salea Logic 2 software). Without having to mess with any of the configuration params in the Logic software I see (and trigger on) the desired 0x40 Command value so I know its going accross the wire and that my pins are correct.
My settings in WaveForms are: SPI_CS: DIO24 SPI_CLK: DIO29 SPI_MOSI: DIO28 SPI_MISO: DIO25 SPI Protocol Analyzer Settngs: Select: DIO24 Clock: DIO29 Active: Low Polarity: 0 Frequency: Have tried from 100kHz to 50MHz DQ0: DIO28 DQ1: DIO25 First bit: MSBit Glitch Filter: Enabled Logic Analyzer (From the Debug with option) Select: DIO24 Clock: DIO29 DQ0: DIO28 DQ1: DIO25 Mode: Repeated (also tried just about every other mode) Trigger: Normal (also tried Auto) Source: Tried both Digital and Patterns Protocol: Spi MOSI Trigger: Value Value: h40 Place: Any Source: Digital, Rising Edge, 100MHz (also tried 200Mhx), 8 bits, DIO 24...31 Samples: Default (also tried up to 32 Mi Rate: 100Mhz (also tried down to 20Mhz) Note: 3.3v VIO not connected as the Arduino Uno is supplying the volatage
Also, I have tried all of the above on both a Windows 10 system and a Linux system
I must admit at this point I have no clue as to what I am doing wrong so any advice would be much welcomed.
Thanks.
-- Michael --
Edited by mmessuritypo
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now