Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

Re: AD5933 source code

$
0
0

Hello,

 

Today I done some new test. The hardware configuration remain the same but I added delay_ms(10) in two positions in software: between initialization and sweep (you suggested 1 ms) and after loop for waiting correct results (checking D2 bit in status register)

  //wait for correct results

  while(!(Byte_read(0x8F) & 0x02));

  delay_ms(10);

Results are now closer to true value but they are still no repeatable... Here is the graph.

Regards.

new test ad5933.jpg


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>