ManufactureTestIMPL.docx

上传人:b****4 文档编号:26943052 上传时间:2023-06-24 格式:DOCX 页数:12 大小:290.98KB
下载 相关 举报
ManufactureTestIMPL.docx_第1页
第1页 / 共12页
ManufactureTestIMPL.docx_第2页
第2页 / 共12页
ManufactureTestIMPL.docx_第3页
第3页 / 共12页
ManufactureTestIMPL.docx_第4页
第4页 / 共12页
ManufactureTestIMPL.docx_第5页
第5页 / 共12页
点击查看更多>>
下载资源
资源描述

ManufactureTestIMPL.docx

《ManufactureTestIMPL.docx》由会员分享,可在线阅读,更多相关《ManufactureTestIMPL.docx(12页珍藏版)》请在冰豆网上搜索。

ManufactureTestIMPL.docx

ManufactureTestIMPL

GEMS–K1

ManufactureTestimplementationdocument

CONFIDENTIAL

TJU—IFXAutomotiveElectronicJointLaboratory

StateKeyLaboratoryofEngines

TianJinUniversity,China

Revisionhistory

Version

By

Modifications

V0.1,15thFeb.2009

Hoangchao.Zhang

Created

Summary

Revisionhistory2

Summary3

1Introduction4

1.1Overview4

1.2Reference4

2.Typedefinition5

3GlobalVariable6

4FunctionDefinitions7

4.1MFT_SpareOUT7

4.2MFT_INT7

4.3MFT_AD8

4.4MFT_Driver8

4.5MFT_ETCMotor9

4.6MFT_DigitalIO9

4.7MFT_EP10

5ResourcesConfiguration12

5.1PeriperalConfig12

5.2InterruptConfig12

6CompileEnvironment12

1Introduction

1.1Overview

ThisdocumentdescribestheimplementationofManufactureTestmoduletobedevelopedfortheGEMS-K1project.

ImplementationofmanufacturetestneedtheconnectionofECUandTestboard.

1.2Reference

2.Typedefinition

Type

Description

Range

MFT_ADC_CRTTyp

StructureforstoringthetestcriteriaforADCchannels

floatFADC_L;

floatFADC_H;

floatADC_L;

floatADC_H;

MFT_Driver_CRTTyp

StructureforstoringthetestcriteriaforDriverchannels

floatTstRdy_L;

floatTstRdy_H;

floatOUTOK_L;

floatOUTOK_H;

MFT_ETCMotor_CRTTyp

StructureforstoringthetestcriteriaforETC

floatOUTOK_L;

floatOUTOK_H;

floatPOUTOK_L;

floatPOUTOK_H;

floatOUT1OK_L;

floatOUT1OK_H;

floatOUT2OK_L;

floatOUT2OK_H;

floatOUTNOK_L;

floatOUTNOK_H;

MFT_CRTTyp

Structureforstoringthetestcriteriafortestedobject

MFT_ADC_CRTTypADC;

MFT_Driver_CRTTypDriver;

MFT_ETCMotor_CRTTypETCMotor;

3GlobalVariable

Thischapterdescribestheglobalvariableusedbyscheduler.

Varialbes

Type

Description

MFT_TstCrt

MFT_CRTTyp

criterafortest

4FunctionDefinitions

4.1MFT_SpareOUT

Syntax

voidMFT_SpareOUT(uint8OUT)

Parameters

Uint8

OUT

Channelnumbertobeturnedon

Return

Notification

Description

Thisfunctionswitchtheappointedchannelon.

∙ChannelappointedbyOUTturningon

∙OUTcanstandingformost4channels

∙0x01firstchannel,0x02secondchannel,0x03thirdchannel,0x04fourthchannel

∙Example:

OUT=0x01|0x03meansthefirstandthirdchannelshouldbeswitchon.

Reentrancy

No

Remarks

4.2MFT_INT

Syntax

voidMFT_INT(void)

Parameters

Parameters

Return

Notification

Description

Thisfunctiondoesinitializationformanufacturetest.

∙SpareOut1,2,3,4switchoff

∙LEDtwinkleswith2Hzfrequency.

Reentrancy

No

Remarks

4.3

MFT_AD

Syntax

voidMFT_AD(floatETCTst)

Parameters

Return

Notification

Description

ManufacturetestofADchannels

Detailsofthisfunction:

∙Spare_out1,Spare_Out2,Spare_Out3Shut.Spare_Out4Open

∙if(channelvoltageintherangeofcriteria)

{

Testpassed

}

else

{

Testfailed;.

}

Reentrancy

No

Remarks

4.4MFT_Driver

Syntax

voidMFT_Driver(void)

Parameters

Return

Notification

Description

Manufacturetestofdriverchannels

Detailsofthisfunction:

∙Spare_out1,Spare_Out2,Spare_Out3Shut.Spare_Out4Open

∙Setthetestingchannelon

∙if(spareADchannelvoltageintherangeofcriteria)

{

Testpassed

}

else

{

Testfailed;.

}

Reentrancy

No

Remarks

SpareADChannelofECUisusedfortesting

 

4.5MFT_ETCMotor

Syntax

VoidMFT_ETCMotor(void)

Parameters

Return

Notification

Description

ManufacturetestofETC

Detailsofthisfunction:

∙Spare_out1,Spare_Out2,Spare_Out4Shut.Spare_Out3Open

∙SetETC+andETC-switchon

∙if(spareADchannelvoltageintherangeofcriteria)

{

Testpassed

}

else

{

Testfailed;.

}

Reentrancy

No

Remarks

SpareADChannelofECUisusedfortesting

 

4.6MFT_DigitalIO

Syntax

VoidMFT_DigitalIO(void)

Parameters

Return

Notification

Description

ManufacturetestofdigitalIOchannels

Detailsofthisfunction:

∙Spare_out1,Spare_Out3,Spare_Out4Shut.Spare_Out2Shut

∙if(theresultofIOchannelis0)

{

Testpassed

}

else

{

Testfailed;.

}

∙Spare_out1,Spare_Out3,Spare_Out4Shut.Spare_Out2Open

∙if(theresultofIOchannelis1)

{

Testpassed

}

else

{

Testfailed;.

}

Reentrancy

No

Remarks

SpareADChannelofECUisusedfortesting

 

4.7MFT_EP

Syntax

VoidMFT_EP(void)

Parameters

Return

Notification

Description

ManufacturetestofCrankandCansignalfetching

Detailsofthisfunction:

∙Spare_out2togglesinahighfrequency

∙if(EP_EPMdl.CrkFECnt>10)

{

CrankTestpassed

}

else

{

CrankTestfailed;.

}

∙if(EP_EPMdl.CamFECnt>10)

{

CamTestpassed

}

else

{

CamTestfailed;.

}

Reentrancy

No

Remarks

SpareADChannelofECUisusedfortesting

4.8MFT_MFTest

Syntax

VoidMFT_MFTest(void)

Parameters

Return

Notification

Description

ManufacturetestoftheECU

Detailsofthisfunction:

Manufacturetestisimplementedinthefollowingsequence.

∙MFT_INT();

∙MFT_AD();

∙MFT_Driver();

∙MFT_ETCMotor();

∙MFT_DigitalIO();

∙MFT_EP();

Reentrancy

No

Remarks

 

5ResourcesConfiguration

TheresourceusedbyManufactureTest

5.1PeriperalConfig

Source

Description

Spareout1

ThedigitalspareoutofECU

Spareout2

ThedigitalspareoutofECU

Spareout3

ThedigitalspareoutofECU

Spareout4

ThedigitalspareoutofECU

5.2InterruptConfig

Source

SRN

TOS

Priority

Name

Description

6CompileEnvironment

CompileTool:

TaskingVX-ToolsetforTricorev2.2r3

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1