How can I generate my own signals using DEMOMC9S12NE64 output pins

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

How can I generate my own signals using DEMOMC9S12NE64 output pins

3,119 Views
MJB
Contributor I
I currently have a DEMOMC9S12NE64 board and I'd like to generate my own signals. I looked through the manual and it seems that the output pins of the J50 connector are used by peripheral output pins. Is there anyway I can control the values on any output pins?

Thanks

:smileyhappy:

Message Edited by MJB on 04-11-200602:07 PM

Labels (1)
0 Kudos
Reply
2 Replies

619 Views
mjbcswitzerland
Specialist V

Hi

That is what they are for.

There are just a couple to be ware of (check the circuit diagram delivered with the DEMO board) - for example be careful when using PG4 as an output when working with the serial debugger because it is shorted to ground when the load switch is active.

Note also that the MAX3243 has free inputs and outputs which can easily be wired up to add a second serial interface - connect the level converter in the TX1 and RX1 lines and drill a hole for a second DSUB9 and it extends the usefulness of the box quite significantly.

On the SW side - almost all pins can be used as input/output or a peripheral function. Default out of reset is invariably input so imply set set the DDR as output and the port value you want and this will be on the connector. Try with PG0 first since it is also displayed on an internal LED.

Don't make the mistake of trying to use the PAD as output since these are analog inputs which can be used also as digital input ports but not as outputs.

Regards

Mark Butcher
www.mjbc.ch

 

0 Kudos
Reply

619 Views
MJB
Contributor I
Got it workin thanks.
0 Kudos
Reply