| Electronic Components Datasheet Search |
|
AN2038 Datasheet(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2038 Datasheet(HTML) 11 Page - STMicroelectronics |
|
11 / 23 page ![]() AN2038 Software modifications 11/23 Modification related to BLDC Motor ● Modify the mtc.h: #define MotorStalled 4 ● Inside the mtc.c for BLDC motor – Add the following include at the beginning #include "I2C.h" #include "Protosup.h" – Then is necessary to modify the Chk_Motor_Stalled() and MTC_C_D_IT() functions to manage the fault condition. Inside Chk_Motor_Stalled() function add the following // Frequency Synchronization if ((MPRSR & 0x0F) == RATIO_MAX) { COMMAND = CMD_BRAKE; MotorStatus = MOTOR_STALLED; …. } Only for BLDC sensorless, inside MTC_C_D_IT() function find the following block and modify as written. if (RampIndex >= (RAMP_SIZE-1))// If Ramp is finished without success { …….. MotorStatus |= START_UP_FAILED; COMMAND = CMD_BRAKE; ………. } |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |