1 Reply Latest reply on Jun 12, 2019 12:02 AM by RajathB_01

    CCG3PA Flash programming using Cypress FX3 GPIO (SWD Programming)

    prasanna_1403381

      Hi, RajathB_01

       

      I am using CCG3PA in my design and I am trying to use Cypress FX3 (GPIO) for CCG3PA's flash programming.

      As per the document AN84858 : https://www.cypress.com/documentation/application-notes/an84858-psoc-4-programming-using-external-microcontroller-hssp

      One of the important requirements is to ensure that the frequency of SWDCK clock line is at least 1.5 MHz to meet the acquire window timing.

       

      But in Cypress FX3 If I use CyU3PGpioSetValue I am able to achieve 490 KHz, for this I referred the cypress community link : Increasing Frequency of Bit-Banged GPIO Clock in EZ-USB® FX3™ - KBA90267 , and followed the methods mentioned, and here is the outcome.

      -> If I use CyU3PGpioSimpleSetValue Gpio toggle clock frequency achieved is 750KHz

      -> With GPIO_SIMPLE register accessing method 1.27MHz, I have attached the clock capture image.

       

      So, as per the AN84858, SWDCK clock I am not able to meet 1.5MHz. So do we have any other option to increase the Cypress FX3 Clock frequency ?

       

      Any other methods are available for CCG3PA Flash programming ?

       

      Any other low end PSOC can be used for CCG3PA programming ?

       

      Thanks

      Prasanna