TIDUA05B June 2015 – March 2025
Any embedded processor or microcontroller with an embedded quadrature encoded pulse counter and SPI can be used in conjunction with the TIDA-00176 hardware design.
However, to allow for easy evaluation of the TIDA-00176 hardware reference design, an example firmware is provided for the C2000 F28069M Piccolo LaunchPad, which allows for evaluating TIDA-00176 with Sin/Cos incremental position encoders. A user menu through USB virtual COM port is provided to initialize the line count of selected Sin/Cos encoder and print the calculated high-resolution angle information along with other user selectable data.
The main peripherals leveraged on the F28069M are the SPI-A peripheral to read the dual high-resolution 16-bit data signals A16-bit and B16-bit. The embedded dual S/H ADC is used to convert the single-ended analog signals A12-bit and B12-bit. The quadrature encoder pulse (eQEP2) module is used for directional
up-down incremental count based on the signals ATTL and BTTL and the zero index marker RTTL for absolute position initialization. The ePWM1 timer is used to generate periodic interrupts to trigger a new angle measurement. A 16-kHz period was chosen. The SCI-A peripheral was used to implement the UART-based user interface at 115000 baud through virtual COM port.
Figure 5-1 TMS320F28069M Peripheral Module and Pin Assignment to TIDA-00176 Host Processor Interface