New answers tagged

0 votes

STM32 USART RX with DMA

Couple of pointers: There's no need for this callback as it's not needed void USART3_IRQHandler(void) You've set only 20 bytes to be transferred. So it'll stop after 20 bytes. When it comes to DMA ...
EmbeddedAlpha's user avatar
0 votes

Why is no data written to the I2C bus using this PIC12LF1822 code?

I have identified the issue, which was a dead chip. I believe that I cooked it attempting constant rewiring.
BlueShoes's user avatar
2 votes

Is CircuitLab simulator and KiCad simulator similar?

It seems you are looking for an open source circuit simulator to embed in a web page. If this is your question, please have a look at https://github.com/sharpie7/circuitjs1 Quoting from that page: ...
Daniel K.'s user avatar
  • 141
0 votes

What questions should I be asking in order to debug this I2C?

Your problem could be related to 4-bit mode. It doesn't like being put in 4-bit mode when it is already in 4-bit mode. Unfortunately, unless it is a cold-start, there is no way to know what mode it is ...
Mattman944's user avatar
  • 15.7k
0 votes
Accepted

Why would a UART only transmit the first character and then stop?

Most likely the code is fine, and the problems are receiving the data in hardware or software. You are using a 5V Arduino with Atmega16U2 as the USB to serial adapter for a (likely) 3.3V signal. It ...
Justme's user avatar
  • 143k
2 votes
Accepted

Where should the interrupt vector table be placed in memory on STM32H7A3RGT6 chips?

So it turns out that the programming manual is simply wrong. It's true for most STM32 chips the vector table is read from 0x00000000 and that address gets mapped to ...
ultraturbonoob's user avatar
2 votes

Where should the interrupt vector table be placed in memory on STM32H7A3RGT6 chips?

The chip's own reference manual is correct, of course. By default the chip will boot from the base of Flash memory, 0x0800_0000. The missing detail is found in section 2.6 Boot configuration: and ...
Ben Voigt's user avatar
  • 2,865
0 votes

Where should the interrupt vector table be placed in memory on STM32H7A3RGT6 chips?

If so, then H7 and H7A are different. But what is more important is that the code your MCU runs is free to choose where the interrupt table is and how it is used. Possible options are, the vector ...
Justme's user avatar
  • 143k
0 votes

Where should the interrupt vector table be placed in memory on STM32H7A3RGT6 chips?

"Privileged software can write to the VTOR to relocate the vector table start address to a different memory location, in the range 0x00000000 to 0xFFFFFF80." Generally, I would expect the ...
danmcb's user avatar
  • 6,824
0 votes
Accepted

How to consistently read two counter registers across PDEC and TCC on SAMD51

I finally realized that I was overthinking the problem and trying to depend too much on hardware. By letting hardware do most of the work, software can make up for the shortcomings - specifically the ...
Scott Duckworth's user avatar
0 votes
Accepted

Power Supply for STM32G071CxU microcontroller (VDD/VDDA vs VREF+ for analog peripherals)

Data sheets and reference designs are just suggestions. Everywhere (AN5690, Discovery schematics) there are two caps shown on VREF+ pin, but sometimes there is 1uF and 100nF, sometimes 1uF and 10nF. ...
Justme's user avatar
  • 143k
0 votes

TXE bit not reset in USART communication

I was confronted with exactly above problem. A timer based interrupt handler was used to test the USART TXE flag and write the next data to the DR register. However, the TXE flag did not reset. My ...
cool53's user avatar
  • 1
0 votes

Using ARM Cortex on breadboard

There does not exist physical CPUs that only contain an ARM Cortex-M4 core with no peripherals. You always get them integrated with peripherals so you have an MCU.
Justme's user avatar
  • 143k
2 votes
Accepted

Using ARM Cortex on breadboard

You're confusing a couple of things here. Arm themselves sell Microprocessor core architectures and core layouts for putting in an IC. You need to have access to a chip factory and extensive tooling ...
Marcus Müller's user avatar
2 votes

Using ARM Cortex on breadboard

You can get ARM Cortex M4 on small boards that can be used on a breadboard, for example, the so-called "Black Pill", which are in a form factor similar to an Arduino Nano. There are many ...
Spehro Pefhany's user avatar
0 votes

Using ARM Cortex on breadboard

I think you're mixing things up here. ARM-Cortex M4 is the CPU core type (basically the language the CPU talks), STM32F429ZIT6 the actual microcontroller you can buy. There are other microcontrollers ...
PMF's user avatar
  • 552

Top 50 recent answers are included