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.

PCM5142 EVM GPIO Output

Other Parts Discussed in Thread: PUREPATHSTUDIO
Dear all,
I have a question.           
A customer asked us the problem how to set  GPIO2 output of  PCM5142EVM by using Pure Path Studio(PPS).
His setthing  is as follows,
1.software:PPS
2.EVM:PCM5142EVM
3.Load PCM5120_SPDIF_ROM_OPTICAL.pfw 
4.Check analog Output, but cannot check GPIO2
Then a customer make process flow as follows
5.Firm ware :PCM5142App_1
6.Input:I2S_In_1
7.Output:GPIO_Output_1 & Int2xOutROM_1
8.Volume connecting between input & ouput
9.generate and download
Using I2C Memory Tool (Direct control GPIO2)
11.set GPIO2 Output(register 8,data 02)
12.set GPIO2 to SDOUT(register 51,data 07)
Question1:How to make the output of GPIO2in SDOUT?
Question2:How to switch (Optical, Coaxial, USB) input of EVM in the process flow of new?

It does not change that it is not made ​​to read in advance the ROM code (PCM5120_SPDIF_ROM_OPTICAL.pfw etc,) now.

Best Regards,

Y. Hasebe

  • Hi, Hasebe-san,

    Unfortunately, the apps engineer supporting this device is out of the office at the moment. He will be back next week and get back to you then.

    -d2

  • Hello、Don-san

    What would have become of above question?
    I have tried in the EVM (Pure Path Console1.16) new software.
    However, I was unable to verify the output from GPIO2 as well as PurePathStudio.
    I was able to confirm, just through out of SDIN, it is only when you set the IN and SDOUT the GPIO4 ~ 6.
    Customer said to me how to output  from the  GPIO2 through the DSP .

    Schedule the customer's tight so, please tell me as soon as possible the output method of GPIO2 through the DSP EVM .

    Best Regards,

    Y.Hasebe
  • Hello Don-san,

    I apologize for that I have a query to you every day.

    But in the same way, customer has been requested countermeasures me.
    So, please tell me just how to output GPIO on the EVM.

    Best Regards,

    Y.Hasebe

  • Hasebe-san,

    I am working on this issue. It might take a little time while I try to test this in the lab.

    I will let you know what I find.

    Best Regards,

    dave

  • Hi Hasebe-san,

    In step 7, what DoutPin was selected in the Design Properties window? What value was selected under DigitalVolu? If "Enable" was selected, then values need to be loaded in Registers 0x61 and 0x62 on page 0.

    In case of direct control, you need to also set all of the volume and mixer values shown in figure 71 on page 55 of the datasheet. I think the default values are off.

    Can you send the process flow that is being tested?

    Thanks,

    dave

  • Hello Dave-san,

    Thank you for your information.

    I tried to send to you pfw file , but I couldn't  send it.

    So I will send attached as image file first .

    This process flow is just test circuit , not final.

    In step 7, what DoutPin was selected in the In step 7, what DoutPin was selected in the Design Properties window??

    ⇒Where is DoutPin  in the  Design Properties window?

        I checked only Gpio_Output_1 component.

        Then I changed  "Interrupt Pin"  GPIO⇔Dout  in the Properties window.

     What value was selected under DigitalVolu? 

    ⇒I set only VOL in the figure below.

     Is there a component of DigitalVolu else?

    In case of direct control, you need to also set all of the volume and mixer values shown in figure 71 on page 55 of the datasheet. I think the default values are off.

    ⇒I changed direct control only step 11 and 12.(GPIOsetting)

       So I think same setting of your suggestion.

    Please teach me  how to set  GPIO out through DSP control.

     

    Best Regards,

    Y.Hasebe

  • Hello Dave-san,

    I found the mistake setting.

    I had selected SPI Connection of EVM Communication,because customer used SPI.

    (Tools⇒Options⇒Target⇒EVM Communication)

    Then tried to select i2C Connection, the singal passed from I2S In to I2 Out.

    So I have to verify the operation of the SPI again.
    However, it did not work with SPI.

    Please tell me setting of SPI mode.

    I had set contents are as follows:

    *PPS setting:

    1.EVM Communication ⇒ SPI Communication

    *EVM setting:

    1. W1:Shunt Pins 1-2 for SPI

    2. W2:Shunt Pins 1-2 for SPI

    3. TP7,TP8:Mode1、Mode2⇒SPIMode 

    Best Regards

    Y.Hasebe

  • Hi, Hasebe-san,

    Dave will look into this for you this week and get back to you by the end of the week.

    -d2