root@bela:~/Bela# ./scripts/run_project.sh polymetric-box -c "-p64 --board CtagFaceBela -N1 -G1 -C8 -B16 -X8 -v "
Checking the board is up and running at root@192.168.7.2...Warning: Permanently added '192.168.7.2' (ECDSA) to the list of known hosts.
done
Board found at root@192.168.7.2
Running polymetric-box...
Running /root/Bela/projects/polymetric-box/polymetric-box -p64 --board CtagFaceBela -N1 -G1 -C8 -B16 -X8 -v
Xenomai not explicitly inited
Xenomai is going to be inited by us
Bela_initAudio()
Starting with period size 64 ;analog enabled
DAC level 99999997952.000000 dB; ADC level 99999997952.000000 dB; headphone level 99999997952.000000 dB
Detected hardware: CtagFace
Hardware specified at the command line: CtagFaceBela
Hardware to be used: CtagFace
fifoFactor: 1
core audioFrames: 64
Project name: polymetric-box
analog nopee
PRU memory mapped to ARM:
digital: 0xb61de000 0xb61de400
audio: 0xb61df000 0xb61df400 0xb61df800 0xb61dfa00
analog: (nil) (nil) (nil) (nil)
analog offset: 0x49e23000 0x49e23000 0x49e23000 0x49e23000
[!] Cannot run with multiplexer disabled 0
Bela_startAudio
startAudioInilne
Mcasp parameters:
inChannels: 4
outChannels: 8
inSerializers: {0}
outSerializers: {2}
numSlots: 8
slotSize: 32
dataSize: 16
bitDelay: 1
auxClkIn: 2.4e+07
ahclkFreq: 1.2288e+07
ahclkIsInternal: 1
wclkIsInternal: 0
wclkIsWord: 1
wclkFalling: 0
externalSamplesRisingEdge: 1
Mcasp registers:
pdir: 0x08000004
rmask: 0x0000ffff
rfmt: 0x000180f4
afsrctl: 0x00000410
aclkrctl: 0x00000080
ahclkrctl: 0x00008001
rtdm: 0x0000000f
xmask: 0x0000ffff
xfmt: 0x000180f4
afsxctl: 0x00000410
aclkxctl: 0x00000080
ahclkxctl: 0x00008001
xtdm: 0x000000ff
srctln: 0x00010002
wfifoctl: 0x00010101
rfifoctl: 0x00010101
Using McASP->PRU irq
Using McASP IRQ embedded PRU firmware
_________________Audio Thread!
So it seems the detected Cape takes priority over the CLI as it decides to use CtagFace
. Binary clock doesn't run.