NXP Semiconductors APS12DT256SLK User Manual Download Page 15

 

 

 
 

Freescale Semiconductor  

                                           

                                                   

15 

 

USER I/O 

User I/O includes 2 push button switches, one 4-position DIP switch, 4 green LEDs, a 
potentiometer, and a photo-sensor.  The sections below provide details on each User I/O.  The 
User option header block enables or disables each User I/O individually.   

Switches 

The APS12DT256SLK target board provides 2 push button switches and one 4-position DIP 
switch for user input.  Each push button switch is an active low input with a pull-up resistor bias 
to prevent indeterminate input conditions.  Pressing a push-button switch causes a low logic 
input on the associated input.  

Each DIP switch position is an active low input.  Use of the DIP switches requires enabling the 
associated PORTB pull-ups internal to the MCU prevent indeterminate input conditions.  
Moving a DIP switch position to ON causes a low logic level on the associated input.  Table 4 
shows the associated connection signal for each switch.  Table 5 shows the associated USER 
enable position to enable each switch. 

LED’s 

The APS12DT256SLK target board provides 4 green LEDs for output indication.  Each LED is 
an active low output.  A current-limit resistor prevents excessive diode current.  Writing a low 
logic level to an LED output causes the associated LED to turn on.  Table 4 shows the 
associated connection signal for each LED.  Table 5 shows the associated USER enable 
position to enable each LED. 

POT  

A single-turn, 3/8 inch, 5K ohm trimmer potentiometer (POT) has been provided as user, 
analog input.  The part is decoupled to minimize noise during adjustment.  The POT connects 
to analog input PAD05/AN05 on the MCU.  Table 4 shows the associated connection signal for 
the POT.  Table 5 shows the associated USER enable position to enable the POT. 

Photo-Sensor 

A 4mm photocell light sensor exhibiting 23K – 33K ohms of output resistance has been 
provided.  Output resistance is inversely related to incident light intensity.  A gain stage (U5) 
amplifies the sensor output before connecting to the MCU.  The SENSOR connects to analog 
input PAD04/AN04 on the MCU.  Table 4 shows the associated signal connection for the 
sensor.  Table 5 shows the associated USER enabl
e position to enable the sensor. 

Summary of Contents for APS12DT256SLK

Page 1: ...ductor Inc 2006 All rights reserved _______________________________________________________________________ APPLICATION MODULE STUDENT LEARNING KIT FEATURING FREESCALE MC9S12DT256 For use with the fol...

Page 2: ...9 SOFTWARE DEVELOPMENT 9 MEMORY MAP 9 BDM_PORT HEADER 10 EXPANDED MODE OPERATION 10 MODE 10 POWER 10 POWER SELECT 11 PWR_SEL 11 RESET SWITCH 11 LOW VOLTAGE RESET 12 TIMING 12 COMMUNICATIONS 12 RS 232...

Page 3: ...ORT Connector 14 Figure 7 Connector J1 17 TABLE OF TABLES Table 1 DT256 Memory Map 9 Table 2 COM Connections 12 Table 3 ATD Reference Voltage 14 Table 4 User I O 16 Table 5 USER Option Header 16 Revis...

Page 4: ...atory c In a domestic environment this product may cause radio interference in which case the user may be required to take adequate prevention measures d Attaching additional wiring to this product or...

Page 5: ...Provided 1 DIP Switch 4 pos MC9S12DT256 MCU 80 LQFP 3 Push Button Switches 2 User RESET 256 KB Flash EEPROM 5 LED Indicators 4 User 5V 4KB EEPROM Jumpers 12 KB RAM USER_EN SAE J1850 Byte Data Link Con...

Page 6: ...operation APS12DT256_DEMO zip CodeWarrior Project to support APS12DT256PG The following reference documents are available online for using the application module in conjunction with the Freescale Mic...

Page 7: ...debug of application code See the related sections below for quickly starting the board in the desired operation mode RUN MODE Run mode allows user application to execute when power is applied to the...

Page 8: ...etween application module and host PC iii Press and hold simultaneously SW1 and RESET push buttons iv Continue holding SW1 while releasing RESET Wait 3 seconds and then release SW1 The serial monitor...

Page 9: ...tely out of reset Refer to the Device User Guide for the specific MCU installed for further details Table 1 DT256 Memory Map 0x0000 0x03FF Registers 1K bytes Mappable to any 2K block in the first 32K...

Page 10: ...ingle chip operation The MODE option header allows the user to configure the board for expanded bus operation In default configuration this header is not installed in default configurations Figure 2 M...

Page 11: ...ough connector J1 Use caution when configuring this selection header Applying power to the module through the on board regulator and connector J1 at the same time may cause damage to the module PWR_SE...

Page 12: ...e RS 232 channel is configured as a DCE device This allows a straight through cable between the module and the host PC Also the MCU provides 2 additional CAN ports 2 SPI ports and 1IIC port Access to...

Page 13: ...nnector A standard 9 pin Dsub connectors provide external connection for COM1 The Dsub shell is connected to board ground through a ferrite bead The ferrite bead provides noise isolation on the RS 232...

Page 14: ...ple Either or both references may be isolated to provide alternate ATD input references A test point via on each signal labeled VRH or VRL provides an easy way to attach an alternate reference voltage...

Page 15: ...nable each switch LED s The APS12DT256SLK target board provides 4 green LEDs for output indication Each LED is an active low output A current limit resistor prevents excessive diode current Writing a...

Page 16: ...y User I O includes 4 green LEDs 2 push button switches one 4 position DIP switch a Light Sensor and a potentiometer Installing a shunt enables the associated option Removing a shunt disables the asso...

Page 17: ...01 AN01 PM5 TXCN2 TXCAN0 TXCAN4 SCK0 21 22 PAD02 AN02 PM3 TXCAN1 TXCAN0 SS0 23 24 PAD03 AN03 PA7 ADDR15 DATA15 25 26 PJ7 KWJ7 TXCAN4 SCL0 PA6 ADDR14 DATA14 27 28 PJ6 KWJ6 RXCAN4 SDA0 PA5 ADDR13 DATA13...

Page 18: ...products herein Freescale Semiconductor makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Freescale Semiconductor assume any...

Reviews: