While testing the DDS on an FPGA board with two 9361's we notice that sometimes (very rarely), the DDS tones will not turn on when we boot the system. When viewing the settings in the IIO osc we notice one of the DDS Tx's will be in 'Disabled' mode, enabling this channel will result in tones at expected frequencies. To rectify this, we're purposing to write '1' to both chip's DDS 'raw' values to turn on the DDS (only one call per 9361 chip as the driver seems to send the same value to all iio voltages on that chip).
A new problem occurs if our IIO osc has a default value to have one of the TX's 'Disable' mode for DDS mode, it'll change the value of both 9361 chips to Disabled (writing 1 to raw will work until the OSC has been reloaded, in which case raw will be re-set to 0). However it looks like sometimes 'Disable' simply writes '0' to scale, but not all the time (looks like if you disable the first DDS Tx on a 9361 instead of the second, it just resets the scale value). Is there a way to disable the OSC writing values down to the driver? We use the osc to visually inspect the receive path so this is inconvenient, but not crippling to our development.
I moved your question to the Wide Band RF Transceivers community.
Someone here will be able to assist you.
Wide Band RF Transceivers
The problem comes from the osc ini file processing on start and auto-start during boot up.
If you start osc manually delete the .osc_profile.ini in /home/analog or /root/ before you execute osc.
If you want to prevent osc from auto-start delete: /home/analog/.config/autostart/osc.desktop
Sorry - that was still not the right place.
Help and Support for the AD-FMCOMMS2-EBZ, AD-FMCOMMS3-EBZ, AD-FMCOMMS4-EBZ, AD-FMCOMMS5-EBZ or ARRADIO [Analog Devices W…
Moved to the Linux community. Someone here can help.
Thanks, I had a feeling this was the problem. We're running a windows version of osc and I can't seem to find the ini file anywhere. Tried 'C:\Users\user_name', 'C:\Users\user_name\AppData\...', 'C:\Program Files\IIO Oscilloscope\...' but couldn't find said file.
It should be at path: