Skip to content

Can't not set i2s mck parameter esp32s3 MicroPython (1.25.0) #17573

Closed
@RonTang

Description

@RonTang

Port, board and/or hardware

esp32s3

MicroPython version

esp32s3 MicroPython (1.25.0)

Reproduction

here is my code:
audio_in = I2S(0,
sck=bck_pin, ws=ws_pin, sd=sdin_pin,mck=mck_pin,
mode=I2S.RX,
bits=16,
format=I2S.MONO,
rate=8000,
ibuf=64000)
TypeError: extra keyword arguments given
but if i del mck ,it works normally
like this:
audio_in = I2S(0,
sck=bck_pin, ws=ws_pin, sd=sdin_pin,
mode=I2S.RX,
bits=16,
format=I2S.MONO,
rate=8000,
ibuf=64000)

Expected behaviour

no type error

Observed behaviour

raise type error

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Thanks for your attention! 谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions