Electronic Components Datasheet Search
  English  ▼

X  

AN2038 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN2038
Description  I2C emulation with ST7MC in slave mode
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2038 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button AN2038 Datasheet HTML 7Page - STMicroelectronics AN2038 Datasheet HTML 8Page - STMicroelectronics AN2038 Datasheet HTML 9Page - STMicroelectronics AN2038 Datasheet HTML 10Page - STMicroelectronics AN2038 Datasheet HTML 11Page - STMicroelectronics AN2038 Datasheet HTML 12Page - STMicroelectronics AN2038 Datasheet HTML 13Page - STMicroelectronics AN2038 Datasheet HTML 14Page - STMicroelectronics AN2038 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 23 page
background image
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;
……….
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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