參數(shù)資料
型號(hào): DRM031
英文描述: 3-Phase Switched Reluctance Motor Drive Control with Encoder Using 56F805
中文描述: 3相開關(guān)磁阻電機(jī)的編碼器控制中的應(yīng)用56F805
文件頁數(shù): 94/190頁
文件大?。?/td> 2557K
代理商: DRM031
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁當(dāng)前第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁
Software Module Descriptions
Designer Reference Manual
DRM033 — Rev 0
94
Software Module Descriptions
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
4.4.2.3 Initialization / Transmission / Reception Using msCAN Driver Software
For the
initialization of the
msCAN
module
the following routine of the
msCAN Driver Software is used:
/* CAN init & configuration */
tmp = CAN_Init(FAST, 0);
Next, it is necessary to configure employed message buffers (entities for
handling CAN messages) using
CAN_ConfigMB()
function, the one
message buffer for each message type (see
Table 4-8. List of message
types
). This configuration consists of assigning the message type
(message object identifier) and a direction of communication (reception
or transmission) for each message buffer.
/* used CAN MO numbers plus letter names:
Rx [letter identifier used in notation]:
0 [D] ... configure digital output msg - Msg Group 2 with msg group ID = 010
1 [E] ... analog configure msg - Msg Group 2 with msg group ID = 101
Tx [letter identifier used in notation]:
2 [B] ... digital status msg - Msg Group 1 with msg group ID = 0100
3 [A1] ... first analog status msg - Msg Group 1 with msg group ID = 1000
4 [A2] ... scnd analog status msg - Msg Group 1 with msg group ID = 1001
5 [C] ... dig input change-of-state msg - Group 1 with msg group ID=0001 */
tmp = CAN_ConfigMB(0, RXDF, 0, 0); /* configure MO 0 to receive, ID = 0 */
/* configure (set) digital outputs msg */
tmp = CAN_ConfigMB(1, RXDF, 1, 0); /* configure MO 1 to receive, ID = 1 */
/* configure analog inputs msg */
tmp = CAN_ConfigMB(2, TXDF, 2, 0); /* configure MO 2 to transmit, ID = 2 */
/* digital status msg */
tmp = CAN_ConfigMB(3, TXDF, 3, 0); /* configure MO 3 to transmit, ID = 3 */
/* analog status msg, part 1 */
tmp = CAN_ConfigMB(4, TXDF, 4, 0); /* configure MO 4 to transmit, ID = 4 */
/* analog status msg, part 2 */
tmp = CAN_ConfigMB(5, TXDF, 5, 0); /* configure MO 5 to transmit, ID = 5 */
/* digital input change of state msg */
For the
CAN transmission
the following piece of code can be used. It
prepares a two bytes long message in
sendData[]
buffer and sends it
through message buffer number 5.
tU08 sendData[9];
/* pass data to CAN Tx routine */
sendData[0] = 2; /* store desired data to sendData */
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
DRM032 3-Phase SR Motor Control with Hall Sensors Reference Design
DRM040 Single Phase Digital Power Meter Reference Design
DRM041 Building an USB-DDC ICP Interface Board HardwareReference Design
DRM042 Universal Serial Bus Wireless Optical Mouse and Multimedia Keyboard reference design designer reference manual
DRM043 Li-on Battery Charger Reference Design Designer Reference Manual
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DRM10 功能描述:DIP 開關(guān)/ SIP 開關(guān) BCD 10 POS RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關(guān)類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點(diǎn)形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM1004 功能描述:DIP 開關(guān)/ SIP 開關(guān) ROTARY DIP SWITCH PLASTICSHAFT RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關(guān)類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點(diǎn)形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM101 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Blood Pressure Monitor Using the Flexis QE128 Family
DRM10C 功能描述:SWITCH DIP MINI SHAFT 10POS T/H RoHS:否 類別:開關(guān) >> DIP 系列:DR 特色產(chǎn)品:RDM Series Rotary DIP Switch 標(biāo)準(zhǔn)包裝:70 系列:RDM 電路:十六進(jìn)制 位置數(shù):16 觸點(diǎn)額定電壓:0.1A @ 42VDC 觸動(dòng)器類型:用于工具旋轉(zhuǎn) 觸動(dòng)器電平:凹槽式 安裝類型:通孔 方向:頂部觸動(dòng) 可清洗:是 其它名稱:EG4977-5RDMAR16PIT
DRM10C04 功能描述:編碼式波段開關(guān) SW DIP MINI SHAFT 10POS T/H RoHS:否 制造商:C&K Components 位置數(shù)量:10 輸出代碼:Binary Coded Decimal 執(zhí)行器:Screwdriver 觸點(diǎn)額定值: 端接類型:Solder Pin 封裝:Tube