在 cubeMX 中,Il 给 PI1 一个用户名“led1_rouge”。当我去 Keil microvision 时,intellisense 给了我两个名字:led1_rouge_pinled1rouge_gpio_port它们之间有什么区别?
2023-01-12 07:21
我正在使用 Keil microvision 在 RT1062 上开发应用程序。 应用程序代码和数据在 DRAM 中。我使用secure provisioning tool生成了一个可以刷入的bin
2023-04-28 07:02
[39.113825]硬件名称:NXP i.MX8MPlus MicroVision EVK板(DT)[39.120178] pstate: 80000085 (Nzcv daIf -PAN -UAO
2023-03-20 06:05
TIM1 更新事件中,只有一个 TIM1_CCRx 寄存器正在使用缓冲区中的新值进行更新。这就是工作的方式吗?如果不是,哪里会出问题?IDE:arm Keil microVision5驱动程序
2023-02-08 07:43
问候!我在使用来自Nanotec的DB87L01-S BLDC电机时遇到STEVAL-SPIN3201板的问题。 我将电路板连接到三相,内部霍尔传感器,外部DC和PC,并使用SW4STM32 IDE使用FOC SDK 4.3闪烁SPIN3270。使用ST Motor Workbench插入电机参数(极对,电阻,电感等)。构建和刷新演示项目没有问题;但是,电机在运行代码后无意运行。通过单步执行代码,我发现在按下电路板上的“START_STOP”按钮后几乎立即设置了“MC_FOC_DURATION”错误代码。头文件用简短的解释'FOC rate too high'列出了这个错误,所以我选择了最低的PWM速率和执行速率(4500Hz),仍然有相同的结果。进一步调试代码以找到这个错误的起源导致没有令人满意的结论(显然在PWM定时器寄存器'TIM1-> SR'中有一点没有正确重置?),所以我刚想出来的想法这可能是什么问题。有没有人有什么建议可以查看或者哪些参数可能还需要进一步调整?在这里您还可以看到二手电机的简短数据表:https://community.st.com/external-link.jspa?url=https%3A%2F%2Fde.nanotec.com%2Ffileadmin%2Ffiles%2FDatenblaetter%2FBLDC%2FDB87%2FDB87L01-S_neu.pdf 提前谢谢了! -M #foc-sdk-4.3#steval-spin3201 #mc_foc_duration以上来自于谷歌翻译以下为原文 Greetings!I am having trouble with the STEVAL-SPIN3201 board in combination with a DB87L01-S BLDC motor from Nanotec. I connected the board to the three phases, the internal hall sensors, to the external DC and to the PC and flashed the SPIN3270 with the FOC SDK 4.3 using the SW4STM32 IDE. The parameters of the motor (pole pairs, resistance, inductivity etc.) were inserted using the ST Motor Workbench. Building and flashing the demo project was no problem; however, the motor makes no intention to run after running the code. By stepping through the code I figured out that 'MC_FOC_DURATION' error code is set almost immediately after pushing the 'START_STOP' button on the board. The header file lists this error with the short explanation 'FOC rate too high', so I choose the lowest PWM rate possible in combination with the execution rate (4500Hz), still with the same result. Debugging the code further to find the origin of this error led to no satisfying conclusion (apparently something about a bit in the PWM timer register 'TIM1->SR' that has not been reseted correctly?), so I am freshly out of ideas what the problem could be here. Does anyone have any suggestions where to look or what parameters may also need further adjustments? Here you can also see the short datasheet of the used motor: https://community.st.com/external-link.jspa?url=https%3A%2F%2Fde.nanotec.com%2Ffileadmin%2Ffiles%2FDatenblaetter%2FBLDC%2FDB87%2FDB87L01-S_neu.pdf Many thanks in advance! -M #foc-sdk-4.3 #steval-spin3201 #mc_foc_duration
2019-01-14 06:32
问题:将两个七段 LED 显示器连接到 STM32F4 MCU 的端口 C,当按下开关 SW1 (PB0) 时,必须递增并显示从 00 开始的两位数字的滚动,最大为 99。并且必须在用户按下 SW2(PB1) 时递减。我们面临的问题是发生了递增和递减,但是在递减到 0 之后递增没有发生下面提到了面临的其他问题 1)即使两个开关都关闭到最上面提到的条件 IF 循环,系统仍在运行让它递增或递减我们要满足的条件是 1)两者都不应该做2)两者都关闭什么都不应该做3)异或操作它应该做递增/递减(一关一开组合)4)在递增 99 之后它应该停止而不是去 05)递减0后它应该停止下面提到了我们正在测试的 proteus 设计 //program starts from here#includeunsigned char Digit[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7c,0x07,0x7f,0x6f};void MSdelay(unsigned int );void MSdelay(unsigned int times){ unsigned int i=0,j=0; for(j=0;jMODER&=~(0XF);//clearing and setting port B as inputGPIOC->MODER&=~(0X0FFFFFFF);//resetting port C MODER registerGPIOC->MODER|=(0X05555555);//Setting all PC0-PC13 as outputs of port CGPIOB->PUPDR&=~(0XF);//clearing pull-up/pull-down configuration of switch BGPIOB->PUPDR|=(0X05);//setting them as pull up while(1){if(GPIOB->IDR&=0x3){ GPIOC->ODR=(Digit[0]ODR=(Digit[count1/10]ODR=(Digit[count1/10]ODR=(Digit[count1/10]
2022-12-02 07:13
你好。。我购买了2个新的CY8C01B套件。与旧版本不同的是,它不支持KEIL的试用期30天,在Internet上可以获得许可证,并且当从因特网上获得许可时,它显示了添加错误(无效许可)的错误。我的同事也面临这个问题……该怎么办?? 以上来自于百度翻译 以下为原文hi.. i purchased 2 new cy8c001b kits. unlike older one, it does not support 30 initial days of trial license of keil within which license can be obtained fron internet.As well as when license is obtained from internet, it shows error in adding(invalid license).my colleague also facing this problem ...what to do??
2019-06-13 07:13