This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-MSP430FR2476: SPI polling interrupt from MAX17841 slave

Part Number: LP-MSP430FR2476

Hi,

I have much improved results to the MAX17841 wakeup sequence For some reason, this is currently observed with only one MAX17853 connected to the MAX17841. Previously, I could use the Maxim evaluation GUI to talk to two MAX17853 connected to the MAX17841.

All SPI transactions coming out of the MSP 430 look accurate on the scope, including responses from the MAX17853. But the INT' input from the MAX17841 is not triggering at the end of wakeup. I appreciate pointers on why this may be the case. Enabling different receive interrupt flags is not making a difference (Transaction 2).

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <driverlib.h>
#include <msp430.h>
#include "clock~.h" // Clock configurations
static uint8_t TXData = 0; //transaction count
static uint8_t RXData = 0; //SPI receive byte
typedef struct {
uint8_t Len;
uint8_t Data[5];
} spi_MaximTrans_t;
static spi_MaximTrans_t DCInit_transactions[15];
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • How do you tell that /INT isn't asserting? Are you watching (a) the scope or (b) the P1.0 LED?

    I don't see where you enable interrupts (GIE). Try inserting this just before you start the transaction list:

    > __enable_interrupt();  // GIE=1

**Attention** This is a public forum