change device attributes dynamically
I want to change device attributes at /sys/iio..... for AD-FMCOMMS1-EBZ.When will the driver detects the value is changed?will the driver dynamically detects them ?
i want to change values dynamically like
echo 500000000 > out_altvoltage1_DAC_CLK_frequency
Quoted 5 lines · crzy
I want to change device attributes at
/sys/iio..... for AD-FMCOMMS1-EBZ.When will the driver detects the value is changed?will the driver dynamically detects them ?
i want to change values dynamically like
echo 500000000 >out_altvoltage1_DAC_CLK_frequency
Hi,
Yes you can change the attributes dynamically. The driver will update the registers as soon as you write the new value. But in case of the FMCOMMS1 board you should modify the sampling frequency of the DAC by writing to the "out_altvoltage_1A_sampling_frequency" attribute of the "cf-ad9122-core-lpc" device.
- Lars
Quoted 2 lines · crzy
I want to change device attributes at
/sys/iio..... for AD-FMCOMMS1-
EBZ.When
Quoted 6 lines
will the driver detects the value is changed?will the driver dynamically detects them ?
i want to change values dynamically like
echo 500000000 >out_altvoltage1_DAC_CLK_frequency
when will the device reads register value? i mean when will device changes its clk frequency?
Plz tell me how this process takes place
Quoted 13 lines · crzy
Quoted 2 lines · crzy
I want to change device attributes at
/sys/iio..... for AD-FMCOMMS1-EBZ.When
Quoted 6 lines
will the driver detects the value is changed?will the driver dynamically detects them ?
i want to change values dynamically like
echo 500000000 >out_altvoltage1_DAC_CLK_frequency
Quoted 3 lines
when will the device reads register value? i mean when will device changes its clk frequency?
Plz tell me how this process takes place
Hi,
The device's registers are updates as soon as you write to the sysfs file.
- Lars