wokwi / rp2040js

A Raspberry Pi Pico Emulator in JavaScript
MIT License
410 stars 46 forks source link

SPI busy flag may cause deadlock #103

Closed mingpepe closed 2 years ago

mingpepe commented 2 years 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 2 years ago

Thanks again!

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

mingpepe commented 2 years 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 2 years ago

Which issues, for instance?

mingpepe commented 2 years ago

I will create new issue later.