Department of Electrical Engineering, National Taiwan Ocean University Appendix – NUC140 pin assignment 9/29/2012 Richard Kuo Assistant Professor
Department of Electrical Engineering, National Taiwan Ocean University Content ► UART pins ► I2C pins ► SPI pins ► CAN pins ► ADC 腳位 ► PWM 腳位 ► NUC140 pin diagram (100pin / 64pin / 48pin)
Department of Electrical Engineering, National Taiwan Ocean University UART pins Based on NUC140 LQFP 100pin ► UART0 –RX0/GPB0 : pin 32 –TX0/GPB1 : pin 33 ► UART1 –RX1/GPB4 : pin 19 –TX1/GPB5 : pin 20 ► UART2 –RX2/GPD14 : pin 38 –TX2/GPD15 : pin 39
Department of Electrical Engineering, National Taiwan Ocean University I2C pins Based on NUC140 LQFP 100pin ► I2C0 –I2C0SDA/GPA8 : pin 12 –I2C0SCL/GPA9 : pin 11 ► I2C1 –I2C1SDA/GPA10 : pin 10 –I2C1SCL/GPA11 : pin 9
Department of Electrical Engineering, National Taiwan Ocean University SPI pins Based on NUC140 LQFP 100pin ► SPI0 –SPI0CS/GPC0 : pin 45 –SPI0CLK/GPC1 : pin 44 –SPI0DI(MISO)/GPC2 : pin 43 –SPI0DO(MOSI)/GPC3 : pin 42 ► SPI1 –SPI1CS/GPC8 : pin 61 –SPI1CLK/GPC9 : pin 60 –SPI1DI(MISO)/GPC10 : pin 59 –SPI1DO(MOSI)/GPC11 : pin 58 ► SPI2 –SPI2CS/GPD0 : pin 81 –SPI2CLK/GPD1 : pin 82 –SPI2DI(MISO)/GPD2 : pin 83 –SPI2DO(MOSI)/GPD3 : pin 84 ► SPI3 –SPI3CS/GPD8 : pin 13 –SPI3CLK/GPD9 : pin 14 –SPI3DI(MISO)/GPD10 : pin 15 –SPI3DO(MOSI)/GPD11 : pin 16
Department of Electrical Engineering, National Taiwan Ocean University SPI Pins used on Nu-LB-NUC140 board SPI signalsSPI0SPI1SPI2SPI3 CSGPC0GPC8GPD0GPD8 CLKGPC1GPC9GPD1GPD9 DI0 (MISO)GPC2GPC10GPD2GPD10 DO0 (MOSI)GPC3GPC11GPD3GPD11 DI1GPC4GPC12GPD4GPD12 DO1GPC5GPC13GPD5GPD13 Nu-LB-NUC140 On-Board I2S Codec (WAU8822) SD/MMCEEPROM (W25Q16CV) LCD 128x64
Department of Electrical Engineering, National Taiwan Ocean University CAN pins Based on NUC140 LQFP 100pin ► CAN0 –CAN0-RX/GPD6 : pin 36 –CAN0-TX/GPD7 : pin 37
Department of Electrical Engineering, National Taiwan Ocean University ADC pins Based on NUC140 LQFP 100pin ► ADC0 / GPA0 : pin 71 ► ADC1 / GPA1 : pin 72 ► ADC2 / GPA2 : pin 73 ► ADC3 / GPA3 : pin 74 ► ADC4 / GPA4 : pin 75 ► ADC5 / GPA5 : pin 76 ► ADC6 / GPA6 : pin 77 ► ADC7 / GPA7 : pin 78
Department of Electrical Engineering, National Taiwan Ocean University PWM pins Based on NUC140 LQFP 100pin ► PWM0 / GPA12 : pin 65 ► PWM1 / GPA13 : pin 64 ► PWM2 / GPA14 : pin 63 ► PWM3 / GPA15 : pin 62 ► PWM4 / GPB11 : pin 48 ► PWM5 / GPE5 : pin 47 ► PWM6 / GPE0 : pin 55 ► PWM7 / GPE1 : pin 54
Department of Electrical Engineering, National Taiwan Ocean University NUC140 LQFP 100pin
Department of Electrical Engineering, National Taiwan Ocean University NUC140 LQFP 64pin
Department of Electrical Engineering, National Taiwan Ocean University NUC140 LQFP 48pin