Other Parts Discussed in Thread: CONTROLSUITE
I have used the code example mentioned in
http://www.ti.com/lit/sprab84
and I am using it on F2806x (even though example code is 2803x).
The locations for the following are different in my F28069:
#define getOsc1FineTrimSlope() (*(int16 (*)(void))0x3D7E90)() //Oscillator 1 fine trim at high temp #define getOsc1FineTrimOffset() (*(int16 (*)(void))0x3D7E93)() //Oscillator 1 coarse trim #define getOsc1CoarseTrim() (*(int16 (*)(void))0x3D7E96)() //Slope used to compensate oscillator 2 (fine trim steps / ADC code). Stored //in fixed point Q15 format. #define getOsc2FineTrimSlope() (*(int16 (*)(void))0x3D7E99)() //Oscillator 2 fine trim at high temp #define getOsc2FineTrimOffset() (*(int16 (*)(void))0x3D7E9C)() //Oscillator 2 coarse trim #define getOsc2CoarseTrim() (*(int16 (*)(void))0x3D7E9F)() //ADC reading of temperature sensor at reference temperature for compensation #define getRefTempOffset() (*(int16 (*)(void))0x3D7EA2)()
For example, I know in F28069 the Temp Offset is 3D7E82 and not 3D7EA2. Where can I find all the correct locations for other things like Osc Fine Trim Slope and Osc Fine Trim Offset for my specific device?
My device is TMS.