-
IIC接收I2C_INT_FLAG_STPDET中断后为什么要重新使能IIC sos
iic中断接收例程中,这个操作是干什么用的 观察寄存器实际还在使能状态,这个个代码看起来没有任何作用,但是不加还不行,为什么 [img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA2gAAACdCAIAAABOw8xdAAAgAElEQVR4Ae2dS7LDunGGtYTMU3E8TMV1N8B57GnsRagqu8gStIRsInKcuvZGOM3Au1CqAQJsAI0HzyF1ROk7daoEgo1G9wc+foEPXf6LPwhAAAIQgAAEIAABCAwQuPwHfxCAAAQgAAEIQAACEBggcPm/9O/BHwQgAAEIQAACEIAABCwCCEeLCnUQgAAEIAABCEAAAgUBhGOBhAoIQAACEIAABCAAAYsAwtGiQh0EIAABCEAAAhCAQEGgLxzn23S5XO9Fy6Jivl2ny/o3Te1G4ne6zYUbVzHQ6Xy/TqG/aboNBGh3tbl2ILbNPmmwnUBze7tf1y2xvplt7/SNWjR3wIE8d94Bxd0yZtO1dlwYCOsAk50zPSBCXELAJCDHwfZ52DUbNDO7aFa6k+VQCE03rHw1AnsJR7eBTLe5IgSLtDvqq7P64U4ysTt/zqmq0KLz71X0Yhv2fr9eptuw9ZkN9890eHsTw2dtGT81RF/Ba2/Fid5W0rvYUId3wFn0fVCEF5GE88MYEvkWGI4e8zPG7McyHdhIurG5wfPDs6oCVSmr3IqqJ994+44x5FCmGrI/80CXRXy5FJuZhuXke9yUpuvt/o3txG2WMcbper+7jTL0N5SmM7YtZdZEnQrLRKVrme5QRg/ZL+p/cazsHmPDaOdzcV1fk25Ckvpz0Ew3GSjPVxnSbucDnjB5MQJ94TgU8NZdWDb+r29RVm/n20Z9FkN4T260f6bWFmBDGre025+g9it4uztgk5u10toBxW4Ri57j7M7PU67lnfJNzi9lzWEDYSUTO7NWfifT6HisYHUfWy46Y5WObo2MbKxKFh7pFwxDvkfXzYIPqjTJHTaDT5p7S6/dks0gWInBRWuxeb77C1xfOov4rT+otigiV3W7jVsBxG3m2QmupGF+QUp7Dvnr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QAACEIAABI4lgHA8li/eIQABCEAAAhCAwNsQQDi+zVCSCAQgAAEIQAACEDiWAMLxWL54hwAEIAABCEAAAm9DAOH4NkNJIhCAAAQgAAEIQOBYAgPCcb5Nl+k2HxsH3iEAAQhAAAIQgAAEXpzAgHB8PO7X6XK5XK73F0+G8CAAAQhAAAIQgAAEjiMwIByZcTwOP54hAAEIQAACEIDAeQgMCEfe43ie4SRSCEAAAhCAAAQgcBwBhONxbPEMAQhAAAIQgAAE3ooAwvGthpNkIAABCEAAAhCAwHEEEI7HscUzBCAAAQhAAAIQeCsCo8KRt/G81bCTDAQgAAEIQAACENhOoC8ceTZmO1VaQAACEIAABCAAgTck0BSO8iKey2Xi/Y1vOPCkBAEIQAACEIAABLYSaArHrc6whwAEIAABCEAAAhB4XwIIx/cdWzKDAAQgAAEIQAACuxJAOO6KE2cQgAAEIAABCEDgfQkgHN93bMkMAhCAAAQgAAEI7EoA4bgrTpxBAAIQgAAEIACB9yWAcHzfsSUzCEAAAhCAAAQgsCsBhOOuOHEGAQhAAAIQgAAE3pcAwvF9x5bMIAABCEAAAhCAwK4EEI674sQZBCAAAQhAAAIQeF8C/w/DtzyFfL3ZtAAAAABJRU5ErkJggg==[/img]
2036浏览量 0回复量 关注量 -
GD32F303CBT6U的OSCIN和OSCOUT管脚复用
[align=left][color=#1F497D][font=DengXian]目前在研究一些[/font][/color][color=#1F497D]GD32F303CBT6U[/color][color=#1F497D][font=DengXian]的产品内容,有一些疑问请帮忙解答下。[/font][/color][/align][align=left][color=#1f497d]OSCIN[/color][color=rgb(31, 73, 125)][font=DengXian]和[/font][/color][color=#1f497d]OSCOUT[/color][color=rgb(31, 73, 125)][font=DengXian]引脚可以重映射为[/font][/color][color=#1f497d]PD0[/color][color=rgb(31, 73, 125)][font=DengXian]和[/font][/color][color=#1f497d]PD1[/color][color=rgb(31, 73, 125)][font=DengXian],进而我会理解为:重映射后的[/font][/color][color=#1f497d]PD0[/color][color=rgb(31, 73, 125)][font=DengXian]和[/font][/color][color=#1f497d]PD1[/color][color=rgb(31, 73, 125)][font=DengXian]可根据需要设置为输入或者输出的功能。[/font][/color][/align][align=left][color=#1F497D][font=DengXian]但这两个的引脚类型却是只有[/font][/color][color=#1F497D]I[/color][color=#1F497D][font=DengXian](输入)和[/font][/color][color=#1F497D]O[/color][color=#1F497D][font=DengXian](输出)。[/font][/color][/align][align=left][color=#1F497D][font=DengXian]请帮确认下是哪种情况?[/font][/color] [/align]
2535浏览量 16回复量 关注量 -
请教一下大家,在N32G452CCL7上有没有可用的PDM2PCM包??? sos
在原有产品基础上想要做一个声音采集,调解,滤波,降噪,增益一体的高质量麦克风请教一下大家,在N32G452CCL7上有没有可用的PDM2PCM包???
1312浏览量 0回复量 关注量 -
CH32V103 PD1引脚重映射问题
PD1重映射GPIO 设置上拉输入,默认是低电平void app_gpio_init(void) { GPIO_InitTypeDef GPIO_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA|RCC_APB2Periph_GPIOB|RCC_APB2Periph_GPIOC|RCC_APB2Periph_GPIOD , ENABLE); //使能GPIOA,GPIOB,GPIOC,GPIOD外设时钟 RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO,ENABLE); //GPIOA引脚设置推挽输出 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0|GPIO_Pin_1|GPIO_Pin_4|GPIO_Pin_5|GPIO_Pin_6|GPIO_Pin_7|GPIO_Pin_8|GPIO_Pin_11; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOA, &GPIO_InitStructure); //GPIOB引脚设置推挽输出 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0|GPIO_Pin_12|GPIO_Pin_4|GPIO_Pin_5|GPIO_Pin_6|GPIO_Pin_7|GPIO_Pin_9; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOB, &GPIO_InitStructure); //GPIOC引脚设置推挽输出 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_15|GPIO_Pin_4|GPIO_Pin_5|GPIO_Pin_6|GPIO_Pin_8|GPIO_Pin_9|GPIO_Pin_10|GPIO_Pin_11; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOC, &GPIO_InitStructure); //GPIOD引脚设置推挽输出 GPIO_PinRemapConfig(GPIO_Remap_PD01,ENABLE); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOD, &GPIO_InitStructure); //GPIOB引脚设置上拉输入 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1|GPIO_Pin_3|GPIO_Pin_8; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; GPIO_Init(GPIOB, &GPIO_InitStructure); //GPIOC引脚设置上拉输入 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_13|GPIO_Pin_14|GPIO_Pin_0|GPIO_Pin_1|GPIO_Pin_2|GPIO_Pin_3|GPIO_Pin_7|GPIO_Pin_12; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; GPIO_Init(GPIOC, &GPIO_InitStructure); //GPIOD引脚设置上拉输入 GPIO_PinRemapConfig(GPIO_Remap_PD01,ENABLE); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; GPIO_Init(GPIOD, &GPIO_InitStructure); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; GPIO_Init(GPIOD, &GPIO_InitStructure); }
3267浏览量 3回复量 关注量 -
GD32F407ZGT6写OTP遇到的问题 sos
[p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]GD32F407ZGT6的OTP区,写入之后,提示写成功了,memory对话框里也对,重启后读出来也对,但是设备不能断电,断电后再读出来就不正常了,有这种情况吗[/font][/backcolor][/color][/p][p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]那位有这个芯片的板子,帮忙测试下是否有这个问题。[/font][/backcolor][/color][/p] [p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]注意:一定要把板子断电一下,然后再进去看下写入的数据是否变化了。[/font][/backcolor][/color][/p] [p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]代码如下:[/font][/backcolor][/color][/p] [p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]#define FLASH_OTP_BASE 0x1FFF7800U[/font][/backcolor][/color][/p][p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]uint8_t tempDat = 0; uint8_t McuFlashRead(uint32_t addr) { return *(__IO uint8_t*)addr; }[/font][/backcolor][/color][/p] [p=28, null, left][color=rgb(51, 51, 51)][backcolor=rgb(255, 255, 255)][font="]tempDat = McuFlashRead(FLASH_OTP_BASE); if(tempDat == 0xFF) { HAL_FLASH_Unlock(); HAL_FLASH_Program(FLASH_TYPEPROGRAM_BYTE,FLASH_OTP_BASE,'D'); HAL_FLASH_Lock(); }[/font][/backcolor][/color][/p]
7104浏览量 0回复量 关注量 -
Microchip dsPIC33FJ系列都不能用MCC生成底层代码吗?
Microchip dsPIC33FJ系列都不能用MCC生成底层代码吗?我这要配置dsPIC33FJ32MC204,发现不能使用MCC。同时试了下dsPIC33FJ的其他型号,也是不行。
2067浏览量 1回复量 关注量 -
请问CC1352R如何做到一次发送的数据大于20个字节?
SDK版本是simplelink_cc13x2_26x2_sdk_4_30_00_54。在例程simle_peripheral上进行的修改. 通过GATT_Notification函数操作特征值4.通过sysconfig把 MAX_PDU_SIZE 修改为255.在周期性任务中调用了一次HCI_LE_SetDataLenCmd(connList[0].connHandle,251,2120)。但是还是不能一次性传输超过20个字节。请问该怎么做才能实现超过20个字节的发送呢?谢谢。
9066浏览量 1回复量 关注量 -
【求助】请问CC2540 怎么在广播里面广播出mac地址啊? sos
各位大神, 请问怎么在广播里面广播出mac地址? 我自己的想法是,先获取到mac地址,再把mac地址添加到scanRspData[]中? 但是我在使用GAPRole_GetParameter的时候,在蓝牙状态改变的回调函数中可以正常使用,在其他地方就不行。 请问还有什么方法可以获取吗?
1346浏览量 0回复量 关注量