问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - CONFIG
  • GD32F303 RTC闹钟

    为什么我的GD32F303 RTC闹钟的无法设置,RTC其他功能正常;1、设置方法按照手册,使用 库函数设置,但是设置完成之后RTC_ALRMH和RTC_ALRML两个寄存器的值还是0 void rtc_alarm_config(uint32_t alarm) { rtc_configuration_mode_enter(); /* set the alarm high bits */ RTC_ALRMH = alarm >> 16; /* set the alarm low bits */ RTC_ALRML = (alarm & RTC_LOW_VALUE); rtc_configuration_mode_exit(); } 2、手册上说RTC_ALRMH和RTC_ALRML两个寄存器复位值是0xFFFF,但实际是0

    GD32F303 RTC ARM CONFIG ratio IO

    4117浏览量 3回复量 关注量
  • GD32F103CBT6 STOP模式下,DBGMCU_Config后,不能进入调试状态

    MCU为GD32F103CBT6,程序在STOP模式下,执行DBGMCU_Config(DBGMCU_STOP,ENABLE)后,不能进入调试状态,仿真器为STLINK SWD模式,同程序在STM32F103CBT6下可以,求解。

    CONFIG ST top 调试 gd32F103 MCU

    4351浏览量 2回复量 关注量
  • HK Config擦除读保护失败 sos

    HK Config下载HEX文件前需要擦除器件读保护 [img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmAAAAApCAYAAACSo5VdAAAOhElEQVR4Ae2cgY4cyQ1D/dn50/zG/YED4fJgmqCqqrtnvbNrLVCQRJFUtWbupnEI8uOff/756efHf/77M/39+PHjN7hqx34jNIVqNFd6hyvnNH+l1+nMV/K++v1fuYuv6PXdP7/d8+36X/Ez/Yp3/ls/h7/1ud/tO/q3fg6r5/7hL19Vdy9g7/aBzn1mA7OBz91A/cuF87k3mendBubz6TYz+J/YwHz/+i3PC1i/m+nMBmYDs4HZwGxgNjAb+JANzAvYh6x1TGcDs4HZwGxgNjAbmA30G7j8Alb/ObH7W/VUc8pTTeWdrsN3+lOd+tzRpLvf9dG7XMmfznuqv3LX4c4GZgOzgdnAbOC7b+DyC1gtpPsx7nBfIryK3XHNau6uhxdzqU918JOensfuuVY4Hh2H/mn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xjO/5CXzerb7zZ/55W53Js4HZwGzg/TYwL2Dv95nMjWYDs4HZwGxgNjAb+OYbmBewb/4Bz+PNBmYDs4HZwGxgNvB+G5gXsPf7TOZGs4HZwGxgNjAbmA188w3MC9g3/4Dn8WYDs4HZwGxgNjAbeL8NzAvY+30mc6PZwGxgNjAbmA3MBr75Bv4HCefZmuyoRQMAAAAASUVORK5CYII=[/img] 但在option bytes页面擦除读保护失败,是我擦除页面哪里没有设置正确吗?

    单片机 CONFIG hkc IO optionbyte Optionbytes

    1591浏览量 0回复量 关注量
  • U-BOOT下的xxx_defconfig、 .config 、kconfig sos

    U-BOOT下的xxx_defconfig、 .config 、kconfig文件表示了什么?哪里用上了这几个文件?刚接触u-boot,被这几个文件搞蒙了

    boot CONFIG u-boot

    1649浏览量 0回复量 关注量
  • 求助:AC7801X芯片I2C通信主机端收到的是从机的NACK

    [i=s] 本帖最后由 fanchenxinok 于 2021-2-22 09:56 编辑 [/i] 芯片用的Autochip的AC78013 MCU,现在MCU配置为从机模式,主机是安卓系统的。MCU和安卓系统I2C通信。我从机端参考代码是:ac7801xSampleCode20200729\ac7801xSampleCode20200729\i2c\SampleCode\5 I2C_Slave_DMA\I2C_Slave\User下的i2c.c。目前主机和从机通信是没问题的 主机发送的命令我从机都能收到, 但是主机那边发送完命令却没收到从机的ACK,会报错。请问是我从机这边配置有问题吗?配置都是直接从参考代码复制过来的。 void UTILS_I2cInit(I2C_Type *pI2cInst, I2C_ModeType mode, uint16_t slaveAddr) { I2C_ConfigType i2cConfig; /*清零结构体变量.*/ memset(&i2cConfig, 0x00, sizeof(i2cConfig)); /*无论是主机还是从机模式都需要配置的参数.*/ i2cConfig.mode = mode;/*设置主从机模式.*/ i2cConfig.extAddrEn = DISABLE;/*10bit扩展地址禁能.*/ i2cConfig.dmaRxEn = DISABLE;/*设置DMA接收数据.*/ i2cConfig.dmaTxEn = DISABLE;/*设置DMA发送数据.*/ i2cConfig.interruptEn = DISABLE;/*I2C中断,BND/SAMF/ARBLOST.*/ i2cConfig.nackInterruptEn = DISABLE;/*NACK中断.*/ i2cConfig.ssInterruptEn = DISABLE;/*总线start或stop中断.*/ i2cConfig.i2cEn = ENABLE;/*使能模块.*/ i2cConfig.callBack = NULL;/*中断回调函数.*/ /*主机模式需要配置的参数,配置成从机模式可忽略.*/ /* Fscl = Fbclk / (((SAMPLE_CNT_DIV+1) * (STEP_CNT_DIV+1))*2) */ i2cConfig.masterConfig.sampleCnt = 4;/*设置波特率为100Kbps,bandrate=(24M/(5*6*2))=400Kbps.*/ i2cConfig.masterConfig.stepCnt = 5; i2cConfig.masterConfig.ARBEn = ENABLE;/*设置主机仲裁功能.*/ i2cConfig.masterConfig.SYNCEn = ENABLE;/*设置主机SCL同步功能.*/ /*从机模式需要配置的参数,配置成主机模式可忽略.*/ i2cConfig.slaveConfig.slaveAddr = slaveAddr;/*从机地址.*/ i2cConfig.slaveConfig.slaveRangeAddr = 0;/*从机范围地址.*/ i2cConfig.slaveConfig.glitchFilterCnt= 0;/*毛刺过滤.*/ i2cConfig.slaveConfig.stretchEn = ENABLE;/*从机SCL延伸功能.*/ i2cConfig.slaveConfig.rangeAddrEn = DISABLE;/*禁能范围地址.*/ i2cConfig.slaveConfig.monitorEn = DISABLE;/*禁能从机监测功能.*/ i2cConfig.slaveConfig.generalCallEn = DISABLE;/*从机SCL广播地址.*/ i2cConfig.slaveConfig.wakeupEn = DISABLE;/*唤醒功能,仅从机时有效.*/ i2cConfig.slaveConfig.rxOFInterruptEn = DISABLE;/*接收缓存溢出中断.*/ i2cConfig.slaveConfig.txUFInterruptEn = DISABLE;/*发送缓存溢出中断.*/ I2C_Init(pI2cInst, &i2cConfig); } 有大神可以指导下吗

    AC I2C通信 ck 芯片 CONFIG

    1874浏览量 1回复量 关注量
  • ADS131E08参考电压 sos

    您好,请问我将ADS131E08的参考电压接上了3.3V,并将程序中的CONFIG3设为了0x40,但是最后将采样的电压值打印出来,却是错误的,是什么原因?

    电压 ads1 CONFIG 电压值

    691浏览量 0回复量 关注量
  • NUC980 SD0 sos

    新唐NUC980 SD0 menuconfig如何使用?

    NUC sd CONFIG 新唐

    1041浏览量 0回复量 关注量
  • Nutool Pinconfigure不能打开文件 sos

    使用pincongfig配置好后,能正常保存,但就是无法打开,每次打开自己保存的cfg文件时,都弹出“来自网页的信息 the config file is incorrect.”。论坛有哪位大侠知道是啥原因不?以前可以用,后来不知咋的,一直这问题用不了,很是郁闷,新唐官方说是系统问题,但说不出是系统哪个问题引起。

    CONFIG pi 新唐

    693浏览量 0回复量 关注量