Imxssi
From ArmadeusWiki
SSI test tool
Use a special release of tsc2102 driver and imxssi for audio development purpose.
$ make menuconfig
Package Selection for the target ---> Armadeus specific tools/utilities ---> [*] imxssi
- Requirements:
TSC2102 mclk: 16MHZ
FS rate: 32KHz
- U-Boot: Enable i.MX register access from user space in U-Boot:
BIOS> run unlock_regs
- Linux: Load tsc driver
# modprobe tsc2102
- imxssi: generate ssi signal
Special release of imxssi can generate an audio signal.
just use imxssi with three parameters:
# imxssi [-t type] [-l level] [-s samples] [--loop]
- type can be 0: triangular signal or 1: sinusoïdal signal
- samples: period of the signal in number of samples per channel
- level: Signal level coefficient [0.0 .. 1.0]
For example to produce a 300Hz 5v(pk-pk) sinusoid:
# imxssi -t 1 -s 50 -l 0.15
- next step: dma transfer