Trying get started with Allwinner SoC-Only 3-Mic Far-Field Dev Kit for Amazon AVS

I’m trying to start using this kit and it’s becoming impossible for me. Basically I have flashed the lasted image “tina_tulip-noma_card0 2018-05-17.img”

But when i try to start sampleApp, an error occurred:

*################################################

NOTIFICATION INDICATOR STATE: OFF

#################################################

TutuClearFilter channel provider: ac108, signal channel map:(1->0),(3->1),(5->2)
TutuClearFilter channel provider: ac108, reference channel map:(6->3),(7->4)
Parsing /etc/avs/tutuClearA1_ns4wakeup_stereo.prm
2019-12-18 08:59:44.108 [ 10] 5 TemplateRuntime:addObserverInExecutor
uw16FrameSz = 10
uw16MaxNumOfMic = 771
uw16MaxTailLength = 8202
uw16SamplingFreq = 1
w16MICSelection0 = 0x7603
w16MICSelection1 = 0x7603
tutuClear DM usage = 305320 bytes
Software voice processor compiled on: May 15 2018 11:33:58
TUTUCLEAR Ver. 1.6.7 Inside (0x71d11177).
Copyright (C) 2017, Spectimbre Inc.
uw32OpMode = 00006410
uw32FuncMode = 00001CC0
uw16NumOfMic = 3
uw16ECTailLengthInMs = 0
Fail to do TUTUClear_Init.
Failed to initialize AlsaMicrophoneWrapper
Segmentation fault

Could someone help me with this error?

The banana support pi doesn’t help. They don’t have updated documentation. No images since 2018. There is nothing.

PS: For now, I advise not to buy this kit. There is no support or updated information.

we have answer you with mail:

this is new image:

All the information is on WiKi, http://wiki.banana-pi.org/BPI-R18-AI(Allwinner_SoC-Only_3-Mic_Far-Field_Dev_Kit), your feedback was updated on it. As for the schematics and BSP, please write to [email protected], NDA is needed for those documents.

Hi Hi,

I have tested the last image you send me and now Alexa SampleApp works.

Now I have some questions:

  • Using Tina Linux (Last Image), I have sound only on jack connector, but not in speakers connectors (TAS5731M). How I can solve it?

  • Using Ubuntu mate image, I have no audio at all. No Audio in speakers (TAS5731M). No Audio in headphones jack.

  • The development kit includes seven jumpers connectors but I don’t know for what.

Thanks.

Im trying again to start the launch sampleapp and now I always get “Segmentation fault”:

root@TinaLinux:/etc/avs# SampleApp 
/etc/avs/AlexaClientSDKConfig.json /etc/avs/
DEBUG9
2022-12-31 10:21:45.698 [  1] I sdkVersion: 1.7.1
configFile /etc/avs/AlexaClientSDKConfig.json
auto_platform: tulip-noma
platform config:
{
  "voice-loopback":0,
  "detector":"amazon-lite",
  "provider":"ac108",
  "filter":"tutuclear",
  "tutuclear":{
    "base":"tutuclear",
    "signal-channel-0":"ac108-1",
    "signal-channel-1":"ac108-3",
    "signal-channel-2":"ac108-5",
    "reference-channel-0":"ac108-6",
    "reference-channel-1":"ac108-7",
    "type":"filter",
    "prm-file":"\/etc\/avs\/tutuClearA1_ns4wakeup_mono.prm",
    "filter-block":160,
    "input-sample-rate":16000,
    "input-sample-bits":32,
    "input-channels":5,
    "output-sample-rate":16000,
    "output-sample-bits":32,
    "output-channels":3,
    "output-data-file":""
  },
  "mute":{
    "mute-enable":"active",
    "mute-disable":"disactive",
    "gpio":[
      {
        "pin":38,
        "active":1,
        "disactive":0
      }
    ]
  },
  "button":[
    {
      "name":"volume-up",
      "input":"sunxi-keyboard",
      "code":115
    },
    {
      "name":"volume-down",
      "input":"sunxi-keyboard",
      "code":114
    },
    {
      "name":"mute",
      "input":"sunxi-keyboard",
      "code":113
    }
  ],
  "led-ring":{
    "direction":{
      "angle-start":307.5,
      "angle-step":30.0
    }
  },
  "ac108":{
    "type":"provider",
    "name":"ac108",
    "device":"hw:sndac10810035,0",
    "channels":8,
    "period-size":1024,
    "period":4,
    "sample-rate":16000,
    "sample-bits":24,
    "mode":"normal",
    "output-data-file":"",
    "base":"ac108"
  },
  "amazon-lite":{
    "model":"\/etc\/avs\/D.en-US.alexa.bin",
    "detect-threshold":500,
    "base":"amazon-lite"
  }
}
TutuClearFilter channel provider: ac108, signal channel map:(1->0),(3->1),(5->2)
TutuClearFilter channel provider: ac108, reference channel map:(6->3),(7->4)
Parsing /etc/avs/tutuClearA1_ns4wakeup_mono.prm
uw16FrameSz = 10
uw16MaxNumOfMic = 771
uw16MaxTailLength = 8202
uw16SamplingFreq = 4
w16MICSelection0 = 0x7603
w16MICSelection1 = 0x7603
tutuClear DM usage = -64528 bytes
Software voice processor compiled on: Apr  3 2019 07:30:37
TUTUCLEAR Ver. 1.6.11 Inside (0x70511067).
Copyright (C) 2017, Spectimbre Inc.
uw32OpMode = 00006010
uw32FuncMode = 00105CC0
uw16NumOfMic = 3
uw16ECTailLengthInMs = 0
Fail to do TUTUClear_Init.
Segmentation fault

I think that I know what happens. The license of TUTUCLEAR is expired in this image because if I start just after connect to the internet (before the device date is syncronized from the internet) the SampleApp starts. So the question is. How Can I avoid this. I am searching about TUTUCLEAR but nothing appears on the internet. There are some alternative software? What I can do?

Thanks.