aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/libboard/common/include/board_lowlevel.h
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2018-08-06 17:57:20 +0200
committerKévin Redon <kredon@sysmocom.de>2018-08-07 12:09:49 +0200
commitff3d84922df22dc4cfaa373c48b3b00ad9f672b0 (patch)
treeee471aefd5be3cf396cadba0aebc1ab117871ace /firmware/libboard/common/include/board_lowlevel.h
parent9547e419eb1df6e75db4af7b9f3ea4061f4d3e1e (diff)
USB: increase USB reset time
USB reset can be signaled by pulling low USB D+ for at least 10 ms, according to the USB specification. This force a re-enumeration. This time is increased to 20 ms to work with more USB HUBs. Some SAM3S based board have external D+ pull-up mechanism (such as SIMtrace) which needs to be used to pull D+ low. This is a legacy mechanism from SAM7S history. This mechanism is not required anymore on the SAM3S, and the qmod does not use it. When the USB HAL is suspended, the transceiver is disabled, causing D+ and D- to be pulled low. Then the HAL is activated again. This is particularly required when DFU is started (and enumerated), and after flashing the SAM3S switched to the main application (without reset), so it can properly re-enumerate. This board difference is now defined on the board header. Change-Id: I9b58d8101c2fcf5595026b675728826af26127a3
Diffstat (limited to 'firmware/libboard/common/include/board_lowlevel.h')
0 files changed, 0 insertions, 0 deletions