Jump to content


  • Content count

  • Joined

  • Last visited

  1. FR5969 launchpad, button interrupt code

    Hi everyone, it is probably a very stupid question. But i'm simply trying to toggle a LED(P1.0) by using the button S2(P1.1) which is on the launch pad of FR5969. but it is not wotking at all... #include <msp430.h> void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= 0x01; // Set P1.0 to output direction P1REN = 0x02; ? P1OUT= 0x02; ? P1IE |= 0x02; // P1.1 interrupt enabled P1IES |= 0x02; // P1.1 Hi/lo edge P1IFG &= ~0x02; // P1.1 IFG cleared _BIS_SR(LPM3_bits + GIE); // Enter LPM4 w/interrupt } // Port 1 interrupt service routine #pragma vector=PORT1_VECTOR __interrupt void Port_1(void) { P1OUT ^= 0x01; // P1.0 = toggle P1IFG &= ~0x02; // P1.4 IFG cleared } any suggestions? Thanks in advance Irene
  2. ADC DMA set up MSP430FR5969

    Hi, i would like to move data from ADC12MEM0 from its memory location to a choosen mamoery location by the means of DMA. the ADC is working correctly. Here it follows DMA configuration : __data16_write_addr((unsigned short) &DMA0SA,(unsigned long) ADC_MEM_0_ADDRESS); //SHOULD BE ADC12MEM0 // Source single address __data16_write_addr((unsigned short) &DMA0DA,(unsigned long) IMAGE_START_ADDRESS); // Destination single address DMACTL0 =DMA0TSEL_26; //DMA Trigger Assignments:26==ADC12 end of conversion DMA0SZ =12544; // Block size DMA0CTL = DMADT_4 | DMASRCINCR_0 | DMADSTINCR_3 | DMADSTBYTE |DMASRCBYTE; // Rpt, inc DMA0CTL |= DMAEN; // Enable DMA0 i expect the DMA to transfer 12544 byte at once, and at each ADCcycle i expect DMA0SZ to decrease of one unit. But looking at DMA0SZ durign the dug it seems like it doen't even decreases at any ADC cycle despite what it is written in the datasheet SLAU367b "DMAxSZ register decrements with each word or byte transfer." any tips on what i'm missing? thx in advance irene
  3. MSP430FR5969 launchpad evaluation kit

    Hi, thanks for your reply I've been reading the documentation about mass erase via BSL. But as suggested in here http://www.ti.com/lit/ug/slau319h/slau319h.pdf a dedicated hardweare is needed. my interest would be in recover the micro by using the evaluation board i'm using (http://www.ti.com/tool/msp-bndl-fr5969lcd) otherwise i think i'll go for the fast solution....replace the micro thanks in advance for you kind reply best regards irene
  4. MSP430FR5969 launchpad evaluation kit

    Hi, thanks everyone for the prompt responses @@jazz please reffering to the link you posted I don't understand how to pratically use it. Would you be so kind to be explain it in more details? Sorry but i'm a very newbie thanks in advance for your kind reply best regards Irene
  5. HI, i'm using MSP430FR5969. i would like to better understand how its 64KB memory is organized. From it's datasheet (http://www.ti.com/lit/ds/symlink/msp430fr5969.pdf - pg 23) : Memory (FRAM) Total Size 64KB interrupt vectors 00FFFFh
  6. MSP430FR5969 launchpad evaluation kit

    ok, it just turned out that i've been accidentally writing some datas in between 0xff80 and 0xFFFF FRAM memory which is supposed to be the memory portion reserved for interrupts and signatures. ANy tips on how can i recover from this mess?
  7. Hi, i'm using MSP430FR5969 launchpad evaluation kit. While running the debugger,IAR gave me this error message: "Security fuse blown" Now i can't program the MSP anymore. Is there anyway to recover the MSP430fr5969? (maybe with the help of the evaluation kit board?) P.s. in my code , my intent isn't to blow the security code, the only things i'm doing is to write some datas in memory. Thanks in advance for your kind reply Regards Irene