DAC responds on UART interrupt

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        Hai,   
   
I'm busy with a project that uses the DAC8 module and also uses the UART for communication with a PC. For debugging i have the MCU generate a square signal using the DAC. The DAC changes the polarity every 5msec. I see that when i send or receive data using the UART that the DAC signal has interference somehow. There are needles on my output signal. Does anyone have a idea how this is possible?   
0 Likes
2 Replies
Anonymous
Not applicable
        I use 2 DAC's and only 1 of them has the interference   
0 Likes
Anonymous
Not applicable
        Fixed it, my problem was that i use a variable twice. I used it in the UART and in my DAC output calculator   
0 Likes