Search found 8 matches

by Altee
Fri Feb 08, 2019 10:30 am
Forum: STM32 Support
Topic: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved
Replies: 6
Views: 4513

Re: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved

Hi Giovanni, I finally found the reason for interrupts not being generated by the USB OTG_FS core on STM32L4 : it was linked to a bit called "VDDUSB USB supply valid" (USV) in "Power control register 2" (PWR_CR2). After setting this bit to one, I get the interrupts as on the boar...
by Altee
Sat Jan 12, 2019 8:57 pm
Forum: STM32 Support
Topic: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved
Replies: 6
Views: 4513

Re: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved

Hi Giovanni, I tried to simply migrate the project which is working for Discovery-STM32F4 board to Nucleo144-STM32L496ZG board. For that, I found the chconf.h, halconf.h and mcuconf.h files into the ".\demos\STM32\RT-STM32L496ZG-NUCLEO144" folder and board.h files into the ".\os\hal\b...
by Altee
Fri Jan 11, 2019 11:01 am
Forum: STM32 Support
Topic: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved
Replies: 6
Views: 4513

Re: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved

Hi Giovanni, Thank you for making me recheck the board.h for the Discovery STM32F4259I-DISC1 board... In fact, pins used by OTG_FS are already used by other peripherals on that board (USART1 and LTDC). So OTG_FS cannot be used, but OTG_HS can ! Then I reconfigured the USBHv1 driver to use OTG_HS and...
by Altee
Thu Jan 10, 2019 6:01 pm
Forum: STM32 Support
Topic: No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved
Replies: 6
Views: 4513

No interrupt generated on USB device connection while USB OTG_FS core is running as USB host only Topic is solved

Hi, I am testing the USBHv1 driver which, as I understood, is setting the USB OTG_FS core to run as USB host only. Unfortunately, no interrupt is generated when I plug a USB device into the user USB port on the following two ST boards: Discovery STM32F4259I-DISC1 (MCU STM32F429ZITx) and Nucleo-144 S...
by Altee
Thu Jan 10, 2019 9:15 am
Forum: STM32 Support
Topic: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2
Replies: 5
Views: 2528

Re: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2

Hi, For the one interested, a workaround for this issue consists to disable the device called "MBED microcontroller USB device" in Windows 10's device manager. This device appears as a removeable disk drive and Windows was doing something with it, causing the reset of the Nucleo board... I...
by Altee
Tue Oct 30, 2018 4:51 pm
Forum: STM32 Support
Topic: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2
Replies: 5
Views: 2528

Re: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2

Hi Giovanni, Yesterday evening, I tested the blinker program on another board: a Nucleo-64 STM32L476RG. I got the same unexpected reset. Nervertheless, I observed that when the reset occured, the LD1 (COM) led was flashing for a short period of time and that without having OpenOCD connected to the b...
by Altee
Mon Oct 29, 2018 4:42 pm
Forum: STM32 Support
Topic: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2
Replies: 5
Views: 2528

Re: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2

The time period before reset is random. I even seen resets occuring several times in a row at program boot. About debugging, here is what I wanted to tell you (a few weeks ago) with a first port attempt of the blinker program : I putting a break point at the call of halInit() function at the beginni...
by Altee
Mon Oct 29, 2018 2:20 pm
Forum: STM32 Support
Topic: Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2
Replies: 5
Views: 2528

Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2

Hello, I tried to run the blinker program on a Nucleo-144 STM32L496ZG board with ChibiOS 18.2. So I based my project on RT-STM32L476RG-NUCLEO64 project found in the "demos" folder, after installing ChibiStudio_Preview20.7z on a Windows 10 64 bits computer. Unfortunately the blinker program...

Go to advanced search