Difference between revisions of "83Plus:Ports:4C"

From WikiTI
Jump to: navigation, search
(Created page with '4C - USB Controller Status USB Controller Status {{84P-Only Port|0C}} == Synopsis == '''Port Number:''' 4Ch…')
 
(More information)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:83Plus:Ports:By Address|4C - USB Controller Status]] [[Category:83Plus:Ports:By Name|USB Controller Status]]
 
[[Category:83Plus:Ports:By Address|4C - USB Controller Status]] [[Category:83Plus:Ports:By Name|USB Controller Status]]
{{84P-Only Port|0C}}
+
{{84P-Only Port|04}}
 
== Synopsis ==
 
== Synopsis ==
 
'''Port Number:''' 4Ch
 
'''Port Number:''' 4Ch
Line 9: Line 9:
  
 
=== Read Values ===
 
=== Read Values ===
* Bit 0: Always 0
+
* Bit 0: Should be set if USB bus is in suspended state?
* Bit 1: Always 1
+
* Bit 1: Reset when a USB reset signal comes from the host
* Bit 2: Always 0
+
* Bit 2: Probably chirps at the start of each USB frame.
* Bit 3: This bit is only significant if 2, [[83Plus:Ports:54|port 54]] is set. If set, the 80-AF ports are active. Causes a 0.19 mA increase in draw.
+
* Bit 3: Something to do with OTG and reset. This bit is only significant if 2, [[83Plus:Ports:54|port 54]] is set. If set, the 80-AF ports are active. Causes a 0.19 mA increase in draw.
 
* Bit 4: Reflection of 2, [[83Plus:Ports:54|port 54]].
 
* Bit 4: Reflection of 2, [[83Plus:Ports:54|port 54]].
 
* Bit 5: Inverse of 6, [[83Plus:Ports:54|port 54]].
 
* Bit 5: Inverse of 6, [[83Plus:Ports:54|port 54]].
 
* Bit 6: Reflection of 7, [[83Plus:Ports:54|port 54]].
 
* Bit 6: Reflection of 7, [[83Plus:Ports:54|port 54]].
* Bit 7: Always 0
+
* Bit 7: No function
  
 
=== Write Values ===
 
=== Write Values ===
* Bits 0-2: No effect
+
* Bits 0-2: Read-only
* Bit 3: If 2, [[83Plus:Ports:54|port 54]] is also set. This enables the 80-AF ports. Causes a 0.19 mA increase in draw.
+
* Bit 3: Something to do with OTG and reset. If 2, [[83Plus:Ports:54|port 54]] is also set. This enables the 80-AF ports. Causes a 0.19 mA increase in draw.
* Bit 4-7: Not used
+
* Bits 4-6: Read-only
 +
* Bit 7: No function
  
 
== Comments ==
 
== Comments ==
 
USB initialization should only be attempted if this port reads 5Ah or 1Ah. In reality though, 1Ah is only used if 3, port 3A is set, so 5Ah is the value you are looking for.
 
USB initialization should only be attempted if this port reads 5Ah or 1Ah. In reality though, 1Ah is only used if 3, port 3A is set, so 5Ah is the value you are looking for.

Latest revision as of 16:58, 3 March 2020

This port only exists on the the TI-84 Plus and the TI-84 Plus Silver Edition. On the standard TI-83 Plus, it acts as a shadow of port 04. On the TI-83 Plus Silver Edition, this port has no effect.

Synopsis

Port Number: 4Ch

Function: USB Controller Status

This port seems to be a status port for the USB controller. It is closely tied with port 54. If the USB controller is not powered, this port will always read either 22h or 2Ah depending on what was last written to bit 3.

Read Values

  • Bit 0: Should be set if USB bus is in suspended state?
  • Bit 1: Reset when a USB reset signal comes from the host
  • Bit 2: Probably chirps at the start of each USB frame.
  • Bit 3: Something to do with OTG and reset. This bit is only significant if 2, port 54 is set. If set, the 80-AF ports are active. Causes a 0.19 mA increase in draw.
  • Bit 4: Reflection of 2, port 54.
  • Bit 5: Inverse of 6, port 54.
  • Bit 6: Reflection of 7, port 54.
  • Bit 7: No function

Write Values

  • Bits 0-2: Read-only
  • Bit 3: Something to do with OTG and reset. If 2, port 54 is also set. This enables the 80-AF ports. Causes a 0.19 mA increase in draw.
  • Bits 4-6: Read-only
  • Bit 7: No function

Comments

USB initialization should only be attempted if this port reads 5Ah or 1Ah. In reality though, 1Ah is only used if 3, port 3A is set, so 5Ah is the value you are looking for.