This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What difference I/O Loopback and I/O Checking In GIO Mode ?

I am reading "Safety Manual for TMS570LS31x and TMS570LS21 x Hercules ARMR-Based Safety Critical Microcontrollers (Literature Number: SPNU511D)".

What difference between "7.123 Software Test of Function Using I/O Loopback" and "7.124 Software Test of Function Using I/O Checking In GIO Mode" ?

And, what is GIO mode ?Is it possible to do in this mode?

  • Hi Arrly,

    The Software test function using I/O loopback is more a diagnostic for a module in its 'functional' mode but with their I/O loopback. For example, you can put the communication modules such as UART or SPI in their functional mode but also enable the loopback mode. You can then receive the data that was transmitted by the same module as a selftest. With this test you will exercise the logic that is responsible for communication transmission and reception, i.e. the shift register, transmit buffer, receive buffer, state machine, interrupt generation and etc.

    The Software Test of Function Using I/O Checking In GIO Mode is more a diagnostic for a module in its GIO mode. Let's pick the SPI again. The SPI has SOMI, SIMO, and SPICLK pins. These pins can also be configured for GIO module. These pins have both an output and input buffer. When you write some data out via the Data Output Register the same data will be received in its Data Input Register since the input of the input buffer is connected to the output of the output buffer.
  • Hi Charles,

    I understand, "Software Test of Function Using I/O Loopback" is multiple module has I/O loopback circuit test.
    And "Software Test of Function Using I/O Checking In GIO Mode" is multiple module has GIO mode test. Right?

    Additional questions,what is GIO mode ?
  • Many of the modules can operate in their functional mode or GIO mode. When in GIO mode it means you can use their functional pins in General Purpose Input/Output. You can simply control these I/O pins by writing/reading these pins directly. Let's use SPI as an example. Please see below. You can configure the SOMI pins and SIMO pins in either GIO mode or SPI functional pin. When in functional modes these pins operate per the SPI protocol. When in GIO mode there are Data Output and Data Input registers where you can write directly to control the I/O states. 

  • Hello Arriy,
    Is your question answered? If your question is answered can you please click the 'Verify Answer' button to close the thread? Thanks.