I2C and SPI class detection error for zephyr port of MicroPython

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
Yadnik
Posts: 65
Joined: Thu May 13, 2021 6:01 am

I2C and SPI class detection error for zephyr port of MicroPython

Post by Yadnik » Wed Jul 21, 2021 7:20 pm

I am able to import the SPI and I2C classes ,however while initialising the device with i2c = I2C("I2C_0") or spi = SPI("SPI_0"),I am getting the error of device not found.In my board dts file I have defined both the classes and assigned pin and port numbers as seen form here :https://github.com/jadonk/beagle_connec ... reedom.dts . Can someone please tell me why this is happening and that how can I resolve this issue?

Yadnik
Posts: 65
Joined: Thu May 13, 2021 6:01 am

Re: I2C and SPI class detection error for zephyr port of MicroPython

Post by Yadnik » Thu Jul 22, 2021 2:49 pm

Resolved the issue, had to enable the hardware features something like https://github.com/micropython/micropyt ... _k64f.conf for my board and flash the application firmware again.

Post Reply