5 Replies Latest reply on Feb 27, 2020 12:47 AM by YatheeshK_36

    EZ-PD BCR Mode Setting

    RyMu_1381236

      Hi, Cypress support stuffs.

       

      EZ-PD_BCR_Host_Processor_Interface_Specification.pdf writes

      ----

      1.1 Modes of operation

      The EZ-PD™ BCR device can operate in one of two modes

      1. Standalone mode

      2. Host Processor Interface (HPI) mode

      ---

       

      How do the mode (Standalone mode or HPI mode) of BCR set ?

       

      Best Regards,

      Ryosuke

        • 1. Re: EZ-PD BCR Mode Setting
          HirotakaT_91

          Generally, BCR (CYPD3177) works as standalone.

          BCR register values can read/write through HPI (I2C) interface using HPI related pins (HPI_INT, HPI_SDA, HPI_SCL).

           

          Please go through the document that you mentioned.

           

          Best regards,

          Cypress

          • 2. Re: EZ-PD BCR Mode Setting
            RyMu_1381236

            Thank you for your repling.

             

            > Generally, BCR (CYPD3177) works as standalone.

             

            In EZ-PD_BCR HPI spec

            ---

            1.1 Mode of operation

                :

                :

            The Host Processor Interface is active in both modes, but certain write-able registers are only available in the HPI mode.

            ---

             

            I want to know how does BCR set to HPI mode and what are write-able registers that are available in only HPI mode.

             

            Best regards,

            Ryosuke

            • 3. Re: EZ-PD BCR Mode Setting
              HirotakaT_91

              Writable registers are in the document.

              HPI mode is to use HPI.

              • 4. Re: EZ-PD BCR Mode Setting
                RyMu_1381236

                Thank you for your repling.

                But sorry, I am confuse.

                 

                ---

                The Host Processor Interface is active in both modes, but certain write-able registers are only available in the HPI mode.

                ----

                This sentense means that

                 

                - HPI is active in Standalon mode and HPI mode.

                - Some write-able registers (R/W, WO, R/W1C) are NOT available in Standalone mode, and some write-able registers are

                  available in Standalone mode.

                - ALL write-able registers (R/W, WO, R/W1C) are avalable in HPI mode.

                 

                Is this right ?

                 

                For example

                 

                1. BCR is always boot up in Standalone mode.

                2. The external cpu access HPI registers with I2C after boot up.

                3. Can the external cpu write all write-able registers (R/W,WO, R/W1C) ?

                 

                Best regards,

                Ryosuke

                • 5. Re: EZ-PD BCR Mode Setting
                  YatheeshK_36

                  Hello,

                   

                  Your understanding is correct.

                  As per the spec, you can use the Host Processor Interface on the BCR device anytime, even when the BCR device is in standalone mode.

                  You will be able to write to any writable registers in HPI mode, when the external master is controlling the BCR device functionality.

                   

                  Thanks,

                  Yatheesh