demo9s08qg8 - Getting the tempature sensor going from ADC module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

demo9s08qg8 - Getting the tempature sensor going from ADC module

2,698 Views
bobh
Contributor I
Does anybody have the 'C' code function calls to get the ADC temperture sensor taking measurements on the demo9s08qg8 board when the ADC bean wizzard was used to put the ADC module in the project ?

Thanks,
Bob H 
 
 
 
 
 
 
 
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2007-11-20 10:58 AM
Labels (1)
0 Kudos
Reply
6 Replies

937 Views
peg
Senior Contributor IV
0 Kudos
Reply

937 Views
bobh
Contributor I
Do you know where the if project associated with the application note is stored somewhere on the Freescale website. I cannot find it.
 
                                                                    Thanks,
                                                                    Bob H
 
 
0 Kudos
Reply

937 Views
peg
Senior Contributor IV
Hi Bob,

I don't know that there is any.

You could also look at the quickstart, posted in the stickies at the top of this forum.

0 Kudos
Reply

937 Views
bigmac
Specialist III
Hello Bob,
 
Here is a reference to an earlier post which discusses single temperature calibration calculations.
 
Fixed point calculations are assumed, since the available resources for the QG8 will usually be insufficient for floating point operations.
 
Accuracy and resolution using the internal sensor is poor, and the measured temperature will include any self-heating of the die.  The main reason for accuracy limitation is that the output of the internal sensor is not amplified before being applied to its input of the ADC.  If you need better accuracy and resollution, an external temperature sensor device is a better choice, with typically six times voltage slope, compared with the internal sensor.
 
Regards,
Mac
 
0 Kudos
Reply

937 Views
bobh
Contributor I
It looks to me that the MPXY8300 pressure chip from Freescale has all of the functions I am looking for to experiment. Can you program the MPXY8300 with Code Warrior 6.0 for the Flexis series IDE ?
 
                                                                                                Thanks,
                                                                                                Bob H
0 Kudos
Reply

937 Views
bobh
Contributor I
Thanks for the information. I was just expermenting with the Code Warrior projects and thought that the temperature sensor would be a good project to see how the hardware interacts with the events part of the bean wizzard. It looks to me though that the software still needs some work.
 
                                                                       Thanks,
                                                                       Bob H 
 
                                                                                                   
0 Kudos
Reply