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.

TMS570LC4357: Scope and implementation of diagnostic GIO1A/B

Part Number: TMS570LC4357

Hi experts,

The Safety Manual mentiones Diagnostic GIOA1Software Test of Function Using I/O Checking In GIO Mode, which suggests testing the GIO with an analog loopbakc mode.
I am not clear about the scope of this test.

(Q1) Is this only for GIO Module oder for every Pin that is used as a GIO mode?

For the GIO of the GIO Module the data in and data out registers can be read back. both registers need to have the same value.

(Q2) So at boot and periodically we should check, that the registers of every Pin match correct?

(Q3) Is there a way to achieve a similiar thing for other modules used as GIO (e.g. N2HET)?

(Q4) If we wanted to check the data in and data out register directly after toggeling a Pin, can for example a capacitor lead to data in and data out register not matching because of the delay added by the capacitor?

Thank you and best regards,
Max Wittekind

  • (Q1) Is this only for GIO Module oder for every Pin that is used as a 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. 

    (Q2) So at boot and periodically we should check, that the registers of every Pin match correct?

    Yes, at least at boot time.

    (Q3) Is there a way to achieve a similiar thing for other modules used as GIO (e.g. N2HET)?

    Yes, same as GIO module. 

    (Q4) If we wanted to check the data in and data out register directly after toggeling a Pin, can for example a capacitor lead to data in and data out register not matching because of the delay added by the capacitor?

    The data is internally looped back.