Help with Unicorn HAT Mini, unable to recognize, (error device.no_cs = true)

Hello,

This is my first project on a raspberry pi, please excuse me as a novice. I ran through the Pimoroni guide on a Raspberry Pi 5 with a fresh OS install and update. (Getting Started with Unicorn HAT Mini). Installed the python libraries, SPI is enabled, however I could not get the examples to run. I went ahead and followed the next step in the guide, trying to program via REPL the following line takes issue when defining the hat:

unicornhatmini = UnicornHATMini()

The shell issues a traceback: device.no_cs = True

Any suggestions on what I can do would be greatly appreciated!

-Kris

I’ve come across the same issue, were you able to find a fix?

From what I’ve found, the Pi 5 GPIO has been updated and doesn’t work with libs used by the unicorn lib (possibly RPi.GPIO).

I was told by customer support that the issue is with the OS update to Bookworm. The solution they suggested is to flash using the old OS Bullseye. I haven’t gotten around to it but I’ll let you know if I can get anything to work.

Ah damn.

I’ve just migrated a home server from a Pi 4 to a 5, and not sure I have the patience/remaining sanity to roll back the OS!