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

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

文章分类

全部博文(1725)

文章存档

2024年(1)

2023年(26)

2022年(112)

2021年(217)

2020年(157)

2019年(192)

2018年(81)

2017年(78)

2016年(70)

2015年(52)

2014年(40)

2013年(51)

2012年(85)

2011年(45)

2010年(231)

2009年(287)

分类: 其他平台

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.

阅读(5271) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~