Your example code above will not drive a brushless motor correctly. If you have hall effect sensors you need to monitor them to decide which phases to energise next. If your motor does not have hall effect sensors then you need sensorless determinati...
The C99 standard suggests that the buffer should be large enough to handle at least 4095 characters but not sure how large the buffer is in the library ST uses.Andy
The recommended procedure is to contact your local rep.Quoting an ST employee:"Please note that you should contact your Local STMicroelectronics representative and sign an agreement to get access to this free service from ST."I have heard of at least...