avsa242 / p2-spin-standard-library

A curated collection of essential Spin2 objects
MIT License
3 stars 3 forks source link

Bitbanged SPI engine clock calculation incorrect #1

Closed avsa242 closed 3 years ago

avsa242 commented 4 years ago

com.spi.bitbanged.spin2 The calculated bus clock is incorrect. For example, when 5_000_000 is passed to the Start method, the resulting clock is approx 1.5MHz