Hi,
This issue came up following this thread: https://forum.allaboutcircuits.com/threads/experimenting-with-the-ad9851.189574/. Basically, I've decided to interact with the AD9851 board bought from AliExpress, but now using the Mikroe USB SPI click board. First, I found that I had to send the SPI command twice to set the frequency. Oddly enough, the SPI transfer works every other time, and that is consistent.
I was supplying 5V to the AD9851 board when this was happening. It was never an issue when I've interfaced it with the CP2130, but since the AD9851 requires at least 3.5V at the digital input pins to acknowledge a logic high level, then I thought it could be something related to this. The Mikroe board only outputs 3V signals.
Following that, I've decided to power the AD9851 board with 3.3V from the Mikroe board. Thus, any logic high signals would surely be acknowledged (or so I thought). However, when setting the frequency, the frequency of the output signal switches to some random value. I've measured 3V at the supply coming from the Mikroe board. Albeit a tad low, it doesn't result from the fact that the regulator from that board is loaded.
I'm yet to post the code I'm having issues with (probably, the issue is electrical, and doesn't stem from the code). This is very strange. I haven't measured what the chip select pin I'm using (GP0) is actually doing. Does anyone have any experience with the AD9851? Should I try to buy another AD9851 board, or a chip from a reputable distributor? This is not the only problem I'm having, and it happens the same when the data rate is set to the lowest possible value.
Kind regards, Samuel Lourenço
This issue came up following this thread: https://forum.allaboutcircuits.com/threads/experimenting-with-the-ad9851.189574/. Basically, I've decided to interact with the AD9851 board bought from AliExpress, but now using the Mikroe USB SPI click board. First, I found that I had to send the SPI command twice to set the frequency. Oddly enough, the SPI transfer works every other time, and that is consistent.
I was supplying 5V to the AD9851 board when this was happening. It was never an issue when I've interfaced it with the CP2130, but since the AD9851 requires at least 3.5V at the digital input pins to acknowledge a logic high level, then I thought it could be something related to this. The Mikroe board only outputs 3V signals.
Following that, I've decided to power the AD9851 board with 3.3V from the Mikroe board. Thus, any logic high signals would surely be acknowledged (or so I thought). However, when setting the frequency, the frequency of the output signal switches to some random value. I've measured 3V at the supply coming from the Mikroe board. Albeit a tad low, it doesn't result from the fact that the regulator from that board is loaded.
I'm yet to post the code I'm having issues with (probably, the issue is electrical, and doesn't stem from the code). This is very strange. I haven't measured what the chip select pin I'm using (GP0) is actually doing. Does anyone have any experience with the AD9851? Should I try to buy another AD9851 board, or a chip from a reputable distributor? This is not the only problem I'm having, and it happens the same when the data rate is set to the lowest possible value.
Kind regards, Samuel Lourenço