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.
In my project, I am updating one of the GPIO pin (GPIO24) by software. For protection purpose of my circuit, I want to compare an analog signal with threshold value using CMPSS to detect immediate fault.
Is it possible to configure the output of this CMPSS to GPIO24 (also being updated by software)?
Under normal operation GPIO24 will be governed by software, but when the immediate fault happens, CMPSS should govern the GPIO24 pin.
Regards,
Jayant
Hi Jayant,
I believe there might be something that can be done using either CMPSS or CLB to trigger a GPIO based on CMPSS trip. Let me contact the CMPSS owner first.
Regards,
Vince
Hello Jayant,
Thank you for your patience.
I'll get back to you as soon as I have more information.
Regards,
Hadi
Hi Jayant,
As shown in Figure16.1 of Technical Reference Manual, CTRIPxOUTx(x= "H" or "L") signals are connected to the Output X-BAR for external signaling. So, you can configure the output of the CMPSS module in a way that the GPIO would be governed by the output of the CMPSS. See the General-Purpose Input/Output (GPIO) chapter for more details on the Output X-BAR mux configuration.
Regards,
Hadi
Hi Hadi,
Thanks for your reply. But my concern is that, can this function be used to overwrite the command coming to GPIO pin from software?
Hi Jayant,
Thanks for your patience.
From what I understood, you want the OR logic of CTRIPxOUT (coming from CMPSS) and SW command. You need to route this OR-output signal using CLB-XBAR to the GPIO.
Can you tell me what is the source of SW command coming to GPIO?
Regards,
Hadi
Thanks for reply. Is this signal related to any peripheral? I want to see if it's associated with other peripherals, then we can find out if CLB-XBAR has access to the source of the signal.
Regards,
Hadi