6 Replies Latest reply on Sep 11, 2019 7:34 PM by taas_3144281

    PSoC6 USB Audio

    taas_3144281

      Hi.

       

      I operation "CE225786-PSoC 6 MCU USB Audio Recorder" in ModusToolbox1.1.

      But, this code does not operation properly on MacOS.

       

      "CE225786 USB Audio Recorder"

      https://japan.cypress.com/documentation/code-examples/ce225786-psoc-6-mcu-usb-audio-recorder

       

       

      This sample code is ModusToolbox1.0.

      I ported to ModusToolbox1.1 in this way. ”Porting an Application from ModusToolbox 1.0 to version 1.1 - KBA226484

      This sample code operations properly on Windows PC.

      But, recorded audio is interrupted on MacOS.

      App is 'Voice memo'.

       

      Could someone teach me what is there a way to record properly on a Mac?

       

      asanuma

        • 1. Re: PSoC6 USB Audio
          EktaN_26

          Hello Asanuma,

           

          Can you please tell how is the audio getting interrupted (like clicks, distortion, etc.) when using MacOs and what is the duration of interruption (milliseconds or microseconds)? Also can you please send the interrupted audio file. This will help us in recreating the issue at our side.

           

          Best Regards

          Ekta

          • 2. Re: PSoC6 USB Audio
            taas_3144281

            Dear Ekta-San

             

            The attachment file is the sound and project.

            sound(Mac_audio_recorde.zip)

            project(CE225786_USB_AudioRecorder.zip)

            The sound is continuously interrupted every 100 milliseconds.

             

             

            Best Regards,

            asanuma

            • 3. Re: PSoC6 USB Audio
              EktaN_26

              Hello Asanuma,

               

              Can you please confirm if you are getting the same issue in the project- CE225786-PSoC 6 MCU USB Audio Recorder, when using ModusToolbox 1.0 in MacOs?

               

              Are you getting droupouts for both Modustoolbox 1.0 and Modustoolbox 1.1 projects in MacOs?

               

              Best Regards

              Ekta

              • 4. Re: PSoC6 USB Audio
                taas_3144281

                Dear Ekta-San

                 

                I confirmed ”CE225786-PSoC 6 MCU USB Audio” with ModusToolbox 1.0, but the same issue occurred.

                Modustoolbox 1.0 and Modustoolbox 1.1 getting dropouts in MacOs.

                 

                 

                Best Regards,

                asanuma

                • 5. Re: PSoC6 USB Audio
                  MoTa_728816

                  Hi,

                   

                  I studied your code (or Cypress's code?)

                  Device_Descriptor.JPG

                  Then noticed that the EP2 is IN and Transfer Type is Isochronous but the Synchronization Type is  "Asynchronous"

                  According to the USB Audio specification

                  USB_Audio_Sync.JPG

                  So I changed it to "Synchronous" and rebuilt the project.

                  USB_Configure_190912.JPG

                   

                  As far as I tested, it seems to be working with both Windows 10 and Mac OSX 10.14.2.

                   

                  moto

                  • 6. Re: PSoC6 USB Audio
                    taas_3144281

                    Dear Motoo-san

                     

                    Thank you for your answer.

                    I am able to Audio record with MacOS in this way without any issue.

                    I am glad that I do not have to worry about those for PSoC6.

                     

                    Best Regards,

                    asanuma