PICmicro单片机在电路串行编程(ICSP™的)参数校准
Manyembeddedcontrolapplications,wheresensor
offsets,slopesandconfigurationinformationaremea-
suredandstored,requireacalibrationstep.Tradition-
ally,potentiometersorSerialEEPROMdevicesare
usedtosetupandstorethiscalibrationinformation.
Thisapplicationnotewillshowhowtoconstructapro-
grammingjigthatwillreceivecalibrationparameters
fromtheapplicationmid-rangePICmicro™microcon-
trollers(MCU)andprogramthisinformationintothe
applicationbaselinePICmicrousingtheIn-Circuit
SerialProgramming(ICSP™)protocol.Thismethod
usesthePIC16CXXXIn-CircuitSerialProgramming
algorithmofthe14-bitcoremicrocontrollers.AN656In-CircuitSerialProgramming(ICSP)ofCalibrationParametersUsingaPICmicroMicrocontrollerPROGRAMMINGFIXTUREAuthor:JohnDayMicrochipTechnologyInc.Aprogrammingxtureisneededtoassistwiththeselfprogrammingoperation.Thisistypicallyasmallre-usablemodulethatplugsintotheapplicationPCBINTRODUCTIONbeingcalibrated.Onlyvepinconnectionsareneeded