AN8716 Slave message add additional 4 bytes

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
wumj21
Level 1
Level 1
10 sign-ins First reply posted 5 sign-ins

hi, 

 

When I used AN8716 firmware to send a message from the slave device to the master device on the CYUSB3KIT003 development board, the master device received an additional 4 bytes in the message header, but sending from the master device to the slave device was correct. The attachment shows the USB packet capture

0 Likes
1 Solution
JiangJing
Moderator
Moderator
Moderator
First like given 250 sign-ins 250 replies posted

Hi,

       对于主机跟从机的顺序是有要求的,我们要求要先program slave然后再program Master,不然在主机发送读取数据的请求时,从机还没工作或主备好,所以会出现错误;

View solution in original post

0 Likes
3 Replies
JiangJing
Moderator
Moderator
Moderator
First like given 250 sign-ins 250 replies posted

Hi,

      您使用的是Infineon提供的AN87216的example code 吗?有进行什么修改吗?谢谢

0 Likes

谢谢你的回复,我使用的是官方提供的例子,最后发现是接线的问题;换成官方用的接线方式对了。但是我现在又碰到了新的问题,如果我先给主设备插上PC机,再插入从设备,测试发现从设备会给主设备发送512字节全为00 的数据,如果我先插入从设备,再插入主设备就没有这个问题。每次都是刚插入会出现这种问题,后面就不会出现了

0 Likes
JiangJing
Moderator
Moderator
Moderator
First like given 250 sign-ins 250 replies posted

Hi,

       对于主机跟从机的顺序是有要求的,我们要求要先program slave然后再program Master,不然在主机发送读取数据的请求时,从机还没工作或主备好,所以会出现错误;

0 Likes