I want turn on excitation current source 1, but it didn't work:
IEXCON = (BIT1+BIT3) + BIT7; // Enable Excitation Current Source 1 - 1000uA
please help me to make current 1 mA from IEXC 1.
As you have written & as explained in the data-sheet REV. B on page 53 in Table 62.
1mA output @ IEXC1 (pin 16 of ADuC7060)
IEXCON = (1 << 7) // Enable IEXC1 output
| (5 << 1); // 1mA excitation current
If it does not work, please check the disassembly what exactly is written into the MMR - should be 0x0000008A.
Do you use the EVAL-ADUC7060 Board?
Keep in mind - referring to your question about 1mA => 1mA @ 2.5V AVDD => max. resistor <= 2.5k
I,m sorry. This code is OK. MCU pin doesn't connect to board.
I'm trying to mesure temperature by Pt100 by scheme in datashit page 54. Then I incrise resistor value, Vref is change and current too. Is this right? And current is 810 uA.
" Do you use the EVAL-ADUC7060 Board? " - No. Resistor is 2,56 K. What do you advice to me, may be less current?