I have the following problem with the SPI protocol in WaveForms. I am a beginner and I can't figure it out. My goal is to control the AD9833 chip via SPI. I can't get the chip to work; I can't change the waveform from sine to triangle or adjust the frequency. I'm not sure if the settings themselves are correct.
Here are the steps I'm taking to send commands from the "Master" tab:
1. Adding the first command (Control word 0x2102):
- Command: 0x2102
- Bits: 16
- Word bits: 16
- Clicking the Execute button.
2. Adding the second command (Frequency LSB 0x4006):
- Command: 0x4006
- Bits: 16
- Word bits: 16
- Clicking the Execute button.
3. Adding the third command (Frequency MSB 0x402A):
- Command: 0x402A
- Bits: 16
- Word bits: 16
- Clicking the Execute button.
The problem is that each new command replaces the previous one.
Question
Jurek
I have the following problem with the SPI protocol in WaveForms. I am a beginner and I can't figure it out. My goal is to control the AD9833 chip via SPI. I can't get the chip to work; I can't change the waveform from sine to triangle or adjust the frequency. I'm not sure if the settings themselves are correct.
Here are the steps I'm taking to send commands from the "Master" tab:
1. Adding the first command (Control word 0x2102):
- Command: 0x2102
- Bits: 16
- Word bits: 16
- Clicking the Execute button.
2. Adding the second command (Frequency LSB 0x4006):
- Command: 0x4006
- Bits: 16
- Word bits: 16
- Clicking the Execute button.
3. Adding the third command (Frequency MSB 0x402A):
- Command: 0x402A
- Bits: 16
- Word bits: 16
- Clicking the Execute button.
The problem is that each new command replaces the previous one.
I would like to appreciate your help.
ad9833.pdf
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now