Skip to main content
Wouter van Ooijen's user avatar
Wouter van Ooijen's user avatar
Wouter van Ooijen's user avatar
Wouter van Ooijen
  • Member for 13 years, 5 months
  • Last seen more than 2 years ago
comment
PIC microcontroller PORT not changing logic states
@Tagli only when you (also) write to individual bits.
comment
PIC microcontroller PORT not changing logic states
I don't see you doing any bank selection. Does the compiler take care of that automatically?
comment
Raspberry Pi 4 won't boot with current sensor connected
The ADC input ITSELF was probably not causing this, but the input protection circuit, with an intentional or side-effect diode to the 3.3V rail.
revised
Loading…
Loading…
comment
What's the difference between a microprocessor and a CPU?
The CPU is a microprocessor if it is integrated on a single chip, and there are no other things on that chip that would make it a full computer (in which case it would be a micro-controller).
awarded
revised
Loading…
Loading…
comment
What is throughput as far as processors are concerned?
And a breeding party of 9 cows (switch to animals for obvious reason..) still has a latency of 9 month to produce one calf. (They will of course produce 9, but that doesn't lower the 9 months). But they have a calving rate of 1 per month.
comment
comment
C++ AVR microcontroller optimization problem
I am a C++ programmer, so I would use templates to make those functions sufficiently "known" at compile time to avoid indirection. But I must use some 'magic' to amke the tooling find the mains of all threads.
comment
C++ AVR microcontroller optimization problem
In my freferred C++ style I add: no indirections (no vurtuals, no function pointers). That makes it possible to calculate the stack size - one design nightmare less.
revised
Loading…
answered
Loading…
Loading…
Loading…
Loading…
comment
How does the hardware realize adding 8 values in 1 clock cycle?
This seems to be a homework question. What have you done so far, where are you stuck? We can give you a nudge in the right direction, but we prefer not to give full homework answers, because we want the next generation of engineers to be capable.
comment
Back EMF protection of a bi-directional inductive load
Your second solution is used very common, and is often inside (smaller) driver chips. What is your power supply? Can't it absorb the current? The enegry has to go somewhere, either electrically or mechanically...