wokwi / rp2040js

A Raspberry Pi Pico Emulator in JavaScript
MIT License
384 stars 40 forks source link

SPI busy flag may cause deadlock #103

Closed mingpepe closed 1 year ago

mingpepe commented 1 year ago

If user call completeTransmit in onTransmit event, the busy flag will be set false then true. Which may cause emulator waiting for it.

urish commented 1 year ago

Thanks again!

I'm curious, what PIO project are you working on?

mingpepe commented 1 year ago

To implement camera interface. Not only PIO but trying to run my pico code on this emulator, but seems still have some issues to solve.

urish commented 1 year ago

Which issues, for instance?

mingpepe commented 1 year ago

I will create new issue later.