Hello Alan,
In addition to the ID pin, there is another pin, VBUS, which is optional.
In the case of the VBUS pin, it is set on the board.
Similar procedures must be done.
Best regards,
Flavio
Em dom., 21 de mar. de 2021 às 09:35, Alan Carvalho de Assis
escreveu:
>
> Hi Flávio,
>
> I agree,
Hi Flávio,
I agree, this pin is optional and only will be active when OTG is really used.
Maybe a solution should be verifying if the USB Host support is
enabled, since the pin is not required when using as USB Device:
#ifdef CONFIG_USBHOST
stm32_configgpio(GPIO_OTGFS_ID);/* Only needed fo
Hello Allan,
I found the solution.
The PA10 pin has been initialized as a GPIO in USB OTG driver. More
specifically, in file stm32_otgfsdev.c file, line 5602.
I commented this line and everything worked.
This is a solution for me, but it is a problem for the project,
because it is better that t
Hello Allan,
I believe that rx pin from usart1 (PA10) is not yet operational.
I could not find in code why.
Best regards,
Flavio
Em sáb, 20 de mar de 2021 14:18, Alan Carvalho de Assis
escreveu:
> On 3/20/21, Flavio Castro Alves Filho wrote:
> > Updating:
> >
> > * with the great help fro
On 3/20/21, Flavio Castro Alves Filho wrote:
> Updating:
>
> * with the great help from Allan, I could verify that that using usart2 it
> works fine
> - stm32f4discovery uses usart2 as console
> - my board, similar to stm32f4discovery, uses usart1 as console
>
> * there is a conflict between t
Updating:
* with the great help from Allan, I could verify that that using usart2 it
works fine
- stm32f4discovery uses usart2 as console
- my board, similar to stm32f4discovery, uses usart1 as console
* there is a conflict between the usart1 pins and usb device for
stm32f4discovery configura
Hello,
I am trying to enable USB CDC support with base NSH Serial in a
STM32F4 Discovery board.
When I build using usbnsh configuration, it works.
When I build using nsh configuration (in my case, replacing USART2 to
USART1), it works.
Now, when I try to add USB CDC support in nsh configuration,