Skip to content

Why two microcontrollers? #60

Closed Answered by Arnold-n
pilotniq asked this question in Q&A
Jan 29, 2023 · 1 comments · 10 replies
Discussion options

You must be logged in to vote

The reason for a 2-CPU solution is both history and preference. History as the bus decoding was developed on an Arduino Uno, and an ESP was added later to do the high-level decoding. And preference as a 2-CPU solution is architecturally preferred to have low-level hard-real-time code on a hard real-time ATmega, and to have high-level code on a soft-realtime ESP. As the hardwareserial library on the ESP also indicates that it is inherent not error-free, it may be difficult to achieve the same timing reliability on an ESP as on the ATmega.

The current solution does not replace the Madoka, but supplements it, just like a (W)LAN adapter.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Arnold-n
Comment options

@javimurcia
Comment options

@javimurcia
Comment options

@gmcmicken
Comment options

@dzungpv
Comment options

Answer selected by pilotniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants