background image

D O C - 0 5 0 8 - 0 1 0 ,   R E V   D  

 

Web Site:

 

www.axman.com

 

 

Support: 

[email protected]

 

TWR-S12G128 

 Demonstration Board for Freescale MC9S12G128 

Microcontroller 

 
 
 
 
 
 
 
 
 
 
 

USER GUIDE 

Summary of Contents for TWR-S12G128

Page 1: ...D O C 0 5 0 8 0 1 0 R E V D Web Site www axman com Support support axman com TWR S12G128 Demonstration Board for Freescale MC9S12G128 Microcontroller USER GUIDE ...

Page 2: ...DER 7 BDM_PORT HEADER 7 POWER 8 POWER SELECT 8 RESET SWITCH 8 LOW VOLTAGE RESET 8 TIMING 9 COMMUNICATIONS 9 RS 232 9 COM CONNECTOR 10 COM_EN 10 LIN PORT 11 LIN ENABLE 11 LIN COM INPUT 11 LIN_PWR OPTION 11 MSTR OPTION 12 LIN J1 CONNECTOR 12 CAN PORT 13 CAN TERMINATION ENABLE 13 STANDBY MODE 13 USER PERIPHERALS 14 POTENTIOMETER 14 USER LED S 14 PUSHBUTTON SWITCHES 14 EDGE CONNECTOR PINOUT 15 ...

Page 3: ...JP3 Option Header 12 Figure 9 LIN Connector 12 Figure 10 CAN_PORT 13 Figure 11 CAN Termination Enable 13 Figure 12 JP1 Option Header 14 Figure 13 Primary Edge Connector 15 Figure 14 Secondary Edge Connector 17 REVISION Date Rev Comments June 2 2010 A Initial Release June 30 2010 B Updated Corrected target MCU memory map Updated reference to MC9S12G Family Reference Manual October 14 2010 C Final U...

Page 4: ...o this product or modifying the products operation from the factory default as shipped may affect its performance and cause interference with nearby electronic equipment If such interference is detected suitable mitigating measures should be taken TERMINOLOGY This development module utilizes option select jumpers to configure default board operation Terminology for application of the option jumper...

Page 5: ...rs MC9S12G128 100 LQFP 128K Bytes Flash 4096 Bytes EEPROM 8192 Bytes RAM 25MHz Bus Frequency Internal Oscillator SCI SPI MSCAN Integrated Open Source BDM OSBDM BDM_PORT header for external BDM cable support 1 ea High Speed CAN Physical Layer Transceiver 1 ea Enhanced LIN Physical Layer Transceiver RS 232 Serial Data Physical Layer Transceiver On board 5V regulator Power input from OSBDM Tower Syst...

Page 6: ...0C8 0x00CF SCI0 serial communications interface 8 0x00D0 0x00D7 SCI1 serial communications interface 8 0x00D8 0x00DF SPI0 serial peripheral interface 8 0x00E0 0x00E7 Reserved 8 0x00E8 0x00EF SCI2 serial communications interface 8 0x00F0 0x00F7F SPI1 serial peripheral interface 8 0x00F8 0x00FF SPI1 serial peripheral interface 8 0x0100 0x0113 FTMRG control registers 20 0x0114 0x011F Reserved 12 0x01...

Page 7: ...r System may result if this current limit is violated CAUTION When powered from the USB bus do not exceed the 500mA maximum current drain allowed under the USB specification Damage to the target board or host PC may result OSBDM Bootloader The OSBDM is pre programmed with a bootloader application to allow field updates The USB bootloader communicates with a GUI application running on a host PC The...

Page 8: ...nputs E1 E2 Polarity for each input is clearly marked Reverse input polarity will damage the board Power Select The PWR_SEL option header selects the input power source for the target board When powered from the Tower System the OSBDM voltage output is disabled Figure 3 PWR_SEL Option Header JP5 1 2 Select TWR voltage input PWR_SEL Select OSBDM voltage input default Select on board regulator input...

Page 9: ...speed enhanced LIN PHY provides LIN bus communications through a 2x2 Molex connector pn 39 29 1048 A high speed CAN PHY provides CAN bus communications through a 1 x 4 Molex connector pn 39 30 3045 Connecting LIN cables require Molex housing pn 39 01 2040 and pins pn 39 00 0217 Connecting CAN cables require Molex housing pn 39 01 4040 and pins pn 39 00 0217 The COM_SEL option header connects the M...

Page 10: ...igh COM Connector A 2x5 0 1 standard Berg pin header provides external connections for the SCI port Figure 5 below shows the COM1 pin out The TWR S12G128 ships with a DB 9 to 2x5 IDC connector cable to interface the target board to standard serial cables Figure 5 COM1 Connector 2 7 1 2 1 7 TXD 3 4 CTS RXD 5 6 RTS 1 2 7 8 TP2 GND 9 10 NC COM_EN The COM_EN option header connects the MCU SCI port to ...

Page 11: ...N option jumpers LIN Enable The LIN PHY is enabled by default Disable the PHY by connecting the test point TP3 to GND LIN COM Input LIN inputs RX and TX are selectable using the COM_EN option header Refer to Figure 6 above for details on configuring this header LIN_PWR Option The LIN_PWR option jumper connects pin 1 of both LIN connectors to the V input In Master mode this option may be used to po...

Page 12: ...HY Refer to the MC33661 device datasheet for details on use and configuration Refer to Figure 8 below Figure 8 JP3 Option Header JP3 Connects LIN bus to V input default LIN_PWR Enables LIN Master mode functionality default 2 1 NOTE LIN PHY may also be configured as a Master Node using the INH pin Refer to the LIN PHY data sheet for details LIN J1 Connector The TWR S12G128 supports two 2 x 2 Molex ...

Page 13: ...in Molex 39 00 0217 CAN Termination Enable CAN bus termination of 120 ohm with virtual ground is applied to the differential CAN signals on both channels The SPLIT output from each PHY is connected to the virtual ground providing common mode stabilization The differential CAN bus signal termination may be removed using option header JP13 or JP15 To prevent signal corruption both option jumpers mus...

Page 14: ...eration A series current limit resistor prevents excessive diode current Each LED is connected to a timer channel on the target MCU Figure 12 below shows the USER jumper settings Pushbutton Switches The TWR S12G128 provides 4 push button switches for user input Each push button switch is configured for active low operation and is connected to a key wakeup input on the target MCU No bias is applied...

Page 15: ...or Power Sense Pri_B04 Pri_A04 Ground Pri_B05 Pri_A05 Ground Ground Pri_B06 Pri_A06 Ground PS6 SCK0 Pri_B07 Pri_A07 Pri_B08 Pri_A08 PS7 API_EXTCLK SS0 Pri_B09 Pri_A09 PD3 PS5 MOSI0 Pri_B10 Pri_A10 PD4 PS4 MISO0 Pri_B11 Pri_A11 PD5 Pri_B11A Pri_B12 Pri_A12 Pri_B13 Pri_A13 Pri_B14 Pri_A14 Pri_B15 Pri_A15 Pri_B16 Pri_A16 Pri_B17 Pri_A17 Pri_B18 Pri_A18 Pri_B19 Pri_A19 Pri_B20 Pri_A20 PD6 Pri_B21 Pri_...

Page 16: ..._A47 PA0 SCK2 KWJ6 PJ6 Pri_B48 Pri_A48 PA1 Ground Pri_B49 Pri_A49 Ground Pri_B50 Pri_A50 PA2 Pri_B51 Pri_A51 PA3 Pri_B52 Pri_A52 PA4 Pri_B53 Pri_A53 PA5 Pri_B54 Pri_A54 PA6 Pri_B55 Pri_A55 PA7 Pri_B56 Pri_A56 Pri_B57 Pri_A57 Pri_B58 Pri_A58 IOC7 PT7 Pri_B59 Pri_A59 IOC6 PT6 Pri_B60 Pri_A60 IOC5 PT5 XIRQ PB5 Pri_B61 Pri_A61 IOC4 PT4 IRQ PB4 Pri_B62 Pri_A62 RESET Pri_B63 Pri_A63 Pri_B64 Pri_A64 ECLK...

Page 17: ... Sec_A15 PC1 Sec_B16 Sec_A16 PC2 Sec_B17 Sec_A17 PC3 PC4 Sec_B18 Sec_A18 PC5 Sec_B19 Sec_A19 Sec_B20 Sec_A20 Sec_B21 Sec_A21 Sec_B22 Sec_A22 Sec_B23 Sec_A23 Sec_B24 Sec_A24 Sec_B25 Sec_A25 Ground Sec_B26 Sec_A26 Ground Sec_B27 Sec_A27 PAD11 KWAD11 AN11 Sec_B28 Sec_A28 PAD10 KWAD10 AN10 PAD13 KWAD13 AN13 Sec_B29 Sec_A29 PAD9 KWAD9 AN9 PAD12 KWAD12 AN12 Sec_B30 Sec_A30 PAD8 KWAD8 AN8 Ground Sec_B31 ...

Page 18: ... Sec_B57 Sec_A57 Sec_B58 Sec_A58 Sec_B59 Sec_A59 Sec_B60 Sec_A60 Sec_B61 Sec_A61 Sec_B62 Sec_A62 Sec_B63 Sec_A63 Sec_B64 Sec_A64 Ground Sec_B65 Sec_A65 Ground Sec_B66 Sec_A66 Sec_B67 Sec_A67 Sec_B68 Sec_A68 Sec_B69 Sec_A69 Sec_B70 Sec_A70 Sec_B71 Sec_A71 Sec_B72 Sec_A72 Sec_B73 Sec_A73 Sec_B74 Sec_A74 Sec_B75 Sec_A75 Sec_B76 Sec_A76 Sec_B77 Sec_A77 Sec_B78 Sec_A78 Sec_B79 Sec_A79 Sec_B80 Sec_A80 G...

Reviews: