Build a DDS signal generator, 1Hz to 1 M frequency, step adjustable, set to 16 fundamental frequency, amplitude adjustable, with ad603 control, the final solution is determined:
MSP430 + ep240t100c5n + x9104 + ad603 + ne5532 +...
Perfect solution, perfectProgram, Perfect board, perfect dream...
Insert a CPLD on the left and control it through MSP430 to obtain the signal to output the desired frequency.
S1: Select Waveform
S2: select the fundamental frequency (Level 16)
S3: Step (1Hz, 10Hz, 100Hz, 1 kHz, 10 kHz, 100 kHz)
S4: frequency Addition
S5: frequency reduction
5110: Display /*************/
Waveform: sine wave
Fundamental Frequency: 10 kHz
Step: 100Hz
Ne5532 + x9104 + relay: Filter Amplification
The perfect solution has also been made in the real world. The CPLD has used 240 of the 232 le directly and cannot be upgraded any more. It reaches the limit and the MSP430 is controlled as the CPU, CPLD and so on have been used to the extreme.
But, but, ......
Although abnormal circuits are used, the current type is directly converted to the voltage type, and the current input and output are used as the reference voltage input, the feedback is from the vref output voltage signal, 0-2.5 V, it always works,...
However, the new version suddenly finds ile, and VDD itself is short-circuited. That is to say, if Ile is connected to 3.3 V, then 12 V and 3.3v are short-circuited directly, therefore, a strong current is generated. The dac0832 can cook eggs, and the MSP430 can boil water. It is helpless, and I can help myself. The file in the dac0832 PDF says Ile:
Logic 1 cannot be 3.3v, huh? Really dizzy, and it is dizzy, originally the board is a line, but the peak value is only 700mv, one breath, cut the line of Ile 3.3v, jumper to VDD 12 V, the Board is no longer short-circuited. Out of the perfect sine wave, square wave, triangle wave, and sawtooth wave, the labeled peak value is 2.5 V, no jitter, originally, the Ile nnd control signal was not described in the Data Manual, and the world began to become clear.
It used to be wrong all the time. Although the sound waveform can still be obtained after the 700mv is obtained, it is always wrong.
As a result, I manually input the voltage in Ile, 1.9 V for 3.3v, 2.54 V for 5 V, and about 10 V for the perfect V, oh fuck, fuck !!
Finally, the perfect solution, the perfect vision became a perfect display, and finally it was ready...
but I have not slept well for four days and stayed up all night, so I closed my eyes and hung up and floated in the air. I never woke up again...