Skip to content

Add Zucrow interface and native tests - #13

Open
wadhwat wants to merge 7 commits into
mainfrom
features/zucrow-tests
Open

wadhwat wants to merge 7 commits into
mainfrom
features/zucrow-tests

Conversation

@wadhwat

@wadhwat wadhwat commented Sep 30, 2026 •

Copy link
Copy Markdown
  • Add the Zucrow interface for fault and sync signaling plus dual-channel valve-angle DAC output.
  • Initialize the interface before other devices on the shared SPI bus and integrate it with the engine controller.

Comment thread firmware/lib/zucrow_interface/ZucrowInterface.h Outdated
Comment thread firmware/lib/zucrow_interface/ZucrowInterface.cpp Outdated
Comment thread firmware/lib/zucrow_interface/ZucrowInterface.cpp Outdated
Comment thread firmware/lib/zucrow_interface/ZucrowInterface.cpp
Comment thread firmware/platformio.ini Outdated
Comment thread firmware/lib/zucrow_interface/ZucrowInterface.cpp Outdated
@wadhwat
wadhwat force-pushed the features/zucrow-tests branch from e139a58 to 6894327 Compare October 3, 2026 15:45
stm32duino only enables a GPIO port's clock inside pinMode(), so digitalWrite() before pinMode() is dropped and the pin comes up LOW. That made the fault line to Zucrow boot as OK instead of FAULT, and left the DAC selected.
@wadhwat
wadhwat force-pushed the features/zucrow-tests branch from 6894327 to e631e6d Compare October 3, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants