Hello,
I am in process of selecting MCU for the automotive electric vehicle application. The requirement is as below...
1. BLDC motor control with Trapezoidal control (MCU should have 6 channel PWM with possibility of 3 complementary pairs for regenerative braking).
2. HALL sensors (3) sensing on Input Capture Interrupt (both Low to High and High to Low edge selection should be possible) to compute the motor frequency and also to apply commutation.
3. Cycle by Cycle current Control feature must be available. (If current in phases increases above a higher threshold, the h/w ckt will generate an edge and feed it to MCU. MCU has to accept it as interrupt and without intervention of s/w, it should stop PWM. After that it should let s/w execute the isr. When the current falls below lower threshold, the h/w ckt will generate exactly opposite edge and feed it to MCU. MCU has to accept it as an interrupt and without intervention of s/w, it should now start PWM without losing the synchronisation)
4. CAN communication available
5. Separate UART - 1
6. 12 bit ADC for sensing battery voltage, motor current, h/w temperature
7. In addition, 2-4 timers (16 bits), and other general MCU features like Watchdog, GPIOs, sleep mode and so on.
8. The sample code for trapezoidal control (closed loop if possible) will be of advantage (since I can use input capture and PWM source code as is).
9. Availability of CAN based bootloader source code.
I am ready to talk to FAE personally and discuss about this application and select the MCU as well as toolchain with eval board for this. I can share further details on email.