Status of SPI class for Zephyr port

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Yadnik
Posts: 65
Joined: Thu May 13, 2021 6:01 am

Status of SPI class for Zephyr port

Post by Yadnik » Mon Aug 16, 2021 7:04 pm

I am trying to take the spi class into use however I am always get the error: OSError: [Errno 22] EINVAL.
I validated the Zephyr part of this, but everything seems to be well there.I also tried using another board using the zephyr port however there too I am getting same error.
In the commit message of spi module it is written:Add support for hardware SPI.
Can someone who has knowledge please confirm the status, as I am able to initialise spi but not able to perform read, write operations.
Link to spi module:https://github.com/micropython/micropyt ... hine_spi.c
Thank you very much!!

User avatar
scruss
Posts: 360
Joined: Sat Aug 12, 2017 2:27 pm
Location: Toronto, Canada
Contact:

Re: Status of SPI class for Zephyr port

Post by scruss » Tue Aug 17, 2021 12:27 am

I have to hand it to you, you certainly don't give up on MicroPython on Zephyr. TBH, it looks like you may be one of the very few users of MicroPython on Zephyr, and the project looks barely usable. There are ports that don't have much hardware support: I'm thinking of SAMD, which has a REPL, but not much else.

Post Reply