Comms failure on MCWB
I have a STEVAL-SPIN3202 programmed and configured for FOC, and a small motor which has been profiled by the profiler and an ESC001V1. Code is auto generated by MCWB and compiled using Eclipse (I have to change the min_stack_size to 0x300 because MCWB gets it wrong).
The motor runs fine in MCWB using the ESC001V1.
Using the STEVAL-SPIN3202 the board connects OK but when I start the motor there is a click followed by a message "Communication is closed, the board doesn't response correctly". This (pidgin English) message is completely useless and provides not the slightest clue as to the nature of the fault.
I am at a standstill with my development after trying many combinations of settings and wasting a lot of time. I do want to use the 3202 in a product I am designing but if I can't get it to turn a motor I will abandon it.
There are other problems. The documentation says for FOC to have J12 on, J11 off, and JP8 on 2-3. The schematic says J12 off and J11 on. Furthermore the schematic says R12 should be 15K for FOC whereas the installed resistor is 5K6. There is no mention in the documentation about replacing the resistor.
These inconsistencies leave me wondering if I have chosen the correct products.
My application is simple and the chip is suited to it IF it works. A small in-runner BLDC motor is fitted with a pump and supplies fuel to a small gas turbine. PCB space is limited on the ECU and the 3202 will create a neat solution. FOC is essential.
Does anyone have any clue, and more importantly, how do I get real diagnostics from MCWB, that can be used to find real problems?