Application Note
16 of 45
001-84858 Rev. *N
2021-03-23
PSoC 4 Programming Using an External Microcontroller (HSSP)
Calculating HSSP Timeout Parameters
/* Do Nothing */
}
/* Make the pin high after end of the delay */
TESTPIN_OUTPUT_HIGH;
The A_HSSP_Programmer and B_HSSP_Pioneer projects implement a 100-µs delay using the
CyDelayUs ()
API. For microcontrollers other than PSoC as the host programmer, the
XRES_PULSE_100US
parameter has
to be defined in
Timeout.h
and the delay should be implemented using this parameter in the
DelayHundredUs
function of
Timeout.c
.
For power cycle mode programming, this delay routine signifies the time for which the device power rails are
OFF. For power cycle mode programming, there are no requirements for this pulse width. The recommendation
is to have a 1-ms delay before turning ON the power rails.