Changes between Version 8 and Version 9 of 802.11/Usage/UserIO


Ignore:
Timestamp:
Aug 18, 2016, 11:51:57 AM (8 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/Usage/UserIO

    v8 v9  
    4646'''Important Update:''' As of v1.5.3 both CPUs can access the software-controlled debug I/O via the single w3_userio core. The state of a debug output is stored in the w3_userio core. Either CPU can set or unset each software-controlled output at any time. This is a changed from previous releases where the software-controlled outputs were driven by an OR of values written by each CPU.
    4747
     48By default the 802.11 Reference Design configures:
     49 * Pins '''15, 14, 13, 12''': software-controlled outputs, used for real-time debug and characterization of C code in CPU High or Low
     50 * Pins '''11 to 0''': hardware-controlled outputs, tied to various MAC and PHY status signals (see below)
     51
    4852The MAC framework provides [browser:/ReferenceDesigns/w3_802.11/c/wlan_mac_common/include/wlan_mac_userio_util.h?rev=5591#L29 helper macros in wlan_mac_userio_util.h] for accessing the debug header configuration and pin states. These macros can be used anywhere in the C code in CPU High and Low. For example, to use pin 15 as a software-controlled output to benchmark execution time of a code block:
    4953
     
    5559wlan_mac_clear_dbg_hdr_out(0x00000000); //clear p15
    5660}}}
    57 
    58 By default the 802.11 Reference Design configures:
    59  * Pins '''15, 14, 13, 12''': software-controlled outputs, used for real-time debug and characterization of C code in CPU High or Low
    60  * Pins '''11 to 0''': hardware-controlled outputs, tied to various MAC and PHY status signals (see below)
    6161
    6262The 802.11 Reference Design hardware project routes 16 MAC/PHY status signals to the w3_userio debug port. By default (see above) only 12 of these hardware status signals are routed to the debug header, reserving the top 4 pins for software-controlled I/O. The table below lists all 16 status signals. To access the status signals on pins '''15, 14, 13, 12'''  the corresponding pins must be re-configured as hardware-controlled outputs in the C code.