- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I studied your code (or Cypress's code?)
Then noticed that the EP2 is IN and Transfer Type is Isochronous but the Synchronization Type is "Asynchronous"
According to the USB Audio specification
So I changed it to "Synchronous" and rebuilt the project.
As far as I tested, it seems to be working with both Windows 10 and Mac OSX 10.14.2.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I studied your code (or Cypress's code?)
Then noticed that the EP2 is IN and Transfer Type is Isochronous but the Synchronization Type is "Asynchronous"
According to the USB Audio specification
So I changed it to "Synchronous" and rebuilt the project.
As far as I tested, it seems to be working with both Windows 10 and Mac OSX 10.14.2.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm sorry for the late reply. I was aware about this issue, but just now we were able to find the root cause and get this fixed.
You should not change the audio descriptor to synchronous. The firmware was designed to be asynchronous. The problem is a misconfiguration in the audio descriptor. The bInterval for Feedback endpoint was incorrectly set. That some how affected MacOS only.
There is a new version of this code example with the fix. Please refer to the Audio Device descriptor from this example: