登录
首页 » Others » IP5209IP5109IP5207IP5108寄存器手册.pdf

IP5209IP5109IP5207IP5108寄存器手册.pdf

于 2020-12-11 发布
0 638
下载积分: 1 下载次数: 3

代码说明:

英集芯移动电源芯片的IIC寄存器手册,不是数据手册。支持IP5209/IP5109/IP5207/IP5108等芯片,有详细的寄存器地址说明。英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51086、12C通讯波形介绍SDANOURMSBAcknowleAcknowledgementSignal From ReceiverSignal From Receiver8Condition(S)RW ACKACK Condition(Py1 2c master写的时候,先传8bit数据,第9个bit读save返回的ack,ack为低代表写入成功,为高代表写入不成功。l2 c master读的时候,最后一个byte传输是 slave返叵数据, master返回nack(高电平),代表读结束:如果 master返回的是ack(低电平),则说明读没有结束, master会继续读所以第九个bit的ack信号要看 master端是读操作还是写操作:因为IP5209/P5109/P5108/P5207只能做save如果往1P5209/P5109/P5108/P5207寄存器写入数据,P5209/P5109/P5108/P5207返回ack为低电平;如果从P5209/P5109/P5108/P5207读取数据,IP5209/|5109/P5108/P5207返回nack高电平),( master必须发NACK,否则会有异常)代表读结束(英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51083、寄存器功能描述标示为“ Reserved”的寄存器位有特殊控制作用,不可改变原有的值,否则会出现无法预期的结果。对寄存器的操作必须按照“读-→>修改-->写”来进行,只修改要用到的bit,不能修改其他未用bit的值。1.1 SYS CTLOOffset= Ox01Bit(s)NameDescriptionR/WReset7:5Reserved手电筒检测是否使能RW1. enableO: disableLight enableRW0: disable1 enableBoost enableRW1O: disable1: enableCharger enableRWO disable1: enable0Reserved1.2 SYS CTL1Offset=0x02Bit(sNameDescriptionResetReserved轻载关机使能(0c可设定轻载关机阙|R/W值1:使能| BATLOW轻载关机功能0:关闭 BATLOW轻载关机功能负载插入自动开机R/W1:使能0:关闭英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51081.3 SYS CTL2Offset =0x0cBit(s)NameDescriptionR/WReset7:3轻载关机电流阈值设定RW00100n * 12mA当BAT电流小于设定阈值时,持续325米机注意:此电流设定阈值需要大于100mA2:0Reserved1. 4 SYS CTL3Offset=0x03it (s)NameDescriptionR/WReset7:6长按按键时间选择010:1S01:2s10:3S11:4S1:连续两次短按(两次短按在15内)R1关札功能使能O:连续两次短按(两次短按在15内)关机功能关闭4:0Reserved1.5 SYS CTL4Offset =0x04Bit(s)NameDescriptionR/WReset7:6关机时间设定R/W11:64s10:3201:16s00:8sV|N拔出是否开启 BOOST11:开启0:不开启4:0Reserved(i)英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51081.6 SYS CTLSOffset = 0x07Bit(s)NameDescriptionR/WResetReservedNNTC功能使能R/W:使能1:关闭ReservedR/W按键开关WLED于电筒方式选择:0:长按251:短按两次按键0按键关机方式选择:R/W0:短按两次按键1:长按251.7 Charger_ CTIOffset=0x22Bit(s)NameDescriptionR/WReset7:5Reserved3:2充电欠压环设定(充电时输出端voUT的R/电压)11:4.83V10:4.73V01:4.63V00:4.53V注:在充电的时候C会检测输出voUT的电压来自动调整充电电流,当VOUT的电压大于改置值时就以最大电流对充电充电,小于设定值时就自动减小充电电流以维持此电压;如果客户要求边充边放状态下可在输出端加采样电阻检测边充边放状态输出端的负载电流大于100mA时可把欠压环设置为最高,优先对外部负载充电1:0Reserved英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51081.8 Charger CTL2Offset=0x24Bit(s)NameDescriptionR/WResetReserved6:5BAT电池类型选择R/W0011: RESERVED10:4.35V电池01:43V电池00:4.2V电池4:3RESERVED2:1恒压充电电压加压设置1011:加压4210:加压28mV1:加压1400:不加压注:4.30V/4.35V建议加压14mV;4.2V建议加压28mV;如果客户需要支持44V的电芯,可以在435V电池的基础上选择加压48mV,充饱由MCU检测到电池电压大于44V,电流小于200MA才认为是电芯充饱了Reserved1.9 CHG DIG cTL4Offset = 0x26Bit(s)NameDescriptionR/WResetReserved电池类型内部寄存器设定还是外部setP|设定|RW选择1:外部 VSET PIN设置内部寄存器设置如果是该bit为0,可通过0x24寄存器的bit6:5来设定电池类型5:0Reserved英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51081.10 CHG DIG CTL4Offset=0x25Bit(s)NameDescriptionR/WReset7:5Reserved充电电流设置(设置为电氾端电流)R/W10111lbat=b0*0.1+b1*0.2+b2*0.4+b3*08+b4*1.6A注:默认值为1011123A左右1.11 MEP CTLOOffset = 0x51it (s)NameDescriptionR/WReset7:6Reserved5: 4 LIGHT selLGHT功能选择R/W0000: WLED01: GP10210: VREF11: Reserved3: 2 L4_selL4的功能选择R/W00:L401:GP|o110: Reserved11: Reserved1:0L3_seL3的功能选择R/W01: GPIO010: Reserved11: Reserved1.12 MFP CTL1Offset=0x52sit(s)NameDescriptionR/WReset7:4ReservedR/W3: 2 VSET selVSET功能选择W0000:电池电压选择PN)英集应利P5209/P5109/P5207/P510801: GP10410: Reserved11: Reserved1: 0 RSET seRS氏T功能选择R/W0000:电池内阻选择PN01:GP|O310: Reserved11: Reserved1.13 GPIO CTL2Offset =0x53 default oxoBit(sNameDescriptionR/WReset7:5Reserved4:0 GPIO_ INEN GPIO[4: 0]input enableRW00: Disable1: Enable1.14 GP0 CTL2Offset= Ox54 default oxoBits)NameDescriptionR/WReset7:5Reserved4: 0 GPIO_OUTEN GPIO[4: ]output enableRW00: Disable1: Enable在丌启 Output之前,需要先将data配好1.15 GPO CTL3Offset =0x55Bit(s)NameDescriptionR/w Reset7:5Reserved4:0 GPIO DATGPIO[4: 0]DATAR/W0(i)英集匙利技INJOINIC TECHNOLOGYP5209/P5109/P5207/P51082.1 BATVADC DATOOffset =Oxa2Bit(s)NameDescriptionR/WReset7:0 BATVADO7:| BATVADC数据的低8bitRO2.2 BATVADC DAT1Offset Oxa3Bit(s)NameDescriptionR/VReset7:6Reserved5:0 BATVADC[13: BATVADC数据的高6btR8]VBAT=BATVADC*0. 26855mv+2.6VBATVADC VALUE low =l2C Read Byte( 12C SLAVE ADDR, Oxa2);//low 8bitBATVADC VALUE high=12c Read Byte(I2C SLAVE ADDR, Oxa3); //high 6bitf( BATVADC VALUE high&0x20)=0x20)//补码BATVOL[=2600-("BATVADC VALUE low +((BATVADC vaLUe high & 0x1F)*256+1)*0.26855else//原码BATVOL[]=2600+(BATVADC VALUE low+BATVADC_ VALUE high *256)*0.26855; //mv 24i

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 数字滤波器的MATLAB与FPGA实现 ,杜勇著,配套光盘.iso
    该文档为光盘镜像文件,包含杜勇先生编著的《数字滤波器的MATLAB与FPGA实现 》一书的所有源代码,感谢前辈分享,在此也分享给大家。
    2021-05-06下载
    积分:1
  • WebApi 使用TOKEN+签名验证
    WebApi安全性 使用TOKEN+签名验证
    2021-05-06下载
    积分:1
  • GNSS-SDR_manual.pdf (v0.0.9)
    GNSS-SDR is an open-source GNSS software receiver freely available to the research community. This project provides a common framework for GNSS signal processing which can operate in a variety of computer platforms. This tool is intended to foster collaboration, increase awareness, and reduce develoContentsMain Page1.1 Contents1.2 Overview1.3 Building GNSS- SDR2351.3.1 Debug and release builds1.3.2 Updating GNSS-SDR1.4 Using GNSS-SDR51.5 Control plane1.5.1 Configuration61.5.2 GNSS block factory1.6 Signal Processing plane1.6.1 Signal Source1.6.2 Signal Conditioner1.6.3 Channel1.6.3.1 Acquisition1.6.3.2 Tracking101.6.3.3 Decoding of the navigation message11.6.4 Observables121.6.5 Computation of Position, velocity and Time121.7 About the software license1.8 Publications and Credits131.9 Ok. now what?14CONTENTS2 Reference Documents152.1 Interface Control Documents152.1.1GPs2.1.2 GLONASS152.1.3Gai152.1.4 beiD2.1.5 Satellite Based Augmentation Systems(SBAS)2.2 Other Standards2.2.1R|NEX172.2.2 NMEA22.3KML.2.2.4 C++ Standards182.2.5 Positioning protocols in wireless communication networks183 Signal model193. 1 GNSS signal model1.1 Global Positioning System(GPS)signal in space3.1.2 GLONASS signal in space3.1.3 Galileo signal in space223.1.4 Reference254 Todo list5 Hierarchical Index5.1 Class Hierarchy6 Class Index336.1 Class list7 File Index7.1 File list43CONTENTS8 Class docu8. 1 AcquisitionInterface Class Reference538.1.1 Detailed Description8.2 ArraySignal Conditioner Class Reference8.2.1 Detailed Dtio558.2.2 Constructor& Destructor Documentation8.2.2. 1 Array SignalConditioner(Configurrface configuration, std: shared_ptr data type_adapt, std: shared_ptr< GNSSBlockInterfaceil, std: shared ptr< GNSSBlockInterface > res, std: string role, std: stringimplementation)558. 2.2.2 Array SignalConditioner(558.2.3 Member Function Documentation8.2.3. 1 implementation(558.3 beamformer Class Reference568.3. 1 Detailed Description8. 4 Beamformer Filter Class Reference568.4.1 Detailed description578.4.2 Member Function Documentation8. 4.2.1 implementation()8.5 byte x2 to complex byte Class Reference8.5.1 Detailed Description588.6 Byte ToShort Class Reference588.6. 1 Detailed description8.6.2 Member Function Documentation8.6.2. 1 implementation(598.7 Channel Class Reference598.7.1 Detailed description608.7.2 Constructor Destructor Documentation8.7. 2.1 Channel(ConfigurationInterface *configuration, unsigned int channel, std+shared_ptr< GNSSBlockInterface> pass through, std: shared_ptr acq, std: shared_ptr nav, std string role, std stringimplementation, boost: shared ptr< gr: msg_queue queuegenerated by DoxygenCONTENTS8.7.2.2 Channelo8.7.3 Member Function Documentation8.7.3. 1 implementation(618.7.3.2 set signal(const Gnss Signal &gnss signal8.7.3. 3 start_ acquisition(68.8 channel msg receiver cc Class Reference8.8.1 Detailed Description628.8.2 Constructor Destructor Documentation628.8.2. 1 channel_msg_ receiver_ cco8.9 ChannelFsm class Reference8.9.1 Detailed Description638.10 ChannelInterface Class Reference638.10.1 Detailed Description8.11 cl_ fft_ plan Struct Reference648.11.1 Detailed Description648.12 clFFT Complex Struct Reference648. 12. 1 Detailed Description8. 13 ClFFT Dim 3 Struct Reference8. 13.1 Detailed description658.14 ClFFT_ SplitComplex Struct Reference658. 14.1 Detailed Description658. 15 complex byte to float x2 Class Reference8. 15.1 Detailed description8. 16 complex_ float_to _ complex_ byte Class Reference668.16.1 Detailed Description668. 17 concurrent map< Data> Class Template Reference8.17.1 Detailed description8.18 concurrent_ queue< Data > Class Template Reference8.18.1 Detailed description688.19 ConfigurationInterface Class ReferenceCONTENTS8.19. 1 Detailed Description8.20 ControlMessage Class Reterence698. 20. 1 Detailed Description8.21 ControlMessage Struct Reference698.21. 1 Detailed Description8.22 ControlMessageFactory Class Reference708.22. 1 Detailed Description8. 22.2 Constructor Destructor Documentation8. 22.2. 1 ControlMessage Factory8. 22.2.2 ControlMessage(8.23 Control Thread class Reference8. 23. 1 Detailed Description718.23.2 Constructor Destructor Documentation8.23. 2.1 ControlThreado8. 23.2.2 Control Thread(std: shared_ptr< ContigurationIntertace> configuration)8.23. 2.3 Control Thread(728.23. 3 Member Function Documentation8.23.3. 1 flowgraph7282332run()728.23.3.3 set_control_ queue(boost: shared _ptr< gr: msg_queue control queue)8. 24 cpu multicorrelator Class Reference8.24. 1 Detailed Description8.25 cpu multicorrelator 1 6sc Class Reference8.25. 1 Detailed Description748.26 cshort to float x2 Class Reference748. 26. 1 Detailed Description8.27 cuda multicorrelator Class Reference8.27.1 Detailed Description758.28 direct resampler conditioner cb class Reference758.28. 1 Detailed Descriptiongenerated by DoxygenCONTENTS8.29 direct resampler conditioner cc Class Reference8.29. 1 Detailed description768.30 direct resampler conditioner cs Class Reference8.30. 1 Detailed description8.31 DirectResampler Conditioner Class Reference8.31. 1 Detailed Description788.31.2 Member Function Documentation788.31.2.1 implementation788.32 Fast Correction Struct Reference8. 32 1 Detailed Description8.33 File Configuration Class Reference8.33. 1 Detailed Description798.33.2 Constructor destructor documentation8.33.2. 1 File Configuration(8. 34 File SignalSource Class Reference808.34.1 Detailed Description808.34.2 Member Function Documentation8.34.2.1 implementation(8.35 Fir Filter Class Reference8.35. 1 Detailed Description818.35.2 Constructor Destructor Documentation8.35.2. 1 Fir Filter( ConfigurationInterface *configuration, std: string role, unsigned intreams, unsigned int out_streams)8.35. 2.2 FirFiltero8.35. 3 Member Function Documentation8.35.3. 1 implementation(828.36 FlexibandsignalSource Class Reference828.36. 1 Detailed descripti838.36.2 Member Function Documentatio8.36.2.1 implementation(8. 37 FreqXlating FirFilter Class ReferenceCONTENTSX8.37.1 Detailed Description8.37.2 Member Function Documentation848.37. 2.1 implementation(848.38 FrontEndCal Class Reference848. 38. 1 Detailed description8.38.2 Member function documentation8.38. 2.1 estimate_doppler_ from_ _eph(unsigned int PRN, double toW, double lat, doublelon, double height)8.3822 get ephemeris(),.,.,,.,,,,,,,858.38.2.3 GPS L1 front end model E4000(double f bb true Hz, double f bb_measHz, double fs nominal_ hz, double *estimated_fs_ hz, double *estimated_f if Hz, 85double *tosc_err_ppm)8.38.2.4 set_configuration(std shared_ptr< ConfigurationInterface configuration)858. 39 Galileo Almanac class Reference858.39. 1 Detailed description8. 39.2 Constructor destructor documentation8.39.2.1 Galileo_ Almanac8.40 galileo e1 dl pll veml tracking cc Class Reference8.40. 1 Detailed Descriptio88ember Function Documentation8.40.2.1 general work(int output_ items, gr_ vector_int &ninput_ items. gr vector_constvoid_star &input_items, gr_ vector_ void_ star &output_ _items)8. 41 galileo_e1_ Is_pvt Class Referenc8.41. 1 Detailed Descriptio8. 41.2 Member data documentation8. 41.2.1 d channels898.41. 2.2 galileo_ ephemeris_ map898.42 galileo e1 observables cc Class Reference8.42. 1 Detailed Description8. 43 galileo_e1_pvt_cc Class Reference8.43. 1 Detailed description8. 43.2 Constructor Destructor documentatiCONTENTS8. 43.2.1 galileo_e1_pvt_cc918. 43.3 Member Function documentation8. 3.1 general_work(int output_items, gr vector_int &ninput_items. gr_ vector_constevoid star &input items, gr vector void star &output items)918. 44 Galileo_E1_ Tcp Connector_ Tracking_cc Class Reference8.44.1 Detailed Description8. 45 galileo e1b telemetry decoder cc Class Reference928.45. 1 Detailed description938. 45.2 Member Function Documentation8.45.2. 1 forecast(int noutput_items, gr_ vector_ int &input_items_required8.45. 2.2 general_ work(int output_items, gr- vector_ int &ninput_items. gr_ vector_const+void star &input_items, gr_ vector_ void_ star &output_ items938. 45.2.3 set_channel(int channel8.45.2. 4 set_ decimation(int decimation)8. 45. 2.5 set_ satellite(Gnss_ Satellite satellite)8.46 Galileo E5a Dl Pll Tracking cc Class Reterence8.46. 1 Detailed description48. 47 galileo e5a noncoherentlQ acquisition caf cc class Reference8.47.1 Detailed Description958. 47.2 Constructor Destructor Documentation8.47. 2.1 galileo e5a noncoherentlQ acquisition caf cco8. 47.3 Member Function Documentation968.47. 3.1 general_ work(int output_items, gr_ vector_int &ninput_ items. gr vector_const+void_star &input_items, gr_vector_ void_star &output_items)8.47.32init()968.47.3.3mag(0..968.47.3.4 set active(bool active968.47.3.5 set channel(unsigned int channel)968.47.3.6 set_ doppler_ max(unsigned int doppler_ max)8.47.3.7 set_ doppler_ step(unsigned int doppler step8.47.3.8 set_gnss synchro(Gnss Synchro *p_gnss_ synchro8.47.3.9 set_local_code(std: complex< float >*code, std: complex< float > *code Q)97
    2020-12-01下载
    积分:1
  • Qt5实现无边框可移动可拉伸靠边自动分屏的自定义窗体
    【实例简介】Qt5实现无边框可移动可拉伸靠边自动分屏的自定义窗体
    2021-08-07 00:31:08下载
    积分:1
  • x86:从实模式到保护模式【文字版PDF+随书源代码】
    文字版PDF+随书源代码以及工具每一种处理器都有它自己的机器指令集,而汇编语言的发明则是为了方便这些机器指令的记忆和书写。尽管汇编语言已经较少用于大型软件程序的开发,但从学习者的角度来看,要想真正理解计算机的工作原理,掌握它内部的运行机制,学习汇编语言是必不可少的。本书采用开源的NASM汇编语言编译器和VirtualBox虚拟机软件,以个人计算机广泛采用的Intel处理器为基础,详细讲解了Intel处理器的指令系统和工作模式,以大量的代码演示了16/32/64位软件的开发方法,介绍了处理器的16位实模式和32位保护模式,以及基本的指令系统。这是一本有趣的书,它没有把篇幅花在计算一些枯燥的数学
    2020-11-04下载
    积分:1
  • 聚类有效性评价计算 MATLAB
    包含外部有效性指标和内部有效性指标,Rand index、 Adjusted Rand index、 Mirkin index、Hubert indexSilhouette、 Davies-Bouldin、Calinski-Harabasz、Krzanowski-Lai、Hartigan、weighted inter- to intra-cluster ratio、Homogeneity Separation
    2020-11-27下载
    积分:1
  • jsp+sqlserver图书管理系统
    基于jsp的图书管理系统运用sqlserver连接数据库界面友好易于掌握
    2020-12-02下载
    积分:1
  • 连续梁桥监控的迈达斯模型
    模型完整 能用 该模型 预拱度图形平顺,无缺陷,破解版的迈达斯也可用
    2020-12-07下载
    积分:1
  • 51单片机Protues仿真舵机,可以通过按键实现4个舵机角度的变化,并在LCD1602液晶显示舵机角度。仿真+序。
    51单片机Protues仿真舵机,可以通过按键实现4个舵机角度的变化,并在LCD1602液晶显示舵机角度。仿真+程序。
    2020-11-27下载
    积分:1
  • Matlab特征提取代码
    MATLAB特征提取代码
    2021-04-22 23:28:48下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载