Skip to main content

Questions tagged [cortex-m]

Cortex-M is a series of ARM processor cores intended for microcontroller applications. ARM licenses the design to third-party chip manufacturers and does not manufacture devices themselves. They are promoted as being suitable for low-power / cost sensitive applications that still need high performance.

1 vote
1 answer
62 views

SWD scan failing for STM32H747 using a BlackMagicProbev2.3

I'm trying to debug an Arduino R1 Giga WiFi board with a STM32H747XIH6 mcu, which is a dual-core ARM Cortex-M4 and Cortex-M7 chip, using a Black Magic Probe v2.3 (BMP) from 1bitSquared. I've managed ...
Antonio Bassi's user avatar
2 votes
3 answers
169 views

ARM Cortex-M Processor Reset Behavior

I am trying to understand the ARM cortex-M hardware behavior on reset; particularly how the SP and PC values are written upon a cold start or hard reset. A quick search did find a few similar ...
NeedToKnow's user avatar
1 vote
1 answer
189 views

STM32F401 / Black Pill - PWM timer causes periodic ADC offset

I'm building a firmware to capture very short burst signals through the ADC on a STM32F401CC (Black Pill board). I have a 100 Hz PWM output running on a different GPIO group The ADC readout gets ...
Eugene Pankov's user avatar
0 votes
1 answer
55 views

Difference between Systick exception handler and Sytick interrupt handler. do all cpu exceptions also have IRQ handlers?

THIS IS WHAT MY UNDERSTANDING Is Systick an exception or an interrupt? since it is one among the list of cpu exceptions, I'm coming to conclusion, systick as an exception. since it is an exception, it ...
Challa Harikrishna's user avatar
0 votes
1 answer
103 views

RN8213 software pack for Keil µVision 5

I am having a problem developing a firmware for RN8213 Cortex-M0 microcontroller from Renergy company. I installed the Keil µVision 5 development tool but I can't find the software package for RN8213 ...
Addisu Alemayehu's user avatar
0 votes
1 answer
378 views

eMMC initialisation questions about CMD line and its handshake commands

I'm trying to a new board working that has an eMMC connected to an iMX RT1062 via a multipelxer. On the previous board, without a multiplexer it worked, but I don't have one of these boards to compare ...
DiBosco's user avatar
  • 1,394
3 votes
1 answer
96 views

How to start the user firmware after the bootloader firmware has finished in a Cortex-M3?

I'm trying to figure out the sequence of booting between bootloader and user firmware in the Cortex-M3. The Cortex-M3 design supports basic examples such as "Hello". Here is the snippet for ...
Carter's user avatar
  • 619
1 vote
1 answer
309 views

Exception vs interrupt for Cortex-M chip

I'm not sure how to use the terms "exception" and "interrupt" correctly. In the book Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C it says: "...
gbt's user avatar
  • 713
16 votes
3 answers
3k views

Confusion about USA export restriction regarding electronics

I am an electronic hobbyist based in Canada. Recently I bought different Microcontroller development boards from Mouser.ca This is mostly to satisfy my curiosity and to try out the different features ...
Lexx32117's user avatar
  • 185
3 votes
0 answers
129 views

FreeRTOS is slow to wake after long processor sleep

(Cross-posted on Stack Overflow) I'm using FreeRTOS in an application which requires the processor to sleep in low power mode for a long time (as long as 12 hours), then wake up in response to an ...
harry courtice's user avatar
1 vote
1 answer
194 views

Resizing a vector with ARM CMSIS DSP on Teensy 4.0 (Cortex M7)

I have the following code that does the resizing of a 1D vector with nearest neighbor interpolation in a similar fashion you'd also resize an image, only in 1D rather than 2D. Another term would be ...
Max Walczak's user avatar
0 votes
1 answer
207 views

STM32H743 MDMA can't access APB2

I have a code that mdma can access any variable feed to it by &var (AXI SRAM) also I have gave it an address of ADC common registers from APB1 but adress from APB2 &hrng.Instance.DR causes ...
mohammadsdtmnd's user avatar
11 votes
3 answers
3k views

Why do we see one, unified memory address space in ARM Cortex-M core based MCUs even though they have Harvard architecture?

Most of the ARM Cortex-M core based MCUs have Harvard architecture (except for Cortex-M0 and M0+.) The thing I do not understand is that why we see only one memory address space. For example, in tge ...
gvg's user avatar
  • 163
0 votes
1 answer
346 views

Is QSPI pseudo-sram here to stay? [closed]

Doing a new design for a industrial printer that was using an expensive SRAM part on an old Hitachi part. The new Cortex M processor has limited bus pins, and we're thinking of putting a QSPI RAM on ...
Larry_C's user avatar
  • 183
0 votes
1 answer
233 views

TM4C123GXL Tiva launchpad: Hardware Fault when debugging in Keil Microvision

I got a weird problem last night. Here is a simple program that uses pin PA7 to drive a LED: ...
Nicholas Humphrey's user avatar

15 30 50 per page
1
2 3 4 5
11