完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
大家好,
对于一个项目,我们开发了一个键盘使用cy8cmbr3116。 这些按键安装在自行车,用外。 有些时候,键盘丢失了它们的配置,回到工厂配置中。 我们实际上使用12个键,保护传感器,接近传感器和屏蔽电极。 我们的客户做了一个软在每个功率对CRC校验,如果不相同,配置芯片。 即便如此,我们仍然有松动的配置问题。 键盘关机静止一分钟后,用户必须按下一个按钮,电源。 在办公室里,我们没能把这个问题(只有当键盘是骑自行车) 你知道问题在哪里,可以来自和如何解决它? 非常感谢你的帮助, 最好的问候, 以上来自于百度翻译 以下为原文 Hello everyone, For a project, we developped a keypad using CY8CMBR3116. These keypads are installed on bikes, used outside. Since some times, the keypads "lost" their configuration and go back in factory configuration. We actually are using 12 keys, guard sensor, proximity sensor and shield electrode. Our customer made a soft to test CRC at each power on, and if not the same, reconfigure the chip. Even with that, we still have problems of loosing configuration. The keypad is power off after 1 minute of inactivity, and the user must press a pushbutton to power on. In office, we didn't succeed to get this problem (only when the keypad is on the bike) Do you know where the problem can come from and how to solve it ? Many thanks for your help , Best Regards, |
|
相关推荐
8个回答
|
|
你好,
我们需要更多的信息来调试你的问题。 通过丢失配置,我假设MBR3切换到工厂默认配置。 请您检查以下更新情况好吗? 加载一个有效的配置文件并读取SysSytStand寄存器以确认配置加载(BIT0’0’)。 当您的问题发生时,请监视VDD电源引脚,I2C线,并在这里发布结果。 然后,读取SytSytStand寄存器,让我们知道BIT0是否设置为“1”。 谢谢, 山马西 以上来自于百度翻译 以下为原文 Hello, We need more information to debug your issue. By losing configuration, I assume that the MBR3 switches to factory default configuration. Could you please check the following and update? Load a valid configuration file and read the SYSTEM_STATUS register to confirm that the configuration is loaded (Bit0 '0'). While your issue occurs, please monitor the VDD power pin, I2C lines and post the results here. Then, read the SYSTEM_STATUS register and let us know if the bit0 is set to '1'. Thanks, Shanmathi |
|
|
|
你好, 谢谢你的回复。 事实上,我不能接触他们(他们在不同的城市使用)。 但是,一旦我有一个键盘进入工厂系统,系统的状态是在0。 客户提出的重新配置一个计数器同时他指出很多重构,所以它的含义,配置了常。 有什么可以损失的原因吗? 拉上的SCL和SDA resitors是4.7k。 提前谢谢你的反馈, 编纂, 最好的问候, Benjamin RECOULES |局研究/ R&;D部 市场规模:+ 33(0)4 66 74 64 05 标准/电话:+ 33(0)4 66 74 18 73传真:+ 33(0)4 66 74 36 84 网址:www.niconix.com欧www.niconix.fr 以上来自于百度翻译 以下为原文 Hello, Thank you for your reply. Actually, I can't have access to them (they are on use in different cities). But, once i got a keyboard which went in factory system back, and the SYSTEM_STATUS was at 0. The customer put a counter in the re-configuration while and he noted a lot of reconfiguration, so it is meaning that the configuration is lost often. What can be the causes of a loss ? The pull up resitors on SCL and SDA are 4.7K. Many thanks in advance for your feedback, Cordialement, Best Regards, Benjamin RECOULES | Bureau d'Etudes / R&D department Ligne directe : +33 (0) 4 66 74 64 05 Standard / Phone : +33 (0) 4 66 74 18 73 - Fax : +33 (0) 4 66 74 36 84 Web : www.niconix.com ou www.niconix.fr |
|
|
|
你好,本杰明, 1)你提到你正在检查CRC上电。 请你让我们知道了所遵循的程序校验码? 我假设您使用I2C命令读取CRC寄存器。 你能读的CRC校验登记,说,五次确认如果CRC损坏的设备?这是为了确保它不是I2C通信问题,实际上是一个闪光的腐败问题。 2)如果CRC值读取错误,然后阅读所有的寄存器配置和更新我们对配置寄存器进行修改/损坏。 3)你可以让我们知道在什么条件下(压力、温度、振动等。)设备安装在自行车吗? 谢谢,Shanmathi 以上来自于百度翻译 以下为原文 Hello Benjamin, 1) You have mentioned that you were checking CRC at power on. Could you please let us know the procedure followed to check CRC? I assume you read the CRC register using I2C command. Could you read the CRC register for, say, 5 times and confirm if CRC is corrupted in the device? This is to ensure it is not I2C communication issue and actually a flash corruption issue. 2) If the CRC value read is incorrect, then read all the configuration registers and update us on the configuration registers that were modified/corrupted. 3) Could you also let us know under what conditions (stress, temperature, vibrations etc,.) the devices are installed on bikes? Thanks, Shanmathi |
|
|
|
你好, 谢谢你的反馈, 1)这里是用来检查每个键盘上电的CRC的时间: 而(PADYRead半字(0x7e)!= 0x216e){ PADYRead EngMoMand(0x00,(UIT88T**)CopyCy8CMBR,128); PADYRead字节(0x46,2); OsDelp(200); PADYRead字节(0x86/0xFF); OsDelp(200); } 事实上,它是我们正在阅读的CRC,它不是正确的价值。 2)配置寄存器返回到它们的工厂值。 3)作为一个普通的自助自行车:外面,每个人都想使用。 提前感谢, 编纂, 最好的问候, Benjamin RECOULES先生办公室/研发部 市场规模:+ 33(0)4 66 74 64 05 标准/电话:+ 33(0)4 4 66 74 18 73传真:+ 33(0)4 66 74 74 网址:www.niconix.com欧www.niconix.fr 以上来自于百度翻译 以下为原文 Hello, Thank you for your feedback, 1) Here is the while used to check CRC each the keypad is powered on : while(PAD_ReadHalfWord(0x7E) != 0x216e){ PAD_WriteCommand(0x00, (uint8_t*)configCy8cmbr, 128); PAD_WriteByte(0x86, 2); osDelay(200); PAD_WriteByte(0x86, 0xFF); osDelay(200); } Indeed, it is the CRC we are reading and it is not the right value. 2) The configuration registers are going back in their factory values. 3) As a normal selfservice bike : Outside, used by everyone who want to. Thanks in advance, Cordialement, Best Regards, Benjamin RECOULES | Bureau d'Etudes / R&D department Ligne directe : +33 (0) 4 66 74 64 05 Standard / Phone : +33 (0) 4 66 74 18 73 - Fax : +33 (0) 4 66 74 36 84 Web : www.niconix.com ou www.niconix.fr |
|
|
|
你好,本杰明, 谢谢您的快速更新。 你能提供以下信息吗? 1。128字节的配置寄存器,一个有效的配置加载后 2。128字节的寄存器配置,当CRC发生不匹配(可以读取128个字节的CRC不匹配时发生而你的主机循环) 我们需要所有128字节配置寄存器的值,因为system_status登记为零(即出厂配置不装) 最好的问候, 山马西 以上来自于百度翻译 以下为原文 Hello Benjamin, Thank you for the quick update. Could you please provide the following information? 1. 128-byte configuration registers, after a valid configuration is loaded 2. 128-byte configuration registers, when CRC mismatch occurs (You can read the 128 bytes whenever CRC mismatch occurs in while loop of your host) We need the value of all the 128-byte configuration registers because SYSTEM_STATUS register is 0 (which implies that factory configuration is not loaded) Best regards, Shanmathi |
|
|
|
你好, 谢谢你的反馈, 我真的不能接触到128字节配置当CRC发生不匹配(我没有键盘) 附件是我们使用的有效配置。(我做了正确的中值滤波最近,实际上,在配置IIR和中值滤波器被激活,你觉得这会是问题吗?) 有帮助吗? 编纂, 最好的问候, Benjamin RECOULES先生办公室/研发部 木质素:33(0)4,66,74,64,05 标准/电话:+ 33(0)4 66 74 18 73传真:+ 33(0)4 66 74 36 84 网站:www. nimixx.ou.nnimix.fR ZIP 1 K 以上来自于百度翻译 以下为原文 Hello, Thank you for this feedback, I actually don't have access to the 128-byte configuration when CRC mismatch occurs (I don't have the keypads) In attachment is the valid configuration we used. (I did correct the median filter recently, indeed, on that configuration both IIR and Median filters are activated, do you think that could be problem ?) Does it help ? Cordialement, Best Regards, Benjamin RECOULES | Bureau d'Etudes / R&D department Ligne directe : +33 (0) 4 66 74 64 05 Standard / Phone : +33 (0) 4 66 74 18 73 - Fax : +33 (0) 4 66 74 36 84 Web : www.niconix.com ou www.niconix.fr
|
|
|
|
你好,本杰明, 修改IIR和中值滤波器配置是很好的。这不应该是Flash腐败的原因。 但是,如果加载了一个配置了中值过滤器的配置,我们预期CRC会被更改。 您是否还根据修改后的校验和修改主机? 请让我们知道您观察这个问题的设备数量和部署的设备总数。 已经说过,我们需要128字节的配置数据(在CRC不匹配之后)进一步调试。 谢谢和问候,Shanmathi 以上来自于百度翻译 以下为原文 Hello Benjamin, Modifying IIR and median filter configuration is fine. This should not be the reason for flash corruption. However, if you load a configuration with median filter modified, we expect the CRC to be changed. Did you also modify your host according to the modified checksum? Please let us know the number of devices in which you are observing this issue and the total number of devices deployed. Having said these, we require the 128 bytes of configuration data (after CRC mismatch) to debug further. Thanks and regards,Shanmathi |
|
|
|
60user14 发表于 2018-8-16 01:49 亲爱的, 的确,在依恋与改进的中值滤波器的配置。 是的,这段时间将被修改为对应。 当数据损坏时,我会尝试得到128字节。 (从今天起我在霍利迪,8月27日回来) 多谢支持 编纂, 最好的问候, Benjamin RECOULES先生办公室/研发部 木质素:33(0)4,66,74,64,05 标准/电话:+ 33(0)4 66 74 18 73传真:+ 33(0)4 66 74 36 84 网址:www.niconix.com欧www.niconix.fr ZigStReFig.24.07.TXT.ZIP 1 K 以上来自于百度翻译 以下为原文 Dear, Indeed, in attachment the configuration with the modified median filter. And yes, the while will be modify to correspond. I'll try to get the 128 bytes when the data is corrupted. (I am in holliday from today and I come back 27 august) Many thanks for the support Cordialement, Best Regards, Benjamin RECOULES | Bureau d'Etudes / R&D department Ligne directe : +33 (0) 4 66 74 64 05 Standard / Phone : +33 (0) 4 66 74 18 73 - Fax : +33 (0) 4 66 74 36 84 Web : www.niconix.com ou www.niconix.fr |
|
|
|
只有小组成员才能发言,加入小组>>
750个成员聚集在这个小组
加入小组2054 浏览 1 评论
1809 浏览 1 评论
3621 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1746 浏览 6 评论
1499 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
484浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
337浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
400浏览 2评论
341浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
834浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-8 23:33 , Processed in 0.898445 second(s), Total 91, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号