Navigation

    Freqchip开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Recent
    1. Home
    2. FR801xH
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes

    FR801xH

    • 韩

      怎么应用硬件定时器
      • 韩俊宇

      2
      0
      Votes
      2
      Posts
      4535
      Views

      华

      NVIC_EnableIRQ(TIMER1_IRQn);
    • W

      IIC从机
      • whp

      2
      0
      Votes
      2
      Posts
      4857
      Views

      华

      void iic_init(enum iic_channel_t channel, uint16_t speed, uint16_t slave_addr) { volatile struct iic_reg_t *iic_reg; if(channel == IIC_CHANNEL_0) { iic_reg = IIC0_REG_BASE; } else { iic_reg = IIC1_REG_BASE; } iic_reg->clkdiv.clk_div = (system_get_pclk_config()*1000/speed-10)/2; iic_reg->control.soft_reset = 1; iic_reg->control.seven_bit = 1; iic_reg->address.slv_addr = slave_addr; iic_byte_period[channel] = 1000/speed + 1; //enable interrupt iic_reg->control.rec_noemp_ie = 1;//接收fifo非空中断 iic_reg->control.slv_noful_ie = 1;//从机发送fifo不满中断 NVIC_EnableIRQ(IIC0_IRQn); } void iic0_isr(void) { volatile struct iic_reg_t *iic_reg = IIC0_REG_BASE; uint8_t data; if(iic_reg->status.rec_emp == 0)//接收fifo非空 { iic_test_reg_addr = iic_reg->data;//从机接收数据 co_printf("%d rec_data = %d \r\n",iic_master_data_rx_cnt++,iic_test_reg_addr); } else if(iic_reg->status.slv_trans_ful ==0){//从机发送fifo不满 while(iic_reg->status.slv_trans_ful ==0){ data = rand() & 0xFF;//从机发送随机数据 iic_reg->slavedata.slave_data = data;//iic_slave_data_Tx_buffer[iic_slave_data_Tx_cnt++]; co_printf("send %d.\r\n", data); } } }
    • W

      pwm输出
      • whp

      3
      0
      Votes
      3
      Posts
      5704
      Views

      W

      内部32k的精度是多少?
    • Z

      请问LED2的电压可以调整么?
      • zhouzhigang

      2
      0
      Votes
      2
      Posts
      4870
      Views

      P

      @zhouzhigang LED2相当于一个只能用于输出的GPIO,驱动能力有限,最大12mA。LDO脚可以当做VBAT 给其他设备供电。 驱动能力120mA
    • 3

      FR8016H上自带的16位audio codec能否实现高精度的单端信号采集啊?
      • 3s3s3

      5
      0
      Votes
      5
      Posts
      9883
      Views

      W

      如何配置和读取呢?
    • Z

      llc_write_bytes 接口好像有问题
      • zhouzhigang

      2
      0
      Votes
      2
      Posts
      4690
      Views

      O

      length在最初有个自减,不会溢出
    • 中

      对于BLE的使用流程
      • 中华

      1
      0
      Votes
      1
      Posts
      3248
      Views

      No one has replied

    • Z

      请问如何软件控制LDO_OUT 的输出
      • zhouzhigang

      6
      0
      Votes
      6
      Posts
      12021
      Views

      Z

      LDO可以控制,实际测试不能写入 0x10,系统无法运行 问题:请问如何关闭这个LDO?输出 0
    • Z

      请教低功耗管理
      • zhouzhigang

      6
      0
      Votes
      6
      Posts
      11514
      Views

      Z

      按照描述,直接增加上述代码,没有测试成功,我要等些时间再测试,当前调试其他模块
    • Z

      请问如何在启动阶段判断CHG引脚是否在充电?
      • zhouzhigang

      2
      0
      Votes
      2
      Posts
      4543
      Views

      O

      你好, 最新的SDK中对reset开机阶段可能无法检测充电插入进行了修正 充电电流可配,具体API我们在后续API中加入,目前默认充电电流是60mA
    • 黄

      有没有如何使用keil进行开发的文档说明吗
      • 黄斌

      2
      0
      Votes
      2
      Posts
      5103
      Views

      H

      在sdk开发文档FREQ BLE SDK User Guide V1.0中有keil相关配置介绍
    • R

      8016H 如何使用LED2引脚?
      • Radio Goo Goo

      3
      0
      Votes
      3
      Posts
      6048
      Views

      H

      在driver_pmu.c中接口pmu_set_led2_value可以控制。
    • Z

      20200227下载的SDK使用GCC ble_simple_peripheral编译不过,其他project可以编译通过
      • zhouzhigang

      5
      0
      Votes
      5
      Posts
      9453
      Views

      O

      你好,这个工程会用到一个库文件,这个库文件目前只有keil版本,gcc版本还没有release。所以暂时编译不过
    • W

      This topic is deleted!
      • whp

      2
      0
      Votes
      2
      Posts
      95
      Views
    • L

      This topic is deleted!
      • lty

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • A

      FR8016H的SDK中如何使能ADC及如何读取ADC的数据
      • andery88

      3
      0
      Votes
      3
      Posts
      6422
      Views

      A

      好的,谢谢!已下载!正在试!
    • L

      8016H的开发板的使用手册有吗
      • lswgroup

      6
      0
      Votes
      6
      Posts
      11493
      Views

      R

      @luokuipeng,国内镜像可以用gitee:https://gitee.com/freqchip/FR801xH-SDK 这个里面包含项目比较全,且会持续更新
    • W

      JLINK 连不上
      • wxzhuhua

      14
      0
      Votes
      14
      Posts
      25527
      Views

      富

      山东省青岛市崂山区科苑纬一路,国际创新园D2,16楼,富芮坤。周志臣15963272266
    • A

      FR8016H的SDK中作为peripheral端时如何使发起BLE的Notification操作
      • andery88

      3
      -1
      Votes
      3
      Posts
      5993
      Views

      A

      十分感谢! 按您的要求,将程序该为如下就成功了,专业!及时!给您点赞!谢谢! //在接收到对端ntf使能的消息之后,通过调用gatt_notification()函数实现BLE peripheral端向手机端发送数据 gatt_ntf_t ntf_att; ntf_att.att_idx = SP_IDX_CHAR4_VALUE;//0xfff0服务的第4个att:0xfff4 ntf_att.conidx = conn_idx;//链接号 ntf_att.svc_id = sp_svc_id;//此GATT服务号 ntf_att.data_len = 6;//Notification数据的长度,根据发送的数据实时调整 uint8_t ntf_data[] = "zhusai";//虚拟数据,用户可根据需要替换成需要Notification的数据 ntf_att.p_data = ntf_data;//Notification数据的指针 gatt_notification(ntf_att);//peripheral端设备向手机端执行一次notification操作;
    • W

      请问能不能提供FR8016H开发板的芯片资料?
      • weilanhai1

      4
      0
      Votes
      4
      Posts
      7868
      Views

      富

      板子元器件资料上传了。 百度网盘链接:https://pan.baidu.com/s/191JY-x2G7rWIVebdVoafww 提取码:zdov

    Move Topic