-
GD32C103CBT6的CAN1工作不正常
参考官方例程communication_FDmode,CAN1_TX只会出现一两个低脉冲。直接用例程去掉按键、加个50ms延时周期发送也是一样的波形. [img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABIMAAACDCAIAAACRJkyzAAAgAElEQVR4Ae2dz48cx5Xn+z9gVwMsSdVFZqtpjinv2lqrtTPi7sy0d60GpDHWvrT+gRmg0bQgGBLMg+AGhpe5GChJaFkFGwNDHp4GKwzQRxGgAFGibgNQTbKZF58M2D5Kuvi8qwr1V1+9iIyKrPxRWdXfBEG8ePGNFy8+EVmdj1VdXMk6cH308d0OZLEAKQhU+iaJlVilE0hU6lAlgsqyTKzEKp1AolKHKhGUbsB0UGKVzqqWG/DJ0yt93qVXrnRhhbXsbhcW0nQOApVOWKzEKp1AolKHKhGUHm7SQYlVOivdgGKVTiBdqXOVyKoWUKeF2JOJk54FmSqxRdrlWm6DRVpwhVzFKh2eWCWyEqhEUKou0kGJVTor3YBilU4gXalzlciqFlCqxHzaqsR8Jt311HIbdHd5tWYmVuk4xSqRlUAlglJ1kQ5KrNJZ6QYUq3QC6Uqdq0RWtYBSJebT/kYlFqesXuATCqCY+hghVmLFBNiOnI1Il44cMxQN0TAEuBm5jyJdOlTMUDREwxDgZuQ+inSd5UNVqhI7f/58r9c7V/laW1vr9/sXLlzgvYPdziyYzjdUiflMvvJE7qJI11m+wYIoxYqxiEYiDYFKBKUXHAYlGuk0dIsxK9EQDSbA9sxnY+aBy/06lliJra+vr66uDgaDovKJ92iqPRwOB4OBC8jidmbhGYO2KrEgli+dkbso0hUfqF6DWyQZiGiAhlAAhV40GIVo1EVDtxiTFA3RYAJsz3w2Zh643K9yiZWYXzXxpsxmD4fDXq/HY9uZhWcM2qrEgli+dEbuokhXfKB6DW6RZCCiARpCARR60WAUolEXDd1iTFI0RIMJsD3z2Zh54HK/yqVUYufPnx8MBrwLddlPPPFEv9930dqZJSVzVWKFlCJ3UaRruW+hICzRYCyiUQsNYawFo16OGKNo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199Pru3J9QO6/tfk+t+T64c//KEqsWyOV6laopR4jotqbWoBaQ21JhIBERABERABERCBigRUif3gBz9QJVbxFNU5vFQtUUpcZ5ZdjSUgXd0Z5SUCIiACIiACIiACloAqMVVi9kzMt12qliglnu+62pldQNrhrFlEQAREQAREQAREoDoBrsSqR1uOCPp04jz3sVQtUUo8z1W1NbeAtEVa84iACIiACIiACIhAVQKqxHyCqsR8Ju15StUSpcTtrWF+MwnI/NhrZhEQAREQAREQAREoR0CVmM9LlZjPpD1PqVqilLi9NcxvJgGZH3vNLAIiIAIiIAIiIALlCKgS83mpEvOZtOcpVUuUEre3hvnNJCDzY6+ZRUAEREAEREAERKAcAVViPq9OV2J//NOfP/r47hL/+eOf/uxvSZFn6WmU3ehS9Iqoyi8CIiACIiACIiACItACAVViPuROV2J+uvKIgAiIgAiIgAiIgAiIgAgsHAFVYv6WqRLzmcgjAiIgAiIgAiIgAiIgAiJQJwFVYj5NVWI+E3lEQAREQAREQAREQAREQATqJKBKzKepSsxnIo8IiIAIiIAIiIAIiIAIiECdBEpVYufPn+/1eucqX2tra/1+/8KFC8GVtDNLcGrnVCUWgaMuERABERABERABERABERCBGggkVmLr6+urq6uDwaCofCqVynA4HAwGLiAPbGcWnjFoqxILYpFTBERABERABERABERABESgNgKJlZhfNVXPYDgc9no9jtPOLDxj0FYlFsQipwiIgAiIgAiIgAiIgAiIQG0Evn16RSKeP39+MBhEBDN3PfHEE/1+3w1vZ5aUVFWJpVCSRgREQAREQAREQAREQAREYHYCp4XYtyMher1eLR9K9Ke4ePHi6uqq87czi5+D71El5jORRwREQAREQAREQAREQAREoE4CKZXYuXPn6pzym7EQHMY3++tplQquSqwe6IoiAiIgAiIgAiIgAiIgAiJQRKCuSmxzc3N3d3dvb+/65Nrb29vd3d3c3CyaF37USDDQ5YwPPvggn1w3b97krmvXruV5/rvf/e7/O999991f/epXTz75JAvYLgrOGtiqxIBChgiIgAiIgAiIgAiIgAiIQCMEaqnEtre3j46OxuPx8fHxw8l1fHw8Ho+Pjo62t7fjeaNGgmH0rgzL8/z999/nrtdffz3P86OjoyzL3n///TzPf/GLX7CA7aLgrIGtSgwoZIiACIiACIiACIiACIiACDRCoHoldnh4eHBwcHJygpIJxsnJycHBweHhYSR11EgwjBjRplZiJycnP/nJT8xw1ywKDvFnn38BW5UYUMgQAREQAREQAREQAREQARFohEDFSmx7e/vg4MAVS59++unbb7/96eRyhvMfHBxE3hlDjQTDrLOoEvvRj37061//+mc/+xneE8vz/Pbt22a4axYFh/izz79wf7IsUyUGLDJEQAREQAREQAREQAREQAQaIVClEtvc3Dw6OnLvht2+ffu5557Lsuw/J1eWZVevXr19+3ae5ycnJ0dHR0W/M4YaCYZZJyqxDz/88P8UXB9++CFkZrhrFgV3vXhDzBmqxIIM5RQBERABERABERABERABEaiNQJVKbHd3dzwe53l+//59V4ZxJeaKsQcPHuR5Ph6Pd3d3g0mjRoJhZCixEg0z3DWLgmdZZsowvScWBCinCIiACIiACIiACIiACIhAnQSqVGJ7e3vHx8d5nr/55pvICe+JOc9bb72V5/nx8fHe3h40bKBGgsG9WZYlFmCQmeGuWRTc9eKjic7Qe2JBhnKKgAiIgAiIgAiIgAiIgAjURqBKJXb9+vWHDx/meX7t2jWX0Isvvnh/cr3wwgvO475r/uHDh9evXw8mjRoJhpGhxEo0zHDXLAruet3bYvhblViQoZwiIAIiIAIiIAIiIAIiIAK1EairEtva2nKfVES9NB6Pt7a26qrE3nvvvX+LXu+9956bOohmaiXGb4upEgsylFMEREAEREAEREAEREAERKA2AlUqMXw68datW/fu3cvz/O7du/80uT755JM8z+/du3fr1q1aPp24s7MTX/POzk6VSgy/MPbZ51+oEoujVq8IiIAIiIAIiIAIiIAIiEBVAlUqMXxjh/vSjhs3bly5csUldOXKlRs3bty/f99VR9W/sWNnZ+fll1/+BV0///nPn3zySay/YiWm98RAUoYIiIAIiIAIiIAIiIAIiEDjBKpUYvwt9nfu3Hn++ec53Z2dnTt37tT1LfY7Ozvud9Lw6cc8z59++mnMWLES03tiIClDBERABERABERABERABESgcQJVKrEsy/h/dn7w4MF4PH5lco3HY/f99Xme1/I/O+/s7PzmN7/5v3TdvHnz8uXLAKRKDChkiIAIiIAIiIAIiIAIiIAIdJ1AxUosy7LDw8ODgwP3/zvzG1bu3bCDg4PDw8MIBXyXBgwjdjGb+z0x/H9i7m2xr39P7NVXX3OpyMiyTBAEQbeD7gLdBboLdBfoLtBdoLtAd0GNd0H1Ssy9M3Z0dDQej4+Pjx9OruPj4/F4fHR0tL297bIt+hsFGAyjdJXYG2+8Qb8jFjDfeOMNpzTDXbMoeFCsb+wIYpFTBERABERABERABERABESgNgK1VGJZlm1ubu7u7u7t7V2fXHt7e7u7u5ubm1MTRY0Ewwz54IMPzFttkeaHH35ohrtmUfCgWJVYEIucIiACIiACIiACIiACIiACtRG4cnpFIpYqYyJxgl0IDiMoq+gsFVyVWEXaGi4CIiACIiACIiACIiACIjCFwGkh9tW3zwfVa2trw+Ew2FXRORwO19bWXJB2ZklJ+P8B2ul7Pttq3JIAAAAASUVORK5CYII=[/img]
5812浏览量 4回复量 关注量 -
[APM32F030R8][求助]关于USART使能后直接进入空闲中断
板子用的是APM32F030R8 MINI Board给USART配置空闲中断,USART使能后就会进入一次空闲中断。 代码如下: int main(void) { GPIO_Config_T gpioConfig; USART_Config_T usartConfigStruct; RCM_EnableAHBPeriphClock(MINI_COM1_RX_GPIO_CLK); RCM_EnableAPB2PeriphClock(MINI_COM1_CLK); // GPIO_ConfigPinAF(MINI_COM1_TX_GPIO_PORT, MINI_COM1_TX_SOURCE, MINI_COM1_TX_AF); GPIO_ConfigPinAF(MINI_COM1_RX_GPIO_PORT, MINI_COM1_RX_SOURCE, MINI_COM1_RX_AF); gpioConfig.mode = GPIO_MODE_AF; // gpioConfig.pin = MINI_COM1_TX_PIN; gpioConfig.speed = GPIO_SPEED_50MHz; gpioConfig.outtype = GPIO_OUT_TYPE_PP; gpioConfig.pupd = GPIO_PUPD_PU; // GPIO_Config(MINI_COM1_TX_GPIO_PORT, &gpioConfig); gpioConfig.pin = MINI_COM1_RX_PIN; GPIO_Config(MINI_COM1_RX_GPIO_PORT, &gpioConfig); usartConfigStruct.baudRate = 110; usartConfigStruct.mode = USART_MODE_RX; usartConfigStruct.hardwareFlowCtrl = USART_FLOW_CTRL_NONE; usartConfigStruct.parity = USART_PARITY_NONE; usartConfigStruct.stopBits = USART_STOP_BIT_1; usartConfigStruct.wordLength = USART_WORD_LEN_8B; USART_Config(MINI_COM1, &usartConfigStruct); NVIC_EnableIRQRequest(MINI_COM1_IRQn, 2); USART_Enable(MINI_COM1); // Delay(0xfff); Delay(0xfffffff); USART_EnableInterrupt(MINI_COM1, USART_INT_IDLEIE); while (1) { } } CSDN上找到一篇是说USART使能发送功能会发送一个空闲帧,解决方法是使能串口,延迟一会再使能空闲中断。但那篇文章中用的是STM32,而且是自收发。我用APM32禁用USART发送功能再使能后还是会进入空闲中断。原因应该不是CSDN那篇文章里的,但用延迟确实能解决,就是延迟的时间要设置的很大。 CSDN文章链接: https://blog.csdn.net/weixin_38106263/article/details/129234153?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171705336916800186593920%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=171705336916800186593920&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-1-129234153-null-null.142^v100^pc_search_result_base3&utm_term=%E7%A9%BA%E9%97%B2%E4%B8%AD%E6%96%AD%E5%A4%9A%E8%BF%9B%E5%85%A5%E4%B8%80%E6%AC%A1&spm=1018.2226.3001.4187 还有一个问题是不同程序,延迟时间要设的得不一样;同一个程序,波特率设置得不一样,延迟时间也要不一样。 写的串口+DMA缓存收发程序里的代码: void USART_Init(USART_ConfigType *usartType,USART_Config_T* usartConfig) { usartType->gpioInit(&(usartType->gpioType)); // 启用USART时钟 usartType->rcmEnableAPB(usartType->usartClock); // 配置USART USART_Config(usartType->usart, usartConfig); // 启用USART中断 NVIC_EnableIRQRequest(usartType->irqChannel, usartType->irqPriority); USART_EnableInterrupt(usartType->usart,USART_INT_ERRIE); USART_Enable(usartType->usart); // 延迟和清除状态标志 Delay(0xfffff); USART_ClearStatusFlag(usartType->usart, USART_INT_IDLEIE); USART_EnableInterrupt(usartType->usart, USART_INT_IDLEIE); if (usartType->enableDMA){ DMA_Init(usartType); USART_EnableDMA(usartType->usart, USART_DMA_REQUEST_RX); USART_EnableDMA(usartType->usart, USART_DMA_REQUEST_TX); } } 同样是115200的波特率,这里delay(0xfff)就行了,而同样程序,波特率改为1200后,这里的延时又要改为delay(0xfffff) 我想知道串口使能后进入空闲中断的原因,还有有没有除了延时外其他的方法解决这个问题。
2792浏览量 12回复量 关注量 -
stm32f107的程序可以直接烧入at32f407吗?
[color=#444444][backcolor=rgb(242, 249, 253)][font=Tahoma, "][size=16px]有个stm32f107的产品 ,不想重新开发,想直接替换芯片和程序可以吗?[/size][/font][/backcolor][/color]
16617浏览量 10回复量 关注量 -
关闭Capsense中断有没有要求
由于产品功能要求,需要执行某个任务时关闭一下Capsene中断,我这边直接调用了Capsense_ISR_Disable()函数,是否需要判断按键扫描完成才能调用该函数,如果直接调用Capsense_ISR_Disable()函数,是否合规或者有什么风险;请给个合理的操作,谢谢。
1901浏览量 19回复量 关注量 -
求助各位大佬——JFET的一种奇怪接法
本人硬件小白一枚,今天看到一个电路,其中用到了JFET,但是它的接法没有在书上看过,百思不得其解,请各位大佬不吝赐教。简单地说就是它将一对JFET的漏(D)和源(S)直接接在一起了,请问这样能起到什么样的作用呢?
8040浏览量 7回复量 关注量 -
GD可以直接用ST32的代码不?
[i=s] 本帖最后由 tyw 于 2022-9-12 10:40 编辑 [/i] 自己编写的代码,但是主控芯片将用的是GD32来进行代替了 ,可以直接这么用吗? [attach]1979928[/attach] [attach]1979930[/attach] [attach]1979932[/attach] [size=2][color=#ffffff][backcolor=purple] tyw 注[/backcolor][/color][/size]
1585浏览量 4回复量 关注量 -
HC32F072将数据直接输出到DAC的问题
各位大侠有没有HC32F072直接将数据送到DAC输出口的例程?Example里有正弦波及三角波的输出,但没有直接输出DAC的例程。我简单改了下程序想直接输出,结果发现输出幅度混乱,且不能关闭DMA,否则输出不变。恳请大侠们指点。谢谢!
1397浏览量 1回复量 关注量