Xmega microphone for raspberry pi

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear Experts, 

I try to make a Xmega based microphone for raspberry pi computers based on USB connector. 

for that I try to change the Audioinput sample code of lufa. 

and change it in a way that it works with my 8MHz xmega128a1u board.

Everything goes well in enumeration phase and windows detects it perfectly as an input microphone device. 

But when I want to capture audio, I find that Endpoint_IsINReady() does not return success in timer interrupt.

I attached the project here. 

Please give me some hints to get answer from it. 

I just try it with windows OS and audacity audio editor.

Best wishes, 

Mehrdad

Attachment(s):