• 【Cortex-M4 with STM32F412RG】

    Kieron Kotaroh Nakamura
    Kieron Kotaroh Nakamura

    I am now composing functions to wake up Cortex-M4 with STM32F412RG embedded on Arduino using timers after making Cortex-M4 deep sleep mode.

    In realising the functionality above, peripheral clocks should be operated by some sources, Since deep sleep mode…

    • Answered
    • 5 days ago
    • Processors
    • Cortex-M / M-Profile forum
  • Compiling libgcc not optimized

    EnricoTabanelli
    EnricoTabanelli

    Good moorning,

    I am trying to compile libgcc for arm-none-eabi target from scratch, since I need to compare Floating Point SW emulation on an ARM Cortex-M4 and Risc-V based processors. The problem is that by default GCC includes the optimized version…

    • 3 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Example of what happpens inside the Cortex-M 4

    Frederikke Kold
    Frederikke Kold

    Hello i am a student at cphbusiness in Denmark, and i am currently doing a research project on the Cortex-m 4. 
    i am hoping someone can help me understand what exactly is going on inside the processor. I have attached a picture, and i am hoping someone…

    • 9 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • STM32H745 dual-core debugging with IAR toolchain

    madhan719
    madhan719

    Hi All!

     

    I am working on STM32H745 dual-core controller and IAR Embedded Workbench for ARM toolchain V8.40.1 for development.

    I have completed all my work on individual core test and debugging with help of ST-Link V3 as debugger but unfortunately, I am…

    • 9 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • timestamp generator register location on Cortex-M4 (PSELCTRL CNTCR)

    schroedingers_katze
    schroedingers_katze

    I am trying to find the location of the register where the timestamp generator can be enabled on a Cortex-M4 processor.

    In the CoreSight SoC Technical Reference Manual on page 3-210 it is mentioned that the register (CNTCR) is in the PSELCTRL region…

    • Answered
    • 11 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • semihosting on 4.9.3 q2 2015

    Neo
    Neo

    Hi,

    I had a small program which was  run on a CM4 and it was using semihosting.

    The code works fine wiht 4.9.3 q1 2015.

    When I picked the latest 4.9.3 q2 2015  the  program fails to run.

    It cannot allocate memory from heap.

    So I tried a sample…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Suggestion on suitable arm processor

    Ma Seet Ting
    Ma Seet Ting

    Hi all. Nice to meet you all and glad that I have a chance to join this group=)
    Recently, I will do my final year project with the title of "Smart Home Control Using Brain Wave". Yet, I am not really sure on which arm that I should choose><…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Question on clock gating for AHB -lite bus matrix for CM4 based system

    Dhaval
    Dhaval

    Joseph,

    We are using CM4 and AHB -lite bus components from ARM system development kit. We have 3 different AHB masters in the system, including CM4.

    I am wondering if we could use HTRANS from each master and combined that information to gate the AHB-lite…

    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • clock configuration of xmc4100

    harshan
    harshan

    Greetings,

                   sir/madam i am working on xmc4100 after reading the reference manual i am tried to configure the clock (CCU) which was present under system control unit (SCU…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Question about bit-banding for Tiva M4 core

    Robert
    Robert

    Hi,

    I read example projects of Tiva-C 1294. There are many similar uses '    GPIOPinWrite(GPIO_PORTH_BASE, GPIO_PIN_2, GPIO_PIN_2);'

    The prototype is :

    extern void GPIOPinWrite(uint32_t ui32Port, uint8_t ui8Pins, uint8_t ui8Val)…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • M4/M0 dual core application. M0 fails to start

    Bo Mellberg
    Bo Mellberg

    Hello everyone,

    I have an LPC4337 running uCLinux. I'm trying to get code to run in the M0 in parallell.

    I load the code to 0x10080000, set the M0APPMEMMAP to 0x10080000, release the M0APP Reset and nothing happens. I have to reset the M0-core using…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Problem in copying functions to RAM on ARM Cortex-M

    Freddie Chopin
    Freddie Chopin

    I'm (again) facing a very strange problem in my project for ARM Cortex-M4 (STM32F301K8). The project requires some of the functions to be executed from RAM (it's actually a bootloader with encryption and option to self-update, but that doesn't matter…

    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • "Dormant Mode" for Cortex M3/M4

    Steven Dennis
    Steven Dennis

    Hi,

    We are interested in minimizing startup time from deep sleep mode.

    Some of the older ARM cores implement a dormant mode whereby the CPU core context (state) is written to RAM prior powering it down, and then then restored after the CPU core  is powered…

    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Problem running copied code into flash

    Luís Rafael dos Santos Afonso
    Luís Rafael dos Santos Afonso

    Hi everyone,

    So I have a question.

    I have a ARM-M4 and for what I can tell this has both ARM and Thumb assembly. Meaning sometimes it interprets a 32 bit instruction as 2 16bit ones, some of the times.

    How does that work? How does it know how to go about…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • wfi in debug mode

    sandeep
    sandeep

    Hi,

    Please help me understand expected behavior of CM4 when CM4 is in debug mode and WFI is executed through single step.

    Does CM4 enter sleep/sleepdeep in such case ?

    Thanks,

    Sandeep

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Can anyone tell me where I can download the latest Cortex M4 Technical Reference Manual

    Peter Grey
    Peter Grey

    Where are the Technical Reference manuals located?

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Do ARM processors have power good signal to check quality of incoming power?

    nirmalaranawat
    nirmalaranawat

    I am working on one of TI's SOC using ARM M-4 processor. I was wondering if the ARM processors have any Power Good signal which can be used in software stack to control flow of application.

    Or storing some data before power goes out completely.

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Does anyone use assembler only with an ARM MCU?

    Peter Grey
    Peter Grey

    I have only used assembler when working with MCU's. I can follow a C program but have not used it in any commercial product. Can anyone suggest a development platform to start off learning the ARM and C? I would probably work on a Cortex M4F as a start…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • PSP Stack Pointer, what memory address does it point to?

    Murtuza Quaizar
    Murtuza Quaizar

    In the ARM Cortex M4, If the PSP stack pointer is configured, what address space does it point to?  Is it the same address space as the MSP (main stack pointer)? Or do we create a new and separate stack for it?  And how do we configure the TOP of stack…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • What is the meaning of a 64 bit aligned stack pointer address?

    Murtuza Quaizar
    Murtuza Quaizar

    According to ARM Architecture Procedure Call Standard (AAPCS) on the ARMv6-M, and ARMv7-M architecture in  it says:

    "Although the processor hardware allows SP to be at any word aligned address at function boundaries, standard programming practice…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • My application seems to be dropping interrupts; does returning from an interrupt clear its pending flag?

    Rohit Grover
    Rohit Grover

    I'm working with a Cortex M4 (Freescale's Freedom-K64F dev-board). I'm trying to write a long sequence of data to flash. The state machine for this sequence operates in the interrupt handler. This means that in the handler for the processor's flash-controller…

    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • about tail chaning of Cortex-M0

    下田敏郎
    下田敏郎

    Hello.

    I'm studying about the tail chaining of Cortex-M0.

    Is it same as Cortex-M3 or M4?

    Best regards.

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • DSP instruction for x*x + y*y. Does it exist?

    Matic
    Matic

    Hello all!

    I am new to ARM community and this is my first question here. I work on embedded systems where we use Cortex-M4 based MCUs (concretely STM32F3 series). I would like to ask, if there is a DSP instruction which would calculate x*x + y*y.

    x and…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • How to get absolute value of a 32-bit signed integer as fast as possible?

    Matic
    Matic

    Hi.

    I wonder how to calculate absolute value of a 32-bit signed integer in C as fast as possible. I saw that there is a FPU instruction VABS.F32, which do that in one cycle (above the floats). I thought, if it is possible to use it also with integers …

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Bit-banding in SRAM region (Cortex-M4)

    Matic
    Matic

    Hi.

    I would like to use bit-banding feature in SRAM, but don't know exactly how to implement it with C. I already use bit-banding in peripheral region with this kind of macro:

    #define BITBAND_PERI_REF        0x40000000…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • View related content throughout Processors
  • More
  • Cancel
>