Fuhua-Chen / ReSpeaker_Microphone_Array_Firmware

ReSpeaker Microphone array firmware for DFU
26 stars 10 forks source link

raw mode firmware HID interface? #2

Open foldl opened 7 years ago

foldl commented 7 years ago

when use raw mode firmware, any HID interface to control LEDs?

Fuhua-Chen commented 7 years ago

HID interface is also able for raw mode firmware, and all address is same as xvsm mode(W/R xvsm regs will do nothing). But for now, we have not do some test for control LEDs.

foldl commented 7 years ago

I had a try to control the LED, and the 8 channel recording device stopped working (win 10). I have to re-plugin the mic array.

发件人: Fuhua-Chenmailto:notifications@github.com 发送时间: 2017年4月1日 11:35 收件人: Fuhua-Chen/ReSpeaker_Microphone_Array_Firmwaremailto:ReSpeaker_Microphone_Array_Firmware@noreply.github.com 抄送: Li Zhengjimailto:foldl@outlook.com; Authormailto:author@noreply.github.com 主题: Re: [Fuhua-Chen/ReSpeaker_Microphone_Array_Firmware] raw mode firmware HID interface? (#2)

HID interface is also able for raw mode firmware, and all address is same as xvsm mode(W/R xvsm regs will do nothing). But for now, we have not do some test for control LEDs.

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Fuhua-Chen/ReSpeaker_Microphone_Array_Firmware/issues/2#issuecomment-290891532, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD2-aE4XeiUC4jms9S0M5A8nZVrr7KMfks5rrcXzgaJpZM4MuI9V.

Fuhua-Chen commented 7 years ago

if the 8 channel is stopped working after sending LED control commands, it might be caused by setting data operation. I will check it soon, thanks for your feedback.

foldl commented 7 years ago

By the way, which mic is numbered as the 0th, 1st, ... 7th channel?

Fuhua-Chen commented 7 years ago

put the mic array on your desk and make sure the USB is face to you. the central mic is 0th, the letf top one is 1th,then, anti-clockwise are others.

YaguangGong commented 7 years ago

@foldl @Fuhua-Chen There are 8 output channels which outnumber the 7 physical microphones. What is the extra one suppose to be?

Fuhua-Chen commented 7 years ago

0-7 channel are physical microphones, the eighth channel is average of both 0-7 channel. XMOS official program uses channel 0 for average. 7 channels microphone data and 1 channel average can use for some simple application. eg: auto gain control.