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.

AM263P4-Q1: Safety error pin

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: AM263P4

Tool/software:

I have a question on the SAFETY_ERRORn pin (pin D4)  on the AM263P4 device.  The AM263P4 data sheet says it comes from the ESM ( Error Signaling Module)  and can be programmed to output a pulse width or an active low signal  when an error is detected  as shown in Section 6.11.3.3  Safety Signal Timing.   But  in Table 5.1,  Pin Attributes,  the SAFETY_ERRORn pin is listed as an IO  ( Input and output) and has a LVCMOS driver. It seems like this  would be an output only BUT then  in the AM263  Technical Reference Manual,  Figure 6.18,  AM263x Reset Architecture, (see below)   it shows the SAFETY_ERRORn  signal with an output buffer to drive the signal  (as an output)  and also an input buffer to receive the signal.   So do we  configure (program )  this pin to be an Output OR an Input?   If not,  how does it function as both an output and an input?  

 Also in the Data Sheet,  Section 5.4,  Pin Connectivity Requirements,  for the SAFETY_ERRORn pin,  it says to connect it to a resister to ground (pull down resister)  to make ensure it is held low if a PCB trace is connected to it and it is not actively driven by an attached ( I assume external to the AM263P4 processor)  device.    Why  would it need a pull down resister if the signal is actively driven as an output of the AM263P4?  Does the signal need a pull down resister to make sure the input buffer reads it as a logic low?  

Any info on the SAFETY_ERRORn signal would be appreciated.  

       

  • Hi Whitney,

    Apologies for the late response here.

    So do we  configure (program )  this pin to be an Output OR an Input?   If not,  how does it function as both an output and an input?  

    SAFETY_ERRORn pin would only act as output pin, whose output is driven by an ESM. There's no additional configuration needed to configure this pin as output. As mentioned in the section "ESM Error Pin Output" in TRM (AM263Px Sitara Microcontrollers Technical Reference Manual (Rev. C), following is the reason why an Input buffer is present: "The I/O input from the cell should be looped back to the err_i input. In this way, the status of the error I/O can be directly observed from the I/O buffer loopback path (using the register "ESM_PIN_STS Register"), instead of just from the internal state to the ESM."

    Why  would it need a pull down resister if the signal is actively driven as an output of the AM263P4?  Does the signal need a pull down resister to make sure the input buffer reads it as a logic low? 

    The SAFETY_ERRORn signal is implemented on an LVCMOS voltage buffer pin and can be configured to operate as open-drain output. This has been done by configuring the ESM module to source a constant low output and toggle the output enable. The output buffer drives low when enabled and is high impedance when disabled. I've filed an internal bug to add this to the AM263P datasheet. 

    Please also refer to the AM263P CC or EVM schematics to see the implementation.

    Regards,

    Sahana

  • You have stated that the SAFETY_ERRORn pin would only act  as an output pin, whose output is driven by an  ESM.   But the data sheet  indicates it is an IO  (Input and an Output).  From the AM263P data sheet.  Table 5 - 107,  system Signal Descriptions:      

    SAFTETY ERRORn IO ESM Safety Error signal  D4 

    The "IO" indicates Input and an output.    So when you say it is only an output,  I am confused.   Is the data sheet wrong? 

    Also,  in the Data sheet,  Table 5.4  ,  Pin Connectivity Requirements,  it says  :    

    This  raises a few questions.   It says that  this pin must be connected to ground through a  pull down resister if  a Printed wiring board signal trace is connected to it and it is not actively driven by an attached ( I assume external to the AM263P processor)  device.  But if we put a pull down resister and it is configured to be open drain output as you mentioned above,  it would never go high.  You would need a pull UP resister to 3.3Volts to have it go high.    Can the output be configured (programmed)  to be open drain OR an active driver?  

    Also if it is an output only,  why would we be driving it with an active device?  

    I did  look in the Technical Reference Manual,  13.6.3.4.3,  ESM Error Pin Output,   and it had some info,  especially this paragraph. 

    It says that during Power on reset,  the error pin is asserted low by the SoC which drives it with a weak pull down resister AND that the customer may also add an external pull down resister that is ONLY active during POR.     Is this the pull down resister they are referring to in the Pin Connectivity Requirements above?  So I should put an external pull down resister in,  but only have it active  during POR?   

    Also  concerning your statement above   "The I/O input from the cell should be looped back to the err_i input. In this way, the status of the error I/O can be directly observed from the I/O buffer loopback path (using the register "ESM_PIN_STS Register"), instead of just from the internal state to the ESM."

    How is this loop back accomplished?  Is this loop back internal to the SOC?  Is it programmable such that the I/O input is looped back  OR is not looped back? 

    It does not appear that the err_i  input   is a separate pin on the AM263P processor. 

    Thank you 

    Whitney Ballard  

  • Hello,

    The "IO" indicates Input and an output.    So when you say it is only an output,  I am confused.   Is the data sheet wrong? 

    Here, "input" only refers to the feedback path from the pin to the input buffer which is captured from the pin into the register "ESM_PIN_STS Register". It does not receive any input from the external world. It is only used to signal to the external hardware in case there's an error reported in the ESM.

    o have it go high.    Can the output be configured (programmed)  to be open drain OR an active driver?  

    Also if it is an output only,  why would we be driving it with an active device?  

    Here, the "active device" refers to AM263P. During active reset (i.e., when PORz signal is active), the IO has an internal pull down to keep the signal low. Adding this externally is optional (I'll file a bug on the datasheet to get this rectified too). Once reset is deasserted (to the SoC, and subsequently to the ESM module), the ESM module will drive the signal high indicating no error (SAFETY_ERRORn defaults active low).

    How is this loop back accomplished?  Is this loop back internal to the SOC?  Is it programmable such that the I/O input is looped back  OR is not looped back? 

    It does not appear that the err_i  input   is a separate pin on the AM263P processor.

    Sorry for the confusion here, it needs to be rewritten for better clarification. This internal loopback is already implemented in the hardware and there's no additional programming required to enable this feature.

    Regards,

    Sahana

  • Sahana:  In your response you said:  

    "The SAFETY_ERRORn signal is implemented on an LVCMOS voltage buffer pin and can be configured to operate as open-drain output. This has been done by configuring the ESM module to source a constant low output and toggle the output enable. The output buffer drives low when enabled and is high impedance when disabled. I've filed an internal bug to add this to the AM263P datasheet. "

    Can the Safety_errorn pin be configured to by either a open drain OR an active driver?   I would assume that  if we program it to be an open drain,   we would have to supply a pull up resister to 3.3 volts to get it to go logic high when it is the high impedance state,  please confirm.   

    Thank you 

    Whitney Ballard 

  • Hi Whitney,

    SAFETY_ERRORn is configured to operate as open-drain output in the hardware and cannot behave as an active driver. Hence having a pull-up resistor to 3.3 Volts is mandatory. You can also see this in the AM263P-LP and AM263P Control Card schematics.

    Thanks,

    Sahana