Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4777013
  • 博文数量: 1140
  • 博客积分: 12961
  • 博客等级: 上将
  • 技术积分: 13666
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 11:25
  • 认证徽章:
个人简介

偷得浮生半桶水(半日闲), 好记性不如抄下来(烂笔头). 信息爆炸的时代, 学习是一项持续的工作.

文章分类

全部博文(1140)

文章存档

2019年(116)

2018年(81)

2017年(80)

2016年(70)

2015年(52)

2014年(41)

2013年(51)

2012年(85)

2011年(45)

2010年(231)

2009年(288)

分类: 其他平台

2018-09-06 11:41:17

1. 经常发生收取 timeout/ rx_err_callback 的情况, 调试发现很多情况是对端 延迟发送时调用 的 starttx 发生错误, 即设置的 delay时间错误, 适当加大即可. 

This timeout is for complete reception of a frame, i.e. timeout duration must take into account the length of the expected frame. Here the value  is arbitrary but chosen large enough to make sure that there is enough time to receive a complete frame sent by the "RX then send a response"
 example at the 110k data rate used (around 3 ms).


点击(此处)折叠或打开

  1. HPDWARN:  reg:0F:00   bit:27
  2. Half Period Delay Warning. This event status bit relates to the use of delayed transmit and delayed receive functionality. It indicates the delay is more than half a period of the systemclock.
  3. For delayed send/receive the send/receive time is programmed into Register file: 0x0A –
  4. Delayed Send or Receive Time and then the delayed sending/receiving is initiated by the
  5. TXDLYS/RXDLYE controls in Register file: 0x0D – System Control Register. The delayed transmit
  6. and receive functionality is described in detail in sections 3.3 – Delayed Transmission and 4.2 –
  7. Delayed Receive.

点击(此处)折叠或打开

  1. //inst->fixedReplyDelayAnc32h = ((uint64)instance_convert_usec_to_devtimeu (respframe + RX_RESPONSE_TURNAROUND) >> 8);
  2.     inst->fixedReplyDelayAnc32h = ((uint64)instance_convert_usec_to_devtimeu (3000) >> 8); //fixed by iibull
调试 OK.

阅读(1584) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册