Part Number: LAUNCHXL-F28377S
Hello,
*** this issue is related to F28377S Delfino(using the Launchpad) and to the AMC1306E25. If this is the wrong place to post it, feel free to move it somewhere it belongs ***
I'm trying to measure an analogue Voltage with an AMC1306E25 Isolated Sigma Delta Modulator and the integrated Sigma Delta Filters in the F28377S Delfino.
In order to test the measurement I have a very simple circuit:
Therefore, the AMC should measure 0V and the Delfino should get a signed integer of (approx.) 0.
When the 5V Power Supply is turned off the Delfino should have a value of 0xFFFF (when used in 16bit-mode) due to the FailSave feature on AMC1306.
However this doesn't work properly, even while using the example sdfm_filters_sync_cpu.c file from TI's device support. It reads the filter data and stores it in a large (1024) uint16 array.
From the example file I only changed the mode of filter 2 to 2 and disabled the clock failure interrupt on filter 1,3 and 4 because there's nothing connected to it. Therefore I'm quite sure the software should work.
I get the following results (without considering the fist few values as they are wrong by design):
- When turning off the 5V supply on the AMC (-> Failsave) I get the correct value 100% of the time
- When turning on the 5V supply the results look like this:
result number | value |
1 | 0 |
2 | 1 |
3 | 1 |
4 | 1 |
5 | 2 |
6 | 2 |
7 | 2 |
8 | 2 |
9 | 3 |
10 | 2 |
11 | 964 |
12 | 12380 |
13 | 29832 |
14 | 32768 |
15 | 32568 |
16 | 25486 |
17 | 4156 |
18 | 2 |
19 | 1 |
Because of these large jumps the data is completely unusable and I don't know why.
I'm pretty sure the connection between AMC and Delfino is right as the results when in failsave are correct.
But how can the actual measurement be so wrong even though the input should only have 0V difference? Could you point me somewhere where I can find help?