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 ...
user avatar
  • 9,667
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 ...
user avatar
  • 89.9k
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 ...
user avatar
  • 7,199
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.
user avatar
  • 89.9k
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 ...
user avatar
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 ...
user avatar
  • 1,337
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 ...
user avatar
  • 235
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 ...
user avatar
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 ...
user avatar
  • 563

Only top scored, non community-wiki answers of a minimum length are eligible