DaveR wrote:Some good news and some bad from me: the second AD9851 module I ordered arrived from China this morning, and it looks really nice - 3 times the size of the usual boards, with four SMA connectors, which would make it a very good board to build into a box as a small signal generator. Unfortunately, the board itself was obviously originally designed for the AD9850 chip, and has a 125MHz oscillator fitted instead of the required 30MHz one!! Consequently, due to the mismatch, the module will not work as either an AD9851 or AD9850.
That is a pity. The board looks very nice, project-case ready as you say. It looks as it would be easy enough to create your own schematic from the board layout. We can only hope that the wrong crystal was fitted in error and that they can send you a board that has the correct oscillator fitted.
DaveR wrote:Have you actually managed to get a Nano board fully working with Trackgen?
I'd be very interested to know that as well.
DaveR wrote:In theory, the Nano should work the same as an Uno, but I can't get mine to be recognised by Trackgen no matter how I wire it up. I can set any default frequency in Steve's code before the sketch is uploaded, and the output is correct - so I know that the Nano board works using Uno code - but I can't get the red square in RSP-SAS to turn green, so can't control the Nano afterwards.Is there something obvious I'm missing, Steve, or will another mod to the code be necessary to allow the Nano to be used?
A wise man once said, "In theory, theory and practice are the same thing, in practice they are not"
I can't think of anything obvious, certainly nothing in the code should need to be changed. Having said that, I've noticed that sometimes when the analyser is first launched, after my PC has just booted, the Trackgen comms port will not select (turn green). The Trackgen comms port needs to be selected, then de-selected by selecting another comms port, then re-selected, then I get a green light. I've noticed this behavior before with another project, and it seems to be related to the Microsoft comms driver. It appears that once my PC is booted, the driver ignores the first block of data received - from anything. This 'feature' is mentioned in the Microsoft comms port documenation. I've addressed this problem for the next release.
The only code differences are the clock frequency that has to be set when the code is compiled for an AD9850 or an AD9851. Perhaps there are differences in the libraries used between Arduino modules. Unfortunately I don't have a Nano here to test code with. I'll recompile the code for both the AD9850 and AD9851 for the Nano board and post a zip file here later. I have to go out for the rest of the day, so it will be around 8 hours before I can get that done.
K9AQ wrote:My AD985-'s appear to be same design. I attempted to attach a photo but the file was too big. I will have to play around with the file to make it smaller.
Dave posted pics of two type of module, perhaps you can just make a copy of the pic from the webpage, or indicate which of his pics match the module you have. I'm just curious to see if your module is different to the modules Dave and I are using. BTW - I'm still waiting for my AD9850 module to arrive - might be time to chase up the supplier I think.
K9AQ wrote:Like Dave, I would love to have the trackgen software working with a Nano. For this application you don't need any more IO.
I agree, anything else is wasted. I only used the Mega because it was all I had available at the time. I'll get a Nano on order so I have something I can test future code with.