Non-volatile memory Configuration Main configuration USB options
March 25, 2024 at 8:46 AMUSB options
Address : 02C1
(bank 2, register C1
)
Size : 1 byte
Default : 10
for SpringPark, 10
for Puck, 10
for SpringPark_base, 80
for SpringPark_head, 00
for all other devices.
Description
Control various options related to the USB interface.
Remark
If the product has no USB interface, this register is ignored.
Content
Bit | Role | Values |
---|---|---|
7 | Disable USB | 0 : USB is enabled1 : USB is disabled, all the other settings are ignored |
6 | Disable serial number | 0 : The actual serial number of the product is provided in the USB descriptor1 : A constant serial number is provided in the USB descriptor |
5 | On USB bus reset event, does the product fully reset? | 0 : Don’t reset1 : Do reset upon Bus reset |
4 | On USB bus resume event, does the product fully reset? | 0 : Don’t reset1 : Do reset upon Bus resume |
3 | Disable SpringCore direct as secondary USB interface. | 0 : SpringCore Direct is announced in the USB profile1 : SpringCore Direct is not announced in the USB profile |
2 | Behaviour of the product when USB VBUS is lost and the product is not allowed to keep running | 0 : Reset1 : Shutdown |
1-0 | Behaviour of the product when USB VBUS is lost | 0 : Stop - reset or shutdown1 : Keep running on external power2 : Keep running on battery3 : Keep running (either on external power or battery) |
Remarks
Bit 5: On USB bus reset event, does the product fully reset?
Standard behaviour is no, but this does help putting back a battery-powered or externaly-powered product that was connected through Bluetooth or Network to the ‘ready for USB operation’ state
Bit 4: On USB bus resume event, does the product fully reset?
Standard behaviour is no, but this does help putting back a battery-powered or externaly-powered product that was connected through Bluetooth or Network to the ‘ready for USB operation’ state
Bit 3: Disable SpringCore direct as secondary USB interface.
If Primary profile is set to 0
(SpringCore Direct only), this setting is ignored.