arang
-
Posts
14 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by arang
-
-
@attila
Can the DIO pins voltage changed individually?
Say DIO 25 = 3.3V and DIO 27 = 2.5V.
When I tried using the Supplies tool, that all the pins has the same Digital voltage.
Is this hardware or software limitation. or Am I missing something?
Thanks
-
-
@attila
Digital Discovery has 16 I/O pins.
say I am using DIO24
To enable output - what is the mask?
is DIO24 set as DIO -0 in the code? i.e mask bit LSB 0th bit?
dwf.FDwfDigitalIOOutputEnableSet(hdwf, ? )
Thanks
-
Hi,
I can find example scripts to Read/write from the protocol viewer. (Read(address),write(address)).have to set the DIO27 supply to 3.3V and vary it programmatically .
I couldn't find any sample scripts to control Digital I/O supplies for Digital discovery!
All the examples/references, I found are Analog discovery Analog supplies controls.
Can you please point to manual/reference.
Thanks -
-
@attila Thanks
Let me be clear. I would like Digital Discovery to be the Master and my device to Slave.
Should I be using Master or Spy/Slave tab?
If I have to use Slave tab, Where can we specify the sub address to read 16bit address.
From the pictures you sent, you have specified Sub address in Master tab and how it can be used by Slave tab?
Thanks. -
Thanks again @attila
I see there is only one byte sent after the start!Fixed it now.
Please see below, even after sending 2 bytes, when I try to write and read, I get garbage values from the device.
What am I missing?Note: SCL, SDA is pulled up using 1k resistor and connected to DIO 27 - 3.3V supply.
Thanks for your help.
-
@attila Thanks.
I am using the h as prefix and still, the readback values from the device is not correct! See picture below.
Note: I have connected SCL, SDA using a pull up resistor to DIO 27 ( 3.3V )
In the picture below- tried to write bytes 1 2 3 , but read back as 2,2,2..
The device Ack's and I see no issue. But the readback values are wrong!
Thanks
-
10 hours ago, JColvin said:
Hi @arang,
I believe that only 7-bit addressing is supported, at least as per the post from the developer here:
which is also still the case in the latest beta version (3.21.29, https://forum.digilent.com/topic/8908-waveforms-beta-download/) at time of writing. I have not heard any plans to change this.
Thanks,
JColviThanks @JColvin
The device slave address is 7 bit address. The device memory addressing is 16 bit .
I understand that we have to use sub address in the Waveform. How the sub address need to be specified ? say 00h 00h ?
I see the device is reading garbage, the readback values are wrong!
-
Hi,
I have a i2c device that uses a 16 bit memory address. Is there an option in waveforms protocol to specify it? I see I2C protocol viewer uses 8 bit address!
Thanks -
-
Is there a way to change Rise/fall times, dutycycle, skew etc using I2C Protocol viewer in Waveform?
MCC134 - Sampling Time
in Measurement Computing (MCC)
Posted
How to change the Sampling time of thermal data (ie: number of points per second).
I see the Python library has a method update_interval_write() and it has values only between 1-255.
update_interval_write(5)- Does this mean sample at every 5 second interval?
Say if I want 10S/s how to configure in the code?
Thanks