New firmware (08501-130) released

Post Reply
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

New firmware (08501-130) released

Post by jye1 »

We're pleased to announce that new firmware (08501-130) for FG085 has been released. It brings some very useful improvements:

1 ) Arbitrary waveform generation (AWG) has been implemented. With support of jyeLab FG085 can now generates any user defined signals.
2 ) Implemented trigger input function. Now Output can be controlled by an external TTL signal or a switch. Pressing [ADJ] dial will toggle trigger function on/off.
3 ) Duty cycle (for square signal only) becomes changeable by user. The change range is 1 - 100% with resolution of 1%. Use [.] (decimal point) button to access the feature.
4 ) Improved frequency sweep function. High-to-low sweep can now be done by setting start frequency greater than stop frequency. Bi-directional sweep can be enabled/disabled by pressing [+/-] button.

This is a capture of the trigger function.
Image

This is a capture for the sweeping feature.
Image
dds01
Posts: 3
Joined: Sat Mar 09, 2013 3:27 pm

Re: New firmware (08501-130) released

Post by dds01 »

Hi - these new features are great! Really love the possibility of generating arbitrary waveforms and sweeps.

While playing around with the arbitrary waveform feature I noticed the following thing: I was able to write a small utility which would download data. That works actually quite well. However, it seems that Iam not able to fill in the the first and last eight bytes of the waveform array. This is what I am doing:

* Send 0xFE and 0x14 to indicate data transfer

* Send databyte, which is 0x01 followed by 0x05. This represents 0x0105, the count from the command byte to the end of the data, as specified in the manual. By try and error I discovered that fill bytes of 0x00 in case of a 0xFE occurring for example in the waveform data in the data stream are ignored in this count. But not sure that this is the right assumption. Also not 100% sure that 0x0105 is the correct length; seems that the last entry in the wave array gets only set if I send 0x0106 (one more than specified?) instead of 0x0105....

* Next I send a fill byte 0x00 as specified, than the data size as 0x00 followed by 0x01, which transcibes to 0x0100, or 256 decimal.

* After this, 256 data bytes are send. After transmission, I receive the following codes from the FG085: 0xFE, 0x13, 0x06, 0x00, 0x80, 0x01, 0x00.

This sequence seems to indicate successful transmission, because I do not receive this sequence when there is an error.

So, in a way I am able to download waveforms to the FG085. There are two small improvements I would like to implement in my little program:

- first, I noticed that I am seem to be unable to set any value to the first 8 positions of the waveform. Is that correct or some error in the way I am talking to the FG085?

- second, is there a command code to query the serial line for the presence of the FG085? That would be great to have as a safety check.

In any way - the FG085 is a great tool in the lab. Keep up the good work!
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

Re: New firmware (08501-130) released

Post by jye1 »

Sorry, what the manual described does not reflect a last minute change. There are 8 bytes reserved after the Date Size field and before waveform data start. So actually waveform date start at offset 0x0E instead of 0x06 as stated in the manual. Accordingly, the overall frame size should be 14 + 256 = 270 (0x010E).

We'll amend the manual as soon as possible.
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

Re: New firmware (08501-130) released

Post by jye1 »

To your second question, send the following sequence

0xE1, 0x04, 0x00, 0x00

It should reply

0xE2, 0x09, 0x00, 0x47, 0x01, 0x00, 0x00, 0x00, 0x00

where 0x47 ('G') represents Generator and the following 0x01 is for FG085.
Post Reply