My name is Joseph Johnson and I am a student at the University of
Southern Mississippi. My question today is regarding the documentation
for the TWR-MCF51CN-KIT for the analog inputs and digital inputs and
outputs. Could you direct me to the appropriate manuals online because
I couldn't find connectors anywhere? I need to be able to connect and
program an analog or digital temperature sensor. Also, i was looking at
the MCF52252DEMOKIT, this seems to have the necessary I/O ports and also
web sever capabilities for my project. My board bascially needs to be
able to read temp from an analog or ditigal temperature sensor and be
able to communicate with other pc's remotely via ethernet.

Reply to This

Replies to This Discussion

The information you seek is in the schematics. Which will be itty bitty tiny and near-impossible to read if you try to print them on normal printers, and hard to follow in any case because of the style of schematic, and the fact that the tower "system" is designed to expand beyond the capabilities of the 51CN cpu that is on the current CPU board (PCIe connector: 164 pins. CPU: 80 pins.) (Not quite so friendly as an Arduino, eh? But more educational!)

It looks to me like your best bet is to tie into the signals labled AN0..7 for analog input and perhaps PWM0..7 for digital IO. These are available on both the PCIe connectors and the 80pin socket strips (on the elevator cards), are NOT used by the serial IO card, and are attached to likely-looking multi-function pins on the CPU. (some are also attached to other things. AN0..2 are connected to the accelerometer on the cpu board, for example, and AN3 to the pot.)

Reply to This

Maybe I can help. Start by looking at the schematics and study the signals that go from the MCU to the elevator card edge. For analog you will see AD0 - AD7. Some are connected to components like accelerometer on TWR-MCF51CN module but you can free up signal by disconnecting the isolation jumper. For a concise table on jumpers and onboard components study the TWR-MCF51CN-UM user manual. I am going to work on adding the MCU to elevator signals in that user manual for quick reference.

Now about your project, I think TWR-MCF51CN-KIT is perfect. You can use the available webserver software to remotely monitor the temperature. Instead of using an external temp sensor take a look at the on-chip temp sensor in MCF51CN device. Look at that part's reference manual under the ADC section. You can use it to measure ambient temperature. Ok I just typed all that in my cell so when I get back to office on Tuesday I can post some links to all the references I made. Look forward to seeing your project.

Reply to This

Maybe I can help. Start by looking at the schematics and study the signals that go from the MCU to the elevator card edge. For analog you will see AD0 - AD7. Some are connected to components like accelerometer on TWR-MCF51CN module but you can free up signal by disconnecting the isolation jumper. For a concise table on jumpers and onboard components study the TWR-MCF51CN-UM user manual. I am going to work on adding the MCU to elevator signals in that user manual for quick reference.

Now about your project, I think TWR-MCF51CN-KIT is perfect. You can use the available webserver software to remotely monitor the temperature. Instead of using an external temp sensor take a look at the on-chip temp sensor in MCF51CN device. Look at that part's reference manual under the ADC section. You can use it to measure ambient temperature. Ok I just typed all that in my cell so when I get back to office on Tuesday I can post some links to all the references I made. Look forward to seeing your project.

Reply to This

It's the M52259DEMOKIT if you do a keyword search on this you will find it.

Reply to This

Hi Joesph - Did they answer your question? You can find the schematics and user manuals that they mention in the Resources tab in the TowerGeeks menu bar. I am not sure how often those are updated so I would refer to the TWR-MCF51CN-KIT page on freescale for the latest and greatest. http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-...

As for the MCF52259DEMOKIT, I think that one is $49...so if price is your constraint. Technically, both boards are more than capable of doing what you need for your project.

Reply to This

The *M52259DEMOKIT* has the advantage that the SE (free) CW version for it supports 128K, and while I have not tried, I have heard that if you don't include the USB code in MQX, you can get the web server to build in under 128K.
If you go with the tower, you better be code complete in 30 days. It's version of CW is limit to 64K (after 30 days), and the webserver takes about 120K (that's the freertos version).

Reply to This

How's your project coming along Joey? Did you decide on hardware?

Reply to This

I'm still in the very early stages. After looking at all the scematics I ordered the 51CN TWR kit from digikey. It came in last Saturday but my Ethernet card stopped working on my laptop so I had to order a new one. In the mean time I have been looking at the scematics and the spreadsheet that west uploaded and brushing up on my C since all I have been programming in is assembly with HC11 and 12 board. Will keep posting as I progress.

Reply to This

I got my USB ethernet and i finally fired up my board (yessss). I ran the telnet demo and it worked great, but i had a license problem. I got that straight and i wanted to get a feel for the codewarrior software so i went ahead and re-flashed the board. Now i cant get telnet to connect to the board, or connect to the webserver. says cannot open a connection to the host on port 23, and the webpages just time out. Gonna check and make sure its not my computer also.

Reply to This

I had trouble with my (IT department configured) PC configuration; it never did time out and drop the PC to the "default" address that's compatible with the tower default addresses, so I ended up having to reconfigure the PC to use a statically-assigned IP address. I don't know if this would be obvious on a "typical" laptop with a wireless connection - it could sit there forever with the wireless link up and the ethernet in "waiting for an IP address" state (and thus unable to connect to the tower), and you might not notice.

(interesting that so many people shorten the username "WestfW" to "west." My username is an old college standard from the days when usernames only had 6 characters. First 5 letters of the last name plus the first initial...)

PS: I'm glad someone finding the spreadsheets useful!

Reply to This

Seems as if i have to disconnect my wireless internet when attempting to connect to the board. Ok for now.

Reply to This

Windows does not handle more than one network interface well.
If you change the ip address/gateway in the header file to be on your network and plug it into your router, then you can both connect the board and be on the net.
Hopefully, your router is near your lab.

Reply to This

RSS

Advertisement Click Here

Spread The Word!

Follow TowerGeeks on TwitterTowerGeeks on FacebookShare This
Towergeeks has their own pages on Twitter as well as Facebook. Find us there and help spread the word about the Tower System!

© 2010   Created by TowerGeeks.

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!