2017-10-06 01:56 AM
I can't find any indication in DS/RM, what OTG_FS_NOE pin might be good for.
Please, explain.
Jan Waclawek
Solved! Go to Solution.
2017-11-09 07:59 AM
Hi Jan,
Khouloud.
2017-10-27 08:51 AM
Hello Jan,
OTG_FS_NOE = USB FS OTG Output Enable (active low).
This point is highlighted internally and the explanation above will be added to our documentation.
Khouloud.
2017-10-27 12:06 PM
OK so I guess this is the output to control the 5V power switch/charge pump/step-up, to provide 5V VBUS for the attached device in Host mode (or if set to be OTG A-device).Correct?
So how exactly does it work? What exactly controls its state?
IMO, answers to all these questions ought to be added to RM, and Figs.494..496 updated acordingly.
-----
Is this feature available also on other STM32, e.g. the STM32F446, which has a newer version of the OTG core?
----
I looked also into Cube whether I can find usage cases: in the 'L476 EVAL, the VBUS switch is controlled by a different pin (i.e. has truly be GPIO); 'L496 Disco has this switch controlled by the slave mcu; and for the 'L476 DISCO, where it's controlled by PC9 which is also said to be OTG_FS_NOE, there's no host nor OTG example in Cube...
JW
2017-11-07 10:12 AM
Hi Jan,
OK so I guess this is the output to control the 5V power switch/charge pump/step-up, to provide 5V VBUS for the attached device in Host mode (or if set to be OTG A-device).Correct?
-> In fact, it's the USB FS OTG
D+/D- data line
Output Enable. So this is nothing to do with enabling VBUS (which is rather treated as an input on the STM32 MCU: section “Host port power' in the reference manuals explains that we do not handle the generation of VBUS).Is this feature available also on other STM32, e.g. the STM32F446, which has a newer version of the OTG core?
-> This feature is available on STM32L4 devices.
Khouloud.
2017-11-07 10:32 AM
Khouloud,
Thanks. I still don't quite understand the usage:
-> In fact, it's the USB FS OTG
D+/D- data line
Output Enable.So, if OTG_FS_DP/DM are correctly set in GPIO and I don't select the respective AF for any of the OTG_FS_NOE pins, DP/DM remains always enabled; and if I select the respective AF for one of the OTG_FS_NOE, then DP/DM are enabled only when that pin is low, correct? And if it is high, DP/DM goes Hi-Z, including all the OTG_FS-related pullups/pulldowns, correct?
Looking forward to the new DS+RM appearing soon, and explaining this in detail ;)
Jan
2017-11-09 07:59 AM
Hi Jan,
Khouloud.
2017-11-09 08:02 AM
Thanks for the details, Khouloud.
Jan
2017-11-09 08:05 AM
You're always welcomed!
Khouloud.
2019-01-24 03:19 AM
The output enable control signal of the analog transceiver (active low) is provided externally
on USB_NOE. It can be used to drive some activity LED or to provide information about
the actual communication direction to some other circuitry.