Files
TI_C2000_F28377S_FreeRTOS/README.md
T
2026-09-05 16:28:19 -07:00

156 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### TI C2000 TMS320F28377S Coreboard V1.3
<a href="url"><img src="./images/f28377s_coreboard_front.png" width="400"></a>
<details>
<summary>
<b>TMS320F28377S (LQFP100)</b>
</summary>
<ul>
<li>Dimension: 55 mm × 55 mm</li>
<li>CPU: C28x (200 MHz)</li>
<li>CLA: Control Law Accelerator (200 MHz)</li>
<li>Flash: 1023 KB</li>
<li>RAM: 164 KB</li>
</ul>
</details>
<details>
<summary>
<b>Coreboard V1.3 On-Board Hardware Features</b>
</summary>
<ul>
<li>External EEPROM AT24CM02: 1x (I2C-A SDA: GPIO91, I2C-A SCL: GPIO92)</li>
<li>USB-to-UART: 1x (SCI-A TXD: GPIO84, SCI-A RXD: GPIO85)</li>
<li>User LEDs: 2x (Red: GPIO41, Blue: GPIO58)</li>
<li>GPIO Pins: 42x in total</li>
<li>Analog Pins: 14x in total</li>
</ul>
</details>
<details>
<summary>
<b>Coreboard V1.3 GPIO and Peripheral Muxing</b>
</summary>
<ul>
<li>SCI/UART: Up to 3x (SCI-A, SCI-B, SCI-C)</li>
<li>I2C: Up to 2x (I2C-A, I2C-B)</li>
<li>CAN: Up to 2x (CAN-A, CAN-B)</li>
<li>SPI: Up to 3x (SPI-A, SPI-B, SPI-C)</li>
<li>McBSP: Up to 1x (McBSP-B)</li>
<li>EQEP: Up to 2x (EQEP1, EQEP3)</li>
<li>EPWM: Up to 15x</li>
</ul>
</details>
<details>
<summary>
<b>Software Configuration</b>
</summary>
<ul>
<li>Code Composer Studio: 12.8.1</li>
<li>C2000Ware: 5.04.00.00</li>
<li>Compiler: TI v22.6.1.LTS</li>
</ul>
</details>
<details>
<summary>
<b>Flashing Firmware with C2Prog</b>
</summary>
#### Step 1: Configure the Boot Switches
Set the DIP switches as follows:
- Switch 1: **ON**
- Switch 2: **OFF**
- Switch 3: **OFF**
Then connect the board to the PC using the USB port.
<a href="url">
<img src="./images/SCIA_C2Prog_flash1.png" width="600">
</a>
#### Step 2: Program the Firmware
Open **C2Prog** and configure the settings as shown in the image below.
<a href="url">
<img src="./images/C2Prog.png" width="800">
</a>
Select the compiled firmware file, then click the **Program** button to start flashing.
#### Step 3: Restore the Boot Switches
After programming is complete:
1. Disconnect the USB cable.
2. Set all DIP switches to the **ON** position:
- Switch 1: **ON**
- Switch 2: **ON**
- Switch 3: **ON**
<a href="url">
<img src="./images/SCIA_C2Prog_flash2.png" width="600">
</a>
#### Step 4: Reconnect the Board
Reconnect the USB cable to the PC for further testing and verification.
</details>
<details>
<summary>
<b>Flashing Firmware with CCS and JTAG</b>
</summary>
#### Step 1: Open the CCS Workspace
Launch **Code Composer Studio (CCS)** and open the workspace that contains your project.
#### Step 2: Import the CCS Project
From the CCS menu, select:
**Project -> Import CCS Projects**
as shown in the image below.
<a href="url">
<img src="./images/CCS_project_import.png" width="600">
</a>
Follow the prompts to select and import the desired CCS project.
#### Step 3: Build and Debug the Project
Build the project to generate the executable file.
Then connect the JTAG debugger to the target board and start a debug session to download and run the firmware.
</details>
#### Demo Project
UART: SCIA
<a href="url"><img src="./images/UART_SCIA.png" width="800"></a>
EPWM6A: 50KHz, 75% Duty Cycle
<a href="url"><img src="./images/EPWM6A.png" width="800"></a>
DACOUTB: 1KHz Sine Wave
<a href="url"><img src="./images/DACOUTB.png" width="800"></a>