Hi, everybody. I am solving very easy task, but I am not able to achive the results…
It is simple. All I need is get the internal ADC reference of MSP430F2132 at the output pins Vref+ and Vref- (P2.4 resp. P2.3). I have tried almost everything including I/O pin function selection, ADC10AE0 analog (input) register, but nothing works. I believe there is nothing difficult about it, but I can not see it…
Relevant code part: (assume nothing else was done considering this issue)
mov.w #1011000000000000B, &ADC10CTL1
; input (Vcc-Vss)/2 (1011), sample clock inter. (00),
; straight binary output (0), not invert sample (0),
; clock divider /1 (000), ADC clock internal (00),
; single channel, single conversion (00),
; ADC busy 0 (0)
mov.w #0010001001110000B, &ADC10CTL0
; VR+ = Vref, VR- = Vss (001), sample = 4 (00),
; sampl. rate 50ksps (0), reference output (1),
; ref. buffer all the time (0), not needed (0),
; Vref = 2,5V (1), ref. generator on (1),
; ADC10 on (1), interrupt enable (0),
; flag cleared (0), enable conversion (0),
; start sample and conversion (0)
jmp $
Can anyone suggest, how can I get that internal reference to the output pins?
Thank you very much…