Closed spusuluri closed 1 year ago
I believe that there is still an error with transmitting the data because there is no symmetry with the value (representation of 28 should be there many times). I can't seem to pinpoint the error.
Also, my DC ADC channel can only read up to about 3.1 V but once it reaches 3.2 V it is incorrect. Tried different gains. Is there a way to get to 3.7 V. I tried using VDD_1_4
and vref_mV=750
but didn't seem to help. Any suggestions?
Fixed issue. It seems that I forgot to set_data.
EDIT: I think I got a 10-byte array but don't know how to read it. This is for when 100 Hz sinusoid has 40 mVpp and 500 Hz sinusoid has 80 mVpp
I get this value:
0x2C490020000000003C4A
transmitted. How do I read this and know if I have the right numbers. The log shows me that the Array is transmitting the numbers in this order from 0-9