11. Operating System

11.1. Folder Structure

src
└── os
     ├── freertos
     |       ├── freertos
     |       └── freertos-plus
     |               └── freertos-plus-tcp
     └── safertos

11.2. FreeRTOS

11.3. TCP/IP stack

The TCP/IP stack is the FreeRTOS-Plus-TCP Library configured for foxBMS 2. For the TCP/IP communication the TI TMS570 uses the Ethernet Media Access Controller (EMAC) to communicate with the ethernet Physical Layer Transceiver (PHY).

Block diagram of the ethernet communication

Fig. 11.1 Block diagram of the ethernet communication

The basic usage of the TCP/IP stack with sending a ping signal is explained in How to Ping foxBMS 2.