Tom Reinke

MC9S12DB128 Port/ATD/Coding questions.

Discussion created by Tom Reinke on Sep 2, 2010
Latest reply on Sep 2, 2010 by DPB

I'm going to apologize in advance for my lack of in depth knowledge of what's really going on here so please try and keep it simple with me. 

 

Here's the problem that my team and I have run into. We are trying to take 3 analog signals come into pins 51, 52, and 53 which are ATD0, ATD1, and ATD2. Since we are going to be putting these signals out over a 9600 baud Zigbee we need these to come out of the TX line on pin 66.

 

First off though, we need to figure out what we're doing wrong with the ATD because as of right now our project will compile correctly but when running a test on it with an o-scope we're not able to see anything coming off the pin 66.

 

I've included the .zip of the project if anyone wants to take a look, but be warned we're college students and this is our first attempt at anything like this. We've been doing research on a book that is at our library and that's what we've formed our current code off of.

Outcomes