NetBurner 3.5.8
PDF Version
MOD5441X/include/pinconstant.h
1/*NB_REVISION*/
2
3/*NB_COPYRIGHT*/
4
5#ifndef MOD54415_PIN_CONSTANT
6#define MOD54415_PIN_CONSTANT
7
11
20
21//#define ENABLE_BE2_BE3 ( 1 ) // Uncomment only for MOD54415 H/W Revision 1.7 and earlier
22
23#define PIN_GPIO (0)
24
27#define PINJ1_5_FB_CS1 (3)
28#define PINJ1_5_NFC_CE (1)
29#define PINJ1_5_GPIO (0)
31
34#define PINJ1_6_FB_CS4 (3)
35#define PINJ1_6_DREQ1 (2)
36#define PINJ1_6_GPIO (0)
38
41#define PINJ1_7_FB_CS5 (3)
42#define PINJ1_7_DACK1 (2)
43#define PINJ1_7_GPIO (0)
45
46#ifdef ENABLE_BE2_BE3
47
50#define PINJ1_9_FB_BE2 (3)
51#define PINJ1_9_FB_CS2 (2)
52#define PINJ1_9_FB_A0 (1)
53#define PINJ1_9_GPIO (0)
55
58#define PINJ1_10_FB_BE3 (3)
59#define PINJ1_10_FB_CS3 (2)
60#define PINJ1_10_FB_A1 (1)
61#define PINJ1_10_GPIO (0)
63
64#else
65
68#define PINJ1_9_FB_BE1 (3)
69#define PINJ1_9_FB_TSIZ1 (2)
70#define PINJ1_9_GPIO (0)
72
75#define PINJ1_10_FB_BE0 (3)
76#define PINJ1_10_FB_TSIZ0 (2)
77#define PINJ1_10_GPIO (0)
79
80#endif // ENABLE_BE2_BE3
81
84#define PINJ1_13_FB_TA (3)
85#define PINJ1_13_NFC_RB (1)
86#define PINJ1_13_GPIO (0)
88
91#define PINJ1_31_FB_CLK (1)
92#define PINJ1_31_GPIO (0)
94
95// Connector: J2 / Pin: 1 / CPU Pin: NA / Reserved For: GND
96
97// Connector: J2 / Pin: 2 / CPU Pin: NA / Reserved For: VCC3V
98
101#define PINJ2_3_UART0_RXD (3)
102#define PINJ2_3_I2C4_SDA (2)
103#define PINJ2_3_DSPI2_SIN (1)
104#define PINJ2_3_GPIO (0)
106
109#define PINJ2_4_UART0_TXD (3)
110#define PINJ2_4_I2C4_SCL (2)
111#define PINJ2_4_DSPI2_SOUT (1)
112#define PINJ2_4_GPIO (0)
114
115// Connector: J2 / Pin: 5 / CPU Pin: J4 / Reserved For: VDDA_DAC_ADC
116
117// Connector: J2 / Pin: 6 / CPU Pin: H1 / Reserved For: ADC_IN0
118
119// Connector: J2 / Pin: 7 / CPU Pin: J1 / Reserved For: ADC_IN1
120
121// Connector: J2 / Pin: 8 / CPU Pin: J2 / Reserved For: ADC_IN2
122
123// Connector: J2 / Pin: 9 / CPU Pin: K4 / Reserved For: ADC_IN3
124
125// Connector: J2 / Pin: 10 / CPU Pin: G4 / Reserved For: ADC_IN4
126
127// Connector: J2 / Pin: 11 / CPU Pin: J3 / Reserved For: ADC_IN5
128
129// Connector: J2 / Pin: 12 / CPU Pin: H2 / Reserved For: ADC_IN6
130
131// Connector: J2 / Pin: 13 / CPU Pin: K3 / Reserved For: ADC_IN7
132
133// Connector: J2 / Pin: 14 / CPU Pin: NA / Reserved For: AGND
134
137#define PINJ2_15_SSI0_MCLK (3)
138#define PINJ2_15_SSI_CLKIN (2)
139#define PINJ2_15_SIM1_CLK (1)
140#define PINJ2_15_GPIO (0)
142
145#define PINJ2_16_SSI0_BCLK (3)
146#define PINJ2_16_UART7_RXD (2)
147#define PINJ2_16_SIM1_PD (1)
148#define PINJ2_16_GPIO (0)
150
151// Connector: J2 / Pin: 17 / CPU Pin: A14 / Available On: USB- On-the-Go [v1.7 and later (H/W default)]
152// Connector: J2 / Pin: 17 / CPU Pin: A15 / Available On: USB- Host (v1.7 and later)
153
156#define PINJ2_17_SSI0_RXD (3)
157#define PINJ2_17_I2C2_SDA (2)
158#define PINJ2_17_SIM1_VEN (1)
159#define PINJ2_17_GPIO (0)
161
162// Connector: J2 / Pin: 18 / CPU Pin: B14 / Available On: USB+ On-the-Go [v1.7 and later (H/W default)]
163// Connector: J2 / Pin: 18 / CPU Pin: B15 / Available On: USB+ Host (v1.7 and later)
164
167#define PINJ2_18_SSI0_TXD (3)
168#define PINJ2_18_I2C2_SCL (2)
169#define PINJ2_18_SIM1_DATA (1)
170#define PINJ2_18_GPIO (0)
172
175#define PINJ2_19_UART2_TXD (3)
176#define PINJ2_19_PWM_B3 (2)
177#define PINJ2_19_SSI1_TXD (1)
178#define PINJ2_19_GPIO (0)
180
183#define PINJ2_20_SSI0_FS (3)
184#define PINJ2_20_UART7_TXD (2)
185#define PINJ2_20_SIM1_RST (1)
186#define PINJ2_20_GPIO (0)
188
191#define PINJ2_21_UART1_RXD (3)
192#define PINJ2_21_I2C5_SDA (2)
193#define PINJ2_21_DSPI3_SIN (1)
194#define PINJ2_21_GPIO (0)
196
199#define PINJ2_22_UART1_TXD (3)
200#define PINJ2_22_I2C5_SCL (2)
201#define PINJ2_22_DSPI3_SOUT (1)
202#define PINJ2_22_GPIO (0)
204
207#define PINJ2_23_UART1_RTS (3)
208#define PINJ2_23_UART5_RXD (2)
209#define PINJ2_23_DSPI3_PCS0 (1)
210#define PINJ2_23_GPIO (0)
212
215#define PINJ2_24_UART1_CTS (3)
216#define PINJ2_24_UART5_TXD (2)
217#define PINJ2_24_DSPI3_SCK (1)
218#define PINJ2_24_GPIO (0)
220
223#define PINJ2_25_SDHC_CLK (3)
224#define PINJ2_25_PWM_A0 (2)
225#define PINJ2_25_DSPI1_SCK (1)
226#define PINJ2_25_GPIO (0)
228
231#define PINJ2_26_IRQ3 (3)
232#define PINJ2_26_DSPI0_PCS3 (2)
233#define PINJ2_26_USBH_VBUS_EN (1)
234#define PINJ2_26_GPIO (0)
236
239#define PINJ2_27_SDHC_CMD (3)
240#define PINJ2_27_PWM_B0 (2)
241#define PINJ2_27_DSPI1_SIN (1)
242#define PINJ2_27_GPIO (0)
244
247#define PINJ2_28_SDHC_DAT0 (3)
248#define PINJ2_28_PWM_B2 (2)
249#define PINJ2_28_DSPI1_SOUT (1)
250#define PINJ2_28_GPIO (0)
252
255#define PINJ2_29_UART0_CTS (3)
256#define PINJ2_29_UART4_TXD (2)
257#define PINJ2_29_DSPI2_SCK (1)
258#define PINJ2_29_GPIO (0)
260
263#define PINJ2_30_SDHC_DAT3 (3)
264#define PINJ2_30_PWM_A1 (2)
265#define PINJ2_30_DSPI1_PCS0 (1)
266#define PINJ2_30_GPIO (0)
268
271#define PINJ2_31_UART2_RXD (3)
272#define PINJ2_31_PWM_A3 (2)
273#define PINJ2_31_SSI1_RXD (1)
274#define PINJ2_31_GPIO (0)
276
279#define PINJ2_32_T3IN (3)
280#define PINJ2_32_T3OUT (2)
281#define PINJ2_32_USBO_VBUS_EN (1)
282#define PINJ2_32_GPIO (0)
284
287#define PINJ2_33_T2IN (3)
288#define PINJ2_33_T2OUT (2)
289#define PINJ2_33_SDHC_DAT2 (1)
290#define PINJ2_33_GPIO (0)
292
295#define PINJ2_34_T1IN (3)
296#define PINJ2_34_T1OUT (2)
297#define PINJ2_34_SDHC_DAT1 (1)
298#define PINJ2_34_GPIO (0)
300
303#define PINJ2_35_SDHC_DAT1 (3)
304#define PINJ2_35_PWM_A2 (2)
305#define PINJ2_35_DSPI1_PCS1 (1)
306#define PINJ2_35_GPIO (0)
308
311#define PINJ2_36_T0IN (3)
312#define PINJ2_36_T0OUT (2)
313#define PINJ2_36_USBO_VBUS_OC (1)
314#define PINJ2_36_GPIO (0)
316
319#define PINJ2_37_OW_DAT (3)
320#define PINJ2_37_DACK0 (2)
321#define PINJ2_37_GPIO (0)
323
326#define PINJ2_38_UART0_RTS (3)
327#define PINJ2_38_UART4_RXD (2)
328#define PINJ2_38_DSPI2_PCS0 (1)
329#define PINJ2_38_GPIO (0)
331
334#define PINJ2_39_I2C0_SDA (3)
335#define PINJ2_39_UART8_RXD (2)
336#define PINJ2_39_CAN0_RX (1)
337#define PINJ2_39_GPIO (0)
339
342#define PINJ2_40_SDHC_DAT2 (3)
343#define PINJ2_40_PWM_B1 (2)
344#define PINJ2_40_DSPI1_PCS2 (1)
345#define PINJ2_40_GPIO (0)
347
350#define PINJ2_41_CAN1_RX (3)
351#define PINJ2_41_UART9_RXD (2)
352#define PINJ2_41_I2C1_SDA (1)
353#define PINJ2_41_GPIO (0)
355
358#define PINJ2_42_I2C0_SCL (3)
359#define PINJ2_42_UART8_TXD (2)
360#define PINJ2_42_CAN0_TX (1)
361#define PINJ2_42_GPIO (0)
363
366#define PINJ2_43_IRQ2 (3)
367#define PINJ2_43_DSPI0_PCS2 (2)
368#define PINJ2_43_USBH_VBUS_OC (1)
369#define PINJ2_43_GPIO (0)
371
374#define PINJ2_44_CAN1_TX (3)
375#define PINJ2_44_UART9_TXD (2)
376#define PINJ2_44_I2C1_SCL (1)
377#define PINJ2_44_GPIO (0)
379
382#define PINJ2_45_IRQ1 (3)
383#define PINJ2_45_GPIO (0)
385
386// Connector: J2 / Pin: 46 / CPU Pin: NA / Reserved For: GND
387
390#define PINJ2_47_IRQ6 (3)
391#define PINJ2_47_USB_CLKIN (1)
392#define PINJ2_47_GPIO (0)
394
397#define PINJ2_48_IRQ7 (1)
398#define PINJ2_48_GPIO (0)
400
401// Connector: J2 / Pin: 49 / CPU Pin: NA / Reserved For: GND
402
403// Connector: J2 / Pin: 50 / CPU Pin: NA / Reserved For: VCC3V
404 // end of groupGPIOMOD5441X
406
407#endif // MOD54415_PIN_CONSTANT