完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
CC Gain: data flash raw data 0x7F71205C, EVSW reading with: 10.124
Raw data (0x7F71205C) -> first two byte is for exp gain. The exp is 0x7F -> 127, so gain: (127-128-24) = -25 -> 2^(-25) The rest is the low address to high address hex read from gauge and it is big endian. Bit 7 of the MSB is used for the sign bit, but in the conversion the mantissa is considered to be shifted so the bit 7 would always be a 1, to preserve the most possible significant bits in the mantissa. So after determining the sign here, the implied high bit must be set back to one for the conversion to be correct. 0x71205C OR with 0x80 = 0xF1205C -> convert into DEC and times 2^(-25) = 15802460*2^(-25) = 0.47095 CC Gain = 4.768/x = 4.768/0.47095 = 10.124 (matches!) CC Delta: data flash raw data 0x940898C0, EVSW reading: 10.147 Raw data (0x940898C0) -> first two byte is for exp gain. The exp is 0x94 -> 148, so gain = (148-128-24) = -4 0x0898C0 OR with 0x80 = 0x8898C0 -> convert into DEC and times 2^-4 = 559500 CC delta = 5677445/x = 5677445/559500 = 10.147 Board Offset: data flash raw data 0xF6. EVSW reading : -0.27 F6 -> convert to DEC = -9. Board offset = x*0.48/16 = -9*0.48/16 = -0.27 CC Offset: data flash raw data 0xFA89, EVSW reading with new *.encr = -0.67 0xFA89 -> convert to DEC = -1398. CC offset = x*0.00048 = -1398*0.00048 = -0.67 |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
594 浏览 0 评论
1647 浏览 0 评论
2089 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1538 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1381 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1789浏览 29评论
2818浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1747浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1664浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1677浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-12 14:18 , Processed in 0.575395 second(s), Total 40, Slave 33 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
7243