Navigation

    Freqchip开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Recent
    1. Home
    2. yleager
    Y
    • Continue chat with yleager
    • Start new chat with yleager
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    yleager

    @yleager

    0
    Reputation
    4
    Posts
    2149
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    yleager Follow

    Posts made by yleager

    • FR8016如何配置充电的电流大小?

      FR8016如何配置充电的电流大小?

      posted in FR801xH
      Y
      yleager
    • RE: 如何检测电池电量,有例程源码参考吗?

      在driver_adc.h中,有说明:
      USAGE SAMPLE
      1. get vbat value
      struct adc_cfg_t cfg;
      uint16_t result, ref_vol;

          memset((void*)&cfg, 0, sizeof(cfg));
          cfg.src = ADC_TRANS_SOURCE_VBAT;
          cfg.ref_sel = ADC_REFERENCE_INTERNAL;
          cfg.int_ref_cfg = ADC_INTERNAL_REF_1_2;
          cfg.clk_sel = ADC_SAMPLE_CLK_24M_DIV13;
          cfg.clk_div = 0x3f;
          adc_init(&cfg);
          adc_enable(NULL, NULL, 0);
      
          adc_get_result(ADC_TRANS_SOURCE_VBAT, 0, &result);
      	ref_vol = adc_get_ref_voltage(ADC_REFERENCE_INTERNAL);
          // vbat_vol = (result * 4 * ref_vol) / 1024 mV.
      posted in FR801xH
      Y
      yleager
    • 用FR801XH的RTC做时间,很不精准,计时一段时间后比标准时间要快,有什么好办法解决

      参考demo中的RTC功能,做了一个时间计时器,但是和标准时间对比,一段时间后误差很大,各位大神有什么办法吗?

      posted in FR801xH
      Y
      yleager