1. 首页
  2. 课程学习
  3. 嵌入式
  4. PICmicro MCU与MCP6S2X PGA接口

PICmicro MCU与MCP6S2X PGA接口

上传者: 2022-10-20 22:44:40上传 PDF文件 265.32 KB 热度 5次

TheMCP6S21/2/6/8familyofone,two,sixoreight

channelProgrammableGainAmplifiers(PGA)commu-

nicateusingastandard3-wireSerialPeripheralInter-

face(SPI™)protocol.Thisapplicationnoteshowshow

toprogramthesixchannelMCP6S26PGAgains,

channelsandshutdownregistersusingthePIC16C505

microcontroller.

ThePIC16C505microcontrollerdoesnothaveahard-

wareSPImodule,therefore,afirmwareSPI(BitBang)

methodisusedtoprogramthePGA.TheMCP6S2X

EvaluationBoardwasusedtodevelopthisapplication

notefirmware.Foradditionalinformation,refertothe

MCP6S2XEvaluationBoardUser’sGuide(DS51327),

MCP6S21/2/6/8PGAdatasheet(DS21117)and

PIC16C505datasheet(DS40192).MAN248InterfacingMCP6S2XPGAstoPICmicroMicrocontrollerAuthor:EzanaHaileCOMMUNICATIONMicrochipTechnologyInc.Figure1showstheSPIcommunicationformatwiththeclockidlelowandtheserialdatalatchedattherisingINTRODUCTIONedgeoftheclock.Thisformatissometimesreferredtoas“0,0”mode.InstructionsfortheMCP6S21/2/6/8TheMCP6S21/2/6/8familyofone,two,sixoreight

用户评论