The maximum clock frequency of the TMS320F28021DAT is 60 MHz.
The PWM outputs on the TMS320F28021DAT can be configured using the ePWM module. The ePWM module has several registers that need to be configured to set the PWM frequency, duty cycle, and other parameters. Refer to the TMS320F28021DAT datasheet and the ePWM module user's guide for more information.
Yes, the TMS320F28021DAT is well-suited for motor control applications. It has a range of peripherals, including the ePWM module, that can be used to generate PWM signals for motor control. Additionally, the device has a range of analog-to-digital converters (ADCs) that can be used to measure motor currents and voltages.
Implementing a bootloader on the TMS320F28021DAT requires a good understanding of the device's memory architecture and the boot process. The bootloader can be implemented using the device's flash memory and the SCI or SPI interfaces for communication. Refer to the TMS320F28021DAT datasheet and the bootloader user's guide for more information.
The TMS320F28021DAT has 128 KB of flash memory available for program storage.