cineq
Newbie level 4
Hi All!!
I want to communicate with GYRO L3G4200D **broken link removed**
I'm communicatinhg with this device using Xilinx System Generator and debuging via co-simulation hardware option.
I was able to generate waveforms which are conformable with SPI protocol for this device:
But as you see i am not able to receive any data. I am sending "10001111" which is "Who am I" register address, and I should receive answer: "11010011". instead of that i've got only "11111111"
I'm using "single step mode" in JTAG Co-Sim and FixedStepDiscrete for simulation in simulink.
I don't understand it because everything looks good and is conformable with L3G4200D specification - first bit(RW) of SDI starts at falling edge of SCL and has value "1"(because I want read data), bits 2 to 8 are register address....:shock: I've checked every master output line under the osciloscope and it looks fine to me, but i was able to check only one channel per time...
The fings change a little when I move SDI signal one clock period further
But it still is not do answer of "Who Am I" Register:roll:
- - - Updated - - -
Does anybody have experience with projects in SysGen and has experience with setting up this kind of communication?
Please help poor student
I want to communicate with GYRO L3G4200D **broken link removed**
I'm communicatinhg with this device using Xilinx System Generator and debuging via co-simulation hardware option.
I was able to generate waveforms which are conformable with SPI protocol for this device:
But as you see i am not able to receive any data. I am sending "10001111" which is "Who am I" register address, and I should receive answer: "11010011". instead of that i've got only "11111111"
I'm using "single step mode" in JTAG Co-Sim and FixedStepDiscrete for simulation in simulink.
I don't understand it because everything looks good and is conformable with L3G4200D specification - first bit(RW) of SDI starts at falling edge of SCL and has value "1"(because I want read data), bits 2 to 8 are register address....:shock: I've checked every master output line under the osciloscope and it looks fine to me, but i was able to check only one channel per time...
The fings change a little when I move SDI signal one clock period further
But it still is not do answer of "Who Am I" Register:roll:
- - - Updated - - -
Does anybody have experience with projects in SysGen and has experience with setting up this kind of communication?
Please help poor student