• Cortex-M3 NVIC, When to clear the interrupt flag
    After some study, trial and error, I created a simple project for a NXP LPC1768, to test its timer interrupt. This project contains only startup_LPC17xx.s, system_LPC17xx.c, C-main.c, and timer.c. ...
  • Need help in understanding NVIC
    Hi, While using statement like; NVIC_SetPriority(I2C_IRQn,Set_priority); What is max & min value for Set_priority. Can two interrupts have same priority. Also when I am in some ISR, how...
  • STM32F107 - NVIC - Priority
    Using a STM32F107VC (on the MCBSTM32C) I am able to setup and run an interupt driven peripheral. However, I am unable to set the priority of that interrupt using the 'Standard Peripheral' functions...
  • HardFault_Handler after NVIC access.
    Used hardware: KEIL ARM MCB1700, eval How can the line: NVIC_EnableIRQ(UART0_IRQn); create an error HardFault 715: NVIC_EnableIRQ(UART0_IRQn); 0x000024B0 2005 MOVS r0,#0x05 0x000024B2 F000F9AF...
  • HardFault_Handler occure when Timer interrupt enableing
    Hi I am using LPC1788 evaluation kit (OEM509 board) and I need to use timer interrupt and CMSIS RTX OS at the same time. here is a part of source code: TIM_ConfigStruct.PrescaleOption=TIM_PRESCALE_USVAL;...