The ASH WARE I2C eTPU Driver allows the Freescale eTPU to be connected to an I2C bus running in Standard-mode or Fast-mode, as either a master or slave node. By using the output pin pad open drain capability, no external hardware is required for this connection. This driver has been written to support both the eTPU and eTPU2 devices, and can run on any Freescale or STMicro chip with the eTPU/eTPU2 peripheral.
1.00 - initial production version
TBD - support multi-master (arbitration), support SMBus
The I2C master driver supports the following features.
Arbitration (multi-master), high-speed mode, CBUS and 10-bit addressing are not currently supported. The I2C master solution uses 4 consecutive eTPU channels and their associated pins. The first two must be connected to the SCL wire, the second two to the SDA wire. They function as follows:
base channel: SCL_out
base channel+1: SCL_in
base channel+2: SDA_out
base channel+3: SDA_in

The I2C slave driver supports the following features.
The I2C slave solution uses 4 consecutive eTPU channels and their associated pins. The first two must be connected to the SCL wire, the second two to the SDA wire. They function as follows:
base channel: SCL_in
base channel+1: SCL_out
base channel+2: SDA_in
base channel+3: SDA_out

The following waveforms show the SCL and SDA wires during a write and read transfer. Both a master and slave have been instantiated on a single eTPU, and connected together. Signal levels for all the master channels (write transfer), and all the slave channels (read transfer) are shown as well.


Testing includes 100 % code and jump coverage of the eTPU software. All features described in the User Manual have been tested.
All requirements derived from the User Manual are guaranteed to be met. No other guarantees are made or implied. Specifically, determination of suitability for a particular application is the responsibility of the purchaser. If not fully satisfied, delete and return all materials within 60 days of purchase for a full refund. Workmanship is guaranteed for one year. Any software issues found and reported within one year will be fixed at no cost by ASH WARE.
With the purchase of the initial license comes 4 hours of consulting time. Additional hours are billed at an hourly rate of $180 USD.
The baseline license is a per-product license. Purchase of a license entitles the purchaser to use the eTPU drivers on a single product. If the driver were to be used on another product, an extension license would need to be purchased. ASH WARE receives no royalties. Additional licensing options are available - contact ASH WARE for details as well as pricing for all license options.
A Licensing Agreement must be in place prior to delivery.
Each license is royalty free. ASH WARE receives no per unit royalty.
An evaluation kti is available upon request. It consists of all deliverables except the eTPU source code, allowing users to test that the software will meet their needs.