BPI-P2 Zero Analog/Digital audio input/output

Hi is there any way to use I2S or analog audio (mic in and speaker output) on the P2 board

I want to use BPI P2 to make camera intercom powered using POE but not when I got the board I see that there is no audio connectivity

Hello, P2 doesn’t have I2s on 40pin but Pcm pins instead.

image

image

http://wiki.banana-pi.org/Banana_Pi_BPI-P2_Zero#GPIO_PIN_define

Here is the datasheet of PA18-PA21, you could config these pins in sys_config.fex in bsp code:

the gpio function as you can see is “function2”

image

图片显示不出来了,我也非常需要通过40PIN的接线柱输出音频。请问如何设置? 因为通过HDMI输出音频太占地方了,就失去了小主板的优势。