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.

TMAG3001EVM: LP-MSPM0l1396 + UART

Part Number: TMAG3001EVM
Other Parts Discussed in Thread: TMAG3001

Tool/software:

Hi Alicia

You upgraded the tmag3001evm_lp-mspm1306 software in December and it performs well. I would like to add a UART to that design to send values to my PC when I request it from the PC. I tried attaching TI demo code which could be sufficient, and adjusting the syscfg,I had mixed results.The code would run for few messages, but then the TMAG3001evm would hangup. The hangup was in I2CReadReg  in the code

while (DL_I2C_getControllerStatus(I2C_0_INST) & DL_I2C_CONTROLLER_STATUS_BUSY_BUS);

Can you help in attaching a UART to your tmag3001 code? I need something simple like no DMA, transmitting and receiving from a fifo,  receiving with a received interrupt. Very simple.

It would be a useful addition to demo code

eric@avidasw.com edulicki@avidasw.com

  • Hi Eric,

    Thank you for posting to the Sensors forum!

    Thank you for the feedback. At the moment we are not planning on adding UART to our example code. I would recommend checking with the MSP team for that as they would have the most knowledge on this subject.

    Regarding the hangup that you are getting, it looks like your I2C communication is getting stuck somewhere. Are you able to check your I2C lines when this is happening? One of them may be stuck low for some reason?

    Best,

    ~Alicia