> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/op8666/get-started/connect-and-power-on-the-controller/pin-assignment.md).

# Pin Assignment

## Analog input connectors <a href="#heading-title-text" id="heading-title-text"></a>

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FkYoELJuFDlQ5G5VVsuTP%2Fimage.png?alt=media&amp;token=83a18c05-bdf2-446a-99be-b470c9607a8f" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Both DB37 and DB50 connectors have the same electrical connection; therefore inputs can only be connected to either of them at the same time. But the corresponding pin of an input on a connector can be used for monitoring on the other connector.
{% endhint %}

{% hint style="info" %}
The **DB37 connector pin mapping** matches the one directly found on OPAL-RT's line of simulators and I/O expansion units.
{% endhint %}

<table data-search="false"><thead><tr><th width="101.33331298828125">Pin name</th><th width="84.00006103515625">DB50 pin number</th><th width="87.99993896484375">DB37 pin number</th><th width="212">Description</th><th width="175.6666259765625">TMS320F28379  ADC channel</th><th>Pin #</th></tr></thead><tbody><tr><td><strong>CH1</strong></td><td>17</td><td>1</td><td><p>16-Bit Differential Input ADC, ±10V Range, 360 ksps</p><p>Internal 50k pull-down present on those 2 channels only</p></td><td>ADC-A0 / ADC-A1</td><td>U1 – T1</td></tr><tr><td><strong>CH2</strong></td><td>49</td><td>2</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-A2 / ADC-A3</td><td>U2 – T2</td></tr><tr><td><strong>CH3</strong></td><td>32</td><td>3</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-A4 / ADC-A5</td><td>U3 – T3</td></tr><tr><td><strong>CH4</strong></td><td>15</td><td>4</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-B0 / ADC-B1</td><td>V2 – W2</td></tr><tr><td><strong>CH5</strong></td><td>47</td><td>5</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADC-D0</td><td>T5</td></tr><tr><td><strong>CH6</strong></td><td>30</td><td>6</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADC-D1</td><td>U5</td></tr><tr><td><strong>CH7</strong></td><td>13</td><td>7</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADC-D2</td><td>T6</td></tr><tr><td><strong>CH8</strong></td><td>45</td><td>8</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADC-D3</td><td>U6</td></tr><tr><td><strong>CH9</strong></td><td>28</td><td>9</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-B2 / ADC-B3</td><td>V3 – W3</td></tr><tr><td><strong>CH10</strong></td><td>11</td><td>10</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-B4 / ADC-B5</td><td>V4 – W4</td></tr><tr><td><strong>CH11</strong></td><td>43</td><td>11</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-C2 / ADC-C3</td><td>R3 – P3</td></tr><tr><td><strong>CH12</strong></td><td>26</td><td>12</td><td>16-Bit Differential Input ADC, ±10V Range, 360 ksps</td><td>ADC-C4 / ADC-C5</td><td>R4 – P4</td></tr><tr><td><strong>CH13</strong></td><td>9</td><td>13</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADC-D4</td><td>T7</td></tr><tr><td><strong>CH14</strong></td><td>41</td><td>14</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADC-D5</td><td>U7</td></tr><tr><td><strong>CH15</strong></td><td>24</td><td>15</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADCIN14</td><td>T4</td></tr><tr><td><strong>CH16</strong></td><td>7</td><td>16</td><td>12-Bit Single Ended Input ADC, ±10V Range, 430 ksps</td><td>ADCIN15</td><td>U4</td></tr><tr><td><strong>GND</strong></td><td>1-6, 8, 10, 12, 14, 16, 18-23, 25, 27, 29, 31, 33-40, 42, 44, 46, 48, 50</td><td>20-35</td><td>Analog Ground</td><td>-</td><td>-</td></tr></tbody></table>

## Digital input connectors <a href="#heading-title-text" id="heading-title-text"></a>

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FswY94evAGuW4ozlFUMmV%2Fimage.png?alt=media&amp;token=1150954e-a69c-4c0e-baf6-2abd78c41281" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Both DB37 and DB50 connectors have the same electrical connection; therefore, inputs can only be connected to either of them at the same time. But the corresponding pin of an input on a connector can be used for monitoring on the other connector.
{% endhint %}

{% hint style="info" %}
The **DB37 connector pin mapping** directly matches the ones found on OPAL-RT's line of simulators and I/O expansion units.
{% endhint %}

<table data-search="false"><thead><tr><th width="95.33331298828125">Pin name</th><th width="94.66668701171875">DB50 pin number</th><th width="101.33331298828125">DB37 pin number</th><th width="192">Description</th><th width="164.666748046875">TTMS320F28379D alternate usage</th><th width="126">Pin  name</th><th>Pin number</th></tr></thead><tbody><tr><td><strong>DI1</strong></td><td>49</td><td>1</td><td>Digital Input, 3.3V~5V</td><td>CAP1</td><td>GPIO24</td><td>K3</td></tr><tr><td><strong>DI2</strong></td><td>48</td><td>2</td><td>Digital Input, 3.3V~5V</td><td>CAP2</td><td>GPIO25</td><td>K2</td></tr><tr><td><strong>DI3</strong></td><td>47</td><td>3</td><td>Digital Input, 3.3V~5V</td><td>CAP3</td><td>GPIO26</td><td>K1</td></tr><tr><td><strong>DI4</strong></td><td>46</td><td>4</td><td>Digital Input, 3.3V~5V</td><td>CAP4</td><td>GPIO27</td><td>L1</td></tr><tr><td><strong>DI5</strong></td><td>45</td><td>5</td><td>Digital Input, 3.3V~5V</td><td>XINT4</td><td>GPIO44</td><td>K18</td></tr><tr><td><strong>DI6</strong></td><td>44</td><td>6</td><td>Digital Input, 3.3V~5V</td><td>XINT5</td><td>GPIO133</td><td>G18</td></tr><tr><td><strong>DI7</strong></td><td>43</td><td>7</td><td>Digital Input, 3.3V~5V</td><td>QEP3A</td><td>GPIO62</td><td>J17</td></tr><tr><td><strong>DI8</strong></td><td>42</td><td>8</td><td>Digital Input, 3.3V~5V</td><td>QEP3B</td><td>GPIO63</td><td>J16</td></tr><tr><td><strong>DI9</strong></td><td>41</td><td>9</td><td>Digital Input, 3.3V~5V</td><td>QEP2A</td><td>GPIO54</td><td>P18</td></tr><tr><td><strong>DI10</strong></td><td>40</td><td>10</td><td>Digital Input, 3.3V~5V</td><td>QEP2B</td><td>GPIO55</td><td>P19</td></tr><tr><td><strong>DI11</strong></td><td>39</td><td>11</td><td>Digital Input, 3.3V~5V</td><td>SD1-D1</td><td>GPIO48</td><td>R16</td></tr><tr><td><strong>DI12</strong></td><td>38</td><td>12</td><td>Digital Input, 3.3V~5V</td><td>SD1-C1</td><td>GPIO49</td><td>R17</td></tr><tr><td><strong>DI13</strong></td><td>37</td><td>13</td><td>Digital Input, 3.3V~5V</td><td>SD1-D2</td><td>GPIO50</td><td>R18</td></tr><tr><td><strong>DI14</strong></td><td>36</td><td>14</td><td>Digital Input, 3.3V~5V</td><td>SD1-C2</td><td>GPIO51</td><td>R19</td></tr><tr><td><strong>DI15</strong></td><td>35</td><td>15</td><td>Digital Input, 3.3V~5V</td><td>INXBAR5</td><td>GPIO32</td><td>U13</td></tr><tr><td><strong>DI16</strong></td><td>34</td><td>16</td><td>Digital Input, 3.3V~5V</td><td>INXBAR6</td><td>GPIO33</td><td>T13</td></tr><tr><td><strong>GND</strong></td><td>1, 18-33, 50</td><td>20-35, 37</td><td>Logic Ground</td><td>-</td><td>-</td><td>-</td></tr><tr><td><strong>+5VDC</strong></td><td>-</td><td>18</td><td>5VDC For External Digital Outputs</td><td>-</td><td>-</td><td>-</td></tr></tbody></table>

## Digital output connectors

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FeDVW6SPmBvAa8fGJ2L8F%2Fimage.png?alt=media&amp;token=1fcb9f63-903b-4c0f-85fa-683da7b8a2af" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The **DB37 connector pin mapping** directly matches the ones found on OPAL-RT's line of simulators and I/O expansion units.
{% endhint %}

<table data-search="false"><thead><tr><th>Pin name</th><th>DB50 pin number</th><th>DB37 pin number</th><th>Description</th><th>TMS320F28379D alternate usage</th><th>Pin name</th><th>Pin number</th></tr></thead><tbody><tr><td><strong>DO1</strong></td><td>17</td><td>1</td><td>Digital Output, 0-5V</td><td>ePWM1A</td><td>GPIO0</td><td>C8</td></tr><tr><td><strong>DO2</strong></td><td>16</td><td>2</td><td>Digital Output, 0-5V</td><td>ePWM1B*</td><td>GPIO1</td><td>D8</td></tr><tr><td><strong>DO3</strong></td><td>15</td><td>3</td><td>Digital Output, 0-5V</td><td>ePWM2A</td><td>GPIO2</td><td>A7</td></tr><tr><td><strong>DO4</strong></td><td>14</td><td>4</td><td>Digital Output, 0-5V</td><td>ePWM2B*</td><td>GPIO3</td><td>B7</td></tr><tr><td><strong>DO5</strong></td><td>13</td><td>5</td><td>Digital Output, 0-5V</td><td>ePWM3A</td><td>GPIO4</td><td>C7</td></tr><tr><td><strong>DO6</strong></td><td>12</td><td>6</td><td>Digital Output, 0-5V</td><td>ePWM3B*</td><td>GPIO5</td><td>D7</td></tr><tr><td><strong>DO7</strong></td><td>11</td><td>7</td><td>Digital Output, 0-5V</td><td>ePWM4A</td><td>GPIO6</td><td>A6</td></tr><tr><td><strong>DO8</strong></td><td>10</td><td>8</td><td>Digital Output, 0-5V</td><td>ePWM4B*</td><td>GPIO7</td><td>B6</td></tr><tr><td><strong>DO9</strong></td><td>9</td><td>9</td><td>Digital Output, 0-5V</td><td>ePWM5A</td><td>GPIO8</td><td>G2</td></tr><tr><td><strong>DO10</strong></td><td>8</td><td>10</td><td>Digital Output, 0-5V</td><td>ePWM5B*</td><td>GPIO9</td><td>G3</td></tr><tr><td><strong>DO11</strong></td><td>7</td><td>11</td><td>Digital Output, 0-5V</td><td>ePWM6A</td><td>GPIO10</td><td>B2</td></tr><tr><td><strong>DO12</strong></td><td>6</td><td>12</td><td>Digital Output, 0-5V</td><td>ePWM6B*</td><td>GPIO11</td><td>C1</td></tr><tr><td><strong>DO13</strong></td><td>5</td><td>13</td><td>Digital Output, 0-5V</td><td>ePWM7A</td><td>GPIO12</td><td>C2</td></tr><tr><td><strong>DO14</strong></td><td>4</td><td>14</td><td>Digital Output, 0-5V</td><td>ePWM7B*</td><td>GPIO13</td><td>D1</td></tr><tr><td><strong>DO15</strong></td><td>3</td><td>15</td><td>Digital Output, 0-5V</td><td>ePWM8A</td><td>GPIO14</td><td>D2</td></tr><tr><td><strong>DO16</strong></td><td>2</td><td>16</td><td>Digital Output, 0-5V</td><td>ePWM8B*</td><td>GPIO15</td><td>D3</td></tr><tr><td><strong>GND</strong></td><td>1, 18-33, 50</td><td>20-35</td><td>Logic Ground</td><td>-</td><td>-</td><td>-</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/op8666/get-started/connect-and-power-on-the-controller/pin-assignment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
