hi. i wrote a code for ADC1 , and i could get value from ADC1_channel_1 (IN1) but i cant get value of Channel_2 and show both of two value on LCD in same time. I dont know which function can I use to get both value . in this code i have just Channel_1 value . i use IAR and stm32f103RE. (i know the code is long , but i sholud put it for you ,…(Show moreShow less)
I am working on a USB UVC implementation on an STM32F7. I am having major problems getting reliable ISOC transactions out of the processor and I believe it has something to do with the Incomplete IN conditions and interrupts and perhaps the even/odd toggling of the PID's. My basic question is, what's the proper way to handle the Incomplete ISOC…(Show moreShow less)
Checking the OTG_DTXFSTSx does not work. My 2 isoc pipes step on each other quite quickly checking the EPENA and FIFO level. I see no way around this other than a 'packet scheduler' module in my application. A lot of extra processing for something seemingly this basic of operation.
Ok, I having more than a bad week regarding ST products. I hit very new problem with Nucleo-H743ZI. Generated projects, example projects hang when flashing code to MCU. with STLink utility, i can program it with hex file, but for some reason, IAR ARM does not want to flash it. It gives error after freezing loading code like this: Mon Dec…(Show moreShow less)
Hi Everyone. I recently updated my SW4STM32 IDE when prompted to do so from a pop up, and I'm now seeing its taking forever to compile a project. For example I cleaned one of my STM32F0 Adafruit LCD shield demo programs and then rebuilt it with the following stats finally displayed via the console view. 06:07:06 Build Finished (took…(Show moreShow less)
I am having the same issue with STM32CubeMX 4.23.0 that I had with the previous version. Having upgraded to Ubuntu 17.10 I can't select the ok button to set my Project settings in CubeMX. Any ideas on how I can select the ok button, key combinations etc ? I have tried resolution changes different ways to scroll but nothing works. Could the…(Show moreShow less)
<CTRL> + Mousewheel to Zoom in or out Doesn't do anything in the project settings dialog and zooming in the project window has no effect on the project settings dialog. >Have you used the Zoom feature (available from the toolbar) ? Isn't available in the Project settings dialog. Thanks for trying any other ideas welcome. Regards,…
RM0038 Reference manual states on page 188 that GPIOx_BRR register is available for Cat. 3 product - which includes both stm32l100rc and stm32l152rc (page 40 of Reference manual). But code below works when used BSRR and does not when used BRR register on stm32l152rc (similarly for stm32l100rc when port changed to GPIOC and pins to 8 and 9). …(Show moreShow less)
Hello upratat hlavu , You are right about this confusion. The request is raised internally to correct the reference manual and update the chapter: "7.4.11 GPIO bit reset register (GPIOx_BRR) (x = A..H)" to remove "Cat.3" from description. So final sentence should be: These registers are available on Cat.4, Cat.5 and Cat.6 products only. Our…
Hello, I`m using the CubeMX 4.23 and want to use the HAL USB Driver. In the usbh:conf.h is the code: /* Memory management macros */ #define USBH_malloc malloc #define USBH_free free #define USBH_memset memset #define USBH_memcpy memcpy But i want to use the FreeRTOS functions for malloc and free. So i changed the code to: /* Memory…(Show moreShow less)
Evidently... Can't you find a USER section where you can add a #undef/#define type construct? How many times are you iterating through CubeMX? Can you sandbox the working code? Can you merge back in your changes?
Recently I found that STM32CubeMX support Makefile as well as SW4STM32. So far I worked with only the SW4STM32, but now I'm happy to move to the command line development with GCC, GNU make , stlink, and GDB. After spending time fixing minor bugs I could compile a blinky code and flashed my STM32L476 without problem. The blinky program is working…(Show moreShow less)
Is there a command which displays the register values in binary format? Use /t modifier instead of /x in p (print) command. The result is IMO less readable than hexadecimal. Compare (gdb) p /t TIM3->CCMR1 $39 = 1111000111110001 (gdb) p /x TIM3->CCMR1 $40 = 0xf1f1 Would it be bad that one uses the -g3 option to compile a release…