djphazer / O_C-Phazerville

The kitchen sink of O_C firmware - do all the things!
http://firmware.phazerville.com/
243 stars 37 forks source link

Fix SPI startup on Teensy 4.1 #45

Closed PaulStoffregen closed 10 months ago

PaulStoffregen commented 10 months ago

Opps, the changes I made to turn on DAC8586 Vref early (which requires using SPI) messed up SPI startup.

This change makes the 3 cases for Teensy 4.x separate, even though 2 of them are identical, so it's easy to see how SPI startup differs depending on which board we're targeting.

jpnielsen commented 10 months ago

"DAC8586" ?

DAC8568: https://www.ti.com/product/DAC8568

PaulStoffregen commented 10 months ago

Yup