• How to set a PIN for input and make it intially as low
    I am using LPC2148 for my development purpose. I am trying to set PINs 15 and 16 as input and initially make it low: #include <lpc214x.h> #define LED1    (1 << 10) #define LED2    (1 << 11) #define BUTTON1...
  • PWM code not running on LPC2129 board but working on logic analyzer .
    #include<lpc214x.h> int main() { PINSEL0=0x00000002; // P0.0 to P0.15 pins of PORT0 as GPIO PINSEL1=0x00000000; // P0.21 Pin of PORT0 as PWM PINSEL2=0x00000000; // P1.16 to P1.31 pins of PORT1...
  • Run CM3 hex image in Modelsim
    Hi, is there some guide which shows how to run a Keil hex mage for Cortex M3 in Modelsim? To be more specific, I want to run an interactive simulation in Modelsim of my Cortex M3 design and associated...
  • Cortex_M0 simulation fail
    Deare I am using Cortex-M0 DesignStart Pro. When I use my program to simulation, I found the HADDR from 0, to 4, and the to ffff_fffd8, the HRDATA is 0x2000_06f8 and 0x800_0159,the HADDR should not...
  • Hard fault : Cortex M0+ platform.
    Hello, Micro-Controller platform: STM32L0x1 Environment: Bare-Metal (No OS) Brief description of the problem: From interrupt context, we are trying to copy information received to EEPROM. Soon...