4
votes
Accepted
Custom Memory Allocator - How to find the required alignment for a platform?
malloc is required to return a pointer properly aligned to hold an object of any type. Which means it must be aligned at least as the largest scalar type. Luckily C ...
2
votes
Effect of 5V on 3.3V GPIO
The answer is twofold.
You don't say what shield it is, but it is possible that the shield uses 5V supply, and has onboard 3.3V regulation, so it might use 3.3V IO. You need to check if the shield IO ...
2
votes
How does the Flash and PSRAM work together parallelly?
As @justme answered, the chip selects control which device is active.
Fundamental to SPI is that unless the chip select is asserted to a target device, that device ignores clock and data-in and leaves ...
1
vote
How does the Flash and PSRAM work together parallelly?
They work because they have different chip selects. The MCU can and will communicate only with one chip at the time on the SPI bus.
1
vote
Effect of 5V on 3.3V GPIO
Yes, applying 5V to an input pin rated at 3.3V can damage the device in unpredictable ways. It may not be just one pin that is damaged. Such a connection may also cause the 5V signal to be unable to ...
1
vote
Accepted
STM32H7 DMA not transferring correct values into TIM15 CCR1 register, why?
The issue was my misunderstanding of what the repetition counter did. I was under the impression that the repetition counter was responsible for keeping track of pulses. In reality it just repeated ...
1
vote
How is the CQFP64 package supposed to be soldered?
This document explains how to mount CQFP packages, and includes photographs showing the various stages. They recommend using lead forming tools by Fancort Inc to trim and form the pins for the ...
1
vote
Why are some embedded registers password protected?
Note something other people have not addressed: the watchdog is not a strong defense against a (very) buggy firmware. It is meant as a last ditch resort against two scenarios:
First and foremost:
some ...
1
vote
Accepted
Is my ACS712 sensor showing normal characteristic?
I considered suggestion above that current sensor may have experience interference from nearby magnetic field. Apart from buying the shielding for testing purpose, I using a cheap solution like emf ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
microcontroller × 8440pic × 819
stm32 × 780
arduino × 656
c × 577
embedded × 453
avr × 402
adc × 379
microchip × 323
arm × 271
programming × 245
mosfet × 244
led × 240
voltage × 238
pwm × 236
sensor × 228
uart × 225
power-supply × 224
spi × 219
atmega × 214
i2c × 207
usb × 203
digital-logic × 193
interrupts × 188
transistors × 187