Skip to content
Discussion options

You must be logged in to vote

As expected, recording works as well, tested with the built-in microphone of the breakout. Test-Setup of the WM8960:
Playback:

    from machine import I2C
    i2c=I2C(1, scl=Pin(19), sda=Pin(18))
    import wm8960
    wm=wm8960.WM8960(i2c, sample_rate=SAMPLE_RATE_IN_HZ,
        adc_sync=wm8960.SYNC_ADC,
        sysclk_source=wm8960.SYSCLK_PLL,
        mclk_freq=24_000_000)
    wm.volume(3, 90)

Recording:

    from machine import I2C
    i2c=I2C(1, scl=Pin(19), sda=Pin(18))
    import wm8960
    wm=wm8960.WM8960(i2c, sample_rate=SAMPLE_RATE_IN_HZ,
        adc_sync=wm8960.SYNC_ADC,
        mclk_freq=24_000_000,
        sysclk_source=wm8960.SYSCLK_PLL,
        left_input=wm8960.INPUT_MIC1,
 …

Replies: 5 comments 18 replies

Comment options

You must be logged in to vote
6 replies
@robert-hh
Comment options

@A622266
Comment options

@robert-hh
Comment options

@A622266
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
2 replies
@A622266
Comment options

@miketeachman
Comment options

Comment options

You must be logged in to vote
7 replies
@miketeachman
Comment options

@A622266
Comment options

@miketeachman
Comment options

@A622266
Comment options

@miketeachman
Comment options

Comment options

You must be logged in to vote
3 replies
@A622266
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

Answer selected by A622266
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants