Uri Shaked

Results 619 comments of Uri Shaked

The way Wokwi solves this is by using a different implementation of the clock that does not follow real time (it does best-effort to sync with real time, though). Once...

Nope, you don't miss anything - rp2040js currently implements timers in a way that does not support accurate timers, unfortunately. This is Wokwi's internal Clock implementation: ```ts export type ClockEventCallback...

Thank you so much! On Wed, May 2, 2018, 2:32 PM Tomas Polach wrote: > @urish totally forgot about NPM 😅 - will do! > thx! > > — >...

That makes much sense. While at it, it'd also make sense to add a note to the README about the possibility to install from npm. To celebrate this, I created...

> The CS pin is controlled directly by hardware How is it controlled directly? I couldn't spot any SPI register that controls the CS pin?

Couldn't find any documentation either. Quick googling shows that SS might always be low when SPI is enabled: ![image](https://user-images.githubusercontent.com/892318/203313740-c811e101-0646-4ad8-b1fc-53a0f94e5a84.png) Source: https://developer.arm.com/documentation/ddi0194/h/functional-overview/primecell-ssp-operation/examples-of-master-and-slave-configurations

Good job on finding it! ![image](https://user-images.githubusercontent.com/892318/203492677-c7e3102f-f74d-4690-be8a-6156dd5d0073.png) Yes, we are definitely missing this functionality. I don't have the bandwidth to work on it in the near future, but if you are...

Yes, it's not trivial. If I understand correctly, the logic behind onCSChange() should more or less reflect the value of the `busy` flag we already have?

Seems to work for me on a mid-sized project

I like the "type": "chip" idea