2011-08-17 13:57:53 g.711 companding on BF54X
Mark Bishop (UNITED STATES)
Message: 102968
Where can I find out more about the linux interface to
"Companding in hardware - Each SPORT can perform A-law or µ-law companding according to ITU G.711."
From:
https://docs.blackfin.uclinux.org/doku.php?id=blackfin_basics
QuoteReplyEditDelete
2011-08-17 21:38:30 Re: g.711 companding on BF54X
Aaron Wu (CHINA)
Message: 102969
Could you give us more description about your use case, do you intend to interface the SPORT to a audio codec in Linux?
QuoteReplyEditDelete
2011-08-17 23:39:35 Re: g.711 companding on BF54X
Sonic Zhang (CHINA)
Message: 102970
Either write you own ASOC driver on top of the sprot driver or use the simple bfin_sport.c driver directly.
QuoteReplyEditDelete
2011-08-18 09:12:27 Re: g.711 companding on BF54X
Mark Bishop (UNITED STATES)
Message: 102999
Correct, this is my intent as that the g.711 companding on-chip can only happen on the SPORT. I am inquiring if I need to use any special linux hook or is at simple as turning it on in the config (as that datasheet makes it out to be, 30-31) and reading the companded data (/dev/sport[0,1]).
QuoteReplyEditDelete
2011-08-18 22:57:14 Re: g.711 companding on BF54X
Aaron Wu (CHINA)
Message: 103010
The current char sport driver bifn_sport.c does not support companding interface, you need to make change on the driver, you make take other configs we did as reference. this is an example of how to use it user/blkfin-test/sport_test/sport_test.c