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.

LMP91000EVM: I am using LMP91000 Eval Kit with PIC32MM0064GPL036 microcontroller and I am having issue in measuring Vout

Part Number: LMP91000EVM
Other Parts Discussed in Thread: LMP91000

I am new to LMP91000 boards, I am trying to communicate with LMP91000 using PIC32MM0064GPL036. I am using I2C bit bang code, since this PIC doesn't have hardware modules. I do not have any sensor connected to LMP91000 eval board. I am just trying to change the bias value and check the Vout for different bias value. Even when I change the bias, the voltage at all electrodes and Vout is not changing [CE, RE: 1.57,, WE: 1.1, Vout: 2.88]. I am not sure if there is an issue with the code or LMP91000. I am simply using resistor network between CE, RE, WE. I am attaching a picture of the resistor network. Here's some lines of my code:

IO_RA1_SetValue(0); //MENB Low
TX_BUFFER_I2C3[0]= 0x00;
DRIVERI2C3__F_writeI2C3(0x90,0x01,(1),(uint8_t *)&TX_BUFFER_I2C3[0]); //Unlock
IO_RA1_SetValue(1);///MENB High
DELAY_microseconds(1000);

IO_RA1_SetValue(0);
TX_BUFFER_I2C3[0]= (0x30|0x0D); //change 0x00 to 0x0D;
DRIVERI2C3__F_writeI2C3(0x90,0x11,(1),(uint8_t *)&TX_BUFFER_I2C3[0]); //set bias REFCN
IO_RA1_SetValue(1);
DELAY_microseconds(1000);

IO_RA1_SetValue(0);
TX_BUFFER_I2C3[0]= (0x03);
DRIVERI2C3__F_writeI2C3(0x90,0x12,(1),(uint8_t *)&TX_BUFFER_I2C3[0]); //set MODECN to 3-lead cell
IO_RA1_SetValue(1);
DELAY_microseconds(1000);

  • Dear Bhargava - 

    The user manual for the EVM is here: http://www.ti.com/lit/ug/snau121a/snau121a.pdf

    Please ensure you have all the jumpers and so forth set correctly. 

    WRT to code support, we have MSP430 code example with application note here: 

    (app note)

     

    (MSP4305xx based code example)

  • Hi Josh,

    Thank you for the response. I think the code is correct and the jumpers are also correct. I am writing to bias registers and then reading them from registers. The values are changing, my question is does the LMP91000 work correctly with just resistor network? I am using 10K resistors. The voltages I am seeing now at CE, RE, WE are 2.49 and Vout is 2.48 when bias ref is 0%. I am using internal reference and when I change the bias to 24%, the voltages at CE, RE and WE is 2.37 and Vout is same as well. Is that what is expected? I am new to this device and I am still trying to understand the working.

  • I would recommend getting a sensor and following test procedure found on page 26 of the datasheet.