• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 请问STM32能直接用CAN的TX与RX引脚通讯吗?

    我看TJA1050还是VP230作用都是将TTL电平信号转换,那么我要是两个MCU的CAN_TX与CAN_RX直接连接能够通讯吗?距离不远的情况下

    2019-01-29 08:04

  • 通用型变频器产品有什么特点?

    在不对扶梯的正常使用产生任何负面影响的前提下,引入矢量变频调速的概念。即变频器根据传感器产生的信号,在有人乘坐时,扶梯以原有速度运行(50Hz);当无人时,扶梯减速到低速或停止运行。

    2019-09-30 09:11

  • BlueNRG-MS v7.2c Mode4同步扫描和播发示例?

    我已经实现了扫描或广告以及作为1个主设备的从属设备的连接,同时实现了2个从设备的主设备。现在我需要同时扫描和放大做广告(无论是否作为奴隶或主人),但无法实现。请有人请指出一个实现此目的的示例或显示一些适合他们的代码片段?我遵循en.DM00141271 BlueNRG Prog Man Rev 2016年12月6日的指导原则,第4章:BlueNRG多连接时序策略特别是wrt建议4:每次开始做广告时:b)如果不是直接广告,请选择Advertising_Interval_Min = Advertising_Interval_Max,使得(Advertising_Interval_Min + 5ms)是最短分配连接间隔的整数倍我得到的错误是0x85:BLE_STATUS_INTERVAL_TOO_LARGE工作顺序:0.初始化Mode4:uint8_t DataMode = 4;aci_hal_write_config_data(CONFIG_DATA_MODE_OFFSET,CONFIG_DATA_MODE_LEN,& DataMode));当然还有双重差距uint8_t GapRole = GAP_PERIPHERAL_ROLE_IDB05A1 | GAP_CENTRAL_ROLE_IDB05A1;aci_gap_init_IDB05A1(GapRole,1,strlen(DeviceName),& gapRoleHdl,& devNameHdl,& devAppearHdl));1.永远开始扫描:aci_gap_start_selective_conn_establish_proc(ACTIVE_SCAN,96,16,PUBLIC_ADDR,true,2,白名单);(所以扫描间隔为60毫秒,扫描窗口为10毫秒)2.从白名单中的两个从属中的一个获取广告并连接: aci_gap_create_connection(96,16,AddrType,Addr,PUBLIC_ADDR,48,48,2,72,16,16);(因此扫描参数与上述相同,60毫秒conn间隔,10毫秒conn长度)3.尝试开始广告(先前开始扫描继续寻找白名单中的第二个奴隶):aci_gap_set_discoverable(ADV_IND,44,44,PUBLIC_ADDR,NO_WHITE_LIST_USE,0,NULL,0,NULL,0,0)))(所以55毫秒的广告间隔,遵守建议甚至间隔为(60毫秒 - 5毫秒)上述调用的返回值始终为0x85。 #simultaneous-scan-& -advertise #ble_status_interval_too_large以上来自于谷歌翻译以下为原文 I have achieved scanning or advertising as well as a connection as a slave to 1 master and simultaneously a master of 2 slaves.Now I need simultaneous scan & advertise (whether or not in connection as a slave or master), but cannot achieve it.Would someone please point me to an example which achieves this or show some code snippets that worked for them?I am following guidelines of en.DM00141271 BlueNRG Prog Man Rev 6 Dec 2016, Chapter 4: BlueNRG multiple connections timing strategySpecifically wrt advice 4:Every time you start Advertising:b) If not Direct Advertising, choose Advertising_Interval_Min = Advertising_Interval_Max such that (Advertising_Interval_Min + 5ms) is an integer multiple of the shortest allocated connection intervalThe error I am getting is 0x85: BLE_STATUS_INTERVAL_TOO_LARGEOrder of work:0. initialize Mode4:uint8_t DataMode = 4;aci_hal_write_config_data(CONFIG_DATA_MODE_OFFSET, CONFIG_DATA_MODE_LEN, &DataMode));and of course dual gap roleuint8_t GapRole = GAP_PERIPHERAL_ROLE_IDB05A1 | GAP_CENTRAL_ROLE_IDB05A1;aci_gap_init_IDB05A1(GapRole, 1, strlen(DeviceName), &gapRoleHdl, &devNameHdl, &devAppearHdl));1. start scanning forever:aci_gap_start_selective_conn_establish_proc(ACTIVE_SCAN, 96, 16, PUBLIC_ADDR, true, 2, whitelist);(so 60-msec scan interval, 10-msec scan window)2. get advertisement from one of the two slaves in the whitelist and connect: aci_gap_create_connection(96, 16, AddrType, Addr, PUBLIC_ADDR, 48, 48, 2, 72, 16, 16);(so same scan parameters as above and 60-msec conn interval, 10-msec conn length)3. attempt to start advertising (while previously started scan continues looking for second slave in the whitelist):aci_gap_set_discoverable(ADV_IND, 44, 44, PUBLIC_ADDR, NO_WHITE_LIST_USE, 0, NULL, 0, NULL, 0, 0)))(so 55-msec advertising interval, obeying advice to be even interval of (60-msec - 5-msec)Return value of above call is always error 0x85. #simultaneous-scan-&-advertise #ble_status_interval_too_large

    2018-09-29 14:08

  • LIN总线在汽车分级制网络中有哪些应用?

    LIN总线有什么特点?LIN总线在汽车分级制网络中有哪些应用?

    2021-05-14 07:14