OpenCores
no use no use 1/1 no use no use
Hardware interrupt not working
by scorpion on Oct 28, 2020
scorpion
Posts: 5
Joined: Jan 19, 2012
Last seen: Mar 30, 2021
I'm running OpenMSP430 in Vivado. I am simply trying to implement a button.

P1DIR = 0x00;
P1IE = 0x01;
P1IES = 0x00;
P1IFG = 0x00;

interrupt(PORT1_VECTOR) port1_isr(void) {
P3OUT=40;
P1IFG &= ~0x01;
}

Setting a constant value on p1_din does not change the value of P3OUT though. What could be causing this. Maybe my PMEM and DMEM configurations?
no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.