您尚未登录。

#1 Re: 君正Ingenic/X1000/X2000/T10/T20/T30 » 求助:X1000如何使用I2S » 2022-05-15 22:16:35

whycanpeng 说:

最近正在学习I2S驱动音频,资料不好找。

找到了通知一下,是不是可以参考其他mips的

#2 Re: 君正Ingenic/X1000/X2000/T10/T20/T30 » 求助:X1000如何使用I2S » 2022-05-14 14:22:58

哇酷小二 说:

编译不过的日志麻烦发一下

晚点,后来我发现改动的配置并没有什么相关的内容,我试试改其他有相关代码的

#3 君正Ingenic/X1000/X2000/T10/T20/T30 » 求助:X1000如何使用I2S » 2022-05-14 11:43:33

小潘
回复: 4

官方Demo的配置如下:
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
# CONFIG_SND_DRIVERS is not set
# CONFIG_SND_MIPS is not set
CONFIG_SND_USB=y
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_6FIRE is not set
CONFIG_SND_SOC=y
# CONFIG_SND_ATMEL_SOC is not set
CONFIG_SND_ASOC_INGENIC=y
CONFIG_SND_ASOC_JZ_AIC_V12=y
CONFIG_SND_ASOC_DMA_V13=y
# CONFIG_SND_ASOC_DMA_HRTIMER is not set
CONFIG_SND_ASOC_JZ_AIC_I2S_V13=y
CONFIG_SND_ASOC_JZ_PCM_DUMP_CDC=y
CONFIG_SND_ASOC_JZ_PCM_V13=y
CONFIG_SND_ASOC_JZ_ICDC_D3=y
CONFIG_SND_ASOC_JZ_DMIC_DUMP_CDC=y
# CONFIG_SND_ASOC_JZ_DMIC_MODULE is not set
CONFIG_SND_ASOC_JZ_DMIC_FREQ=24000000

#
# ingenic board type select
#
CONFIG_SND_ASOC_JZ_INCODEC=y
# CONFIG_SND_ASOC_JZ_EXTCODEC is not set
CONFIG_SND_ASOC_INGENIC_PHOENIX_ICDC=y
# CONFIG_SND_ASOC_INGENIC_PHOENIX_SPDIF is not set
# CONFIG_SND_ASOC_INGENIC_CANNA_ICDC is not set
CONFIG_SND_ASOC_JZ_DMIC_V13=y
CONFIG_SND_ASOC_JZ_DMIC0=y
CONFIG_SND_ASOC_JZ_DMIC1=y
# CONFIG_JZ_ASOC_DMA_AUTO_CLR_DRT_MEM is not set
CONFIG_JZ_ASOC_CODEC_INNER_REFERENCE_SOUND=y
CONFIG_JZ_ASOC_ICDC_USE_SOC_MICBIAS=y
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SOUND_PRIME is not set



以上的配置,我尝试修改过,但是编译不通过,看代码的话,这样的配置没有用到PORTB的IIS,新手不太清楚是不是这个原因,有没有大神可以指点指点

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn