08-23-2021 05:52 AM
Hi,
So I've managed to get a USB-8452 and was able to match the timing diagram given by the datasheet
However as I was the VI, I always get a read data value of 0 even though when viewed under a scope, I could see some data on the 8452's MISO line.
LEGEND:
Blue - Chip Select
Red - Clock
Green - MOSI USB-8452
Yellow - MISO USB-8452
This is the waveform when writing data, here I am writing 0x34 to address/row 0x00 with device address 0x07, LSB first
Here, I am reading back the data from the said address/row 0x00 with device address 0x07, LSB first
And I'm expecting to receive 0x34 (0x2C when LSB first)
Would this be something related to the driver? Or is there something I'm missing?
08-23-2021 05:30 PM
What is the purpose of this piece of code? I could not match these 4 bits to anything.
Any reason you want to go with script mode and not normal mode?