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.

EVM430-FR6047: Communication with EVM430-FR6047

Part Number: EVM430-FR6047

HI,

for a various of reasons, I would need to connect to the EVM430-FR6047 without using the USS Software.

I have tried to use a USB-I2C dongle and connect it directly to the J1 header (COMM-SCL,COMM-SDA,COMM-IRQ). I got this solution to “almost” working, but

Frequently got a I2c time-out as follow:

When requesting the Application version by  giving the 0x99, waiting for the comm_IRQ to go low then reading the response. In the case where there was no warning was issued by the demo board this worked fine.

In the case where there was warning like the “A0 Advanced calibration table” I would miss the response to the 0x99 command.

 

 

 

time

 

Direction

Adr

Data

-2.46E-05

 

 Write

14

55 AA 09 04 97 01 00 00 00 00 9C 00

1.60E-02

 

 Write

14

55 AA 09 04 99 00 00 00 00 00 9D 00

 

 

2.56E-03

 

 Read

15

09 04 A0 01 00 00 00 00 A5 00 FF FF

8.55E-03

 

 Read

15

09 04 A0 01 00 00 00 00 A5 00 FF FF

 

 

 

 

 

 

 

 

 

 

 

Since the original COMM-IRQ timeout is around 2ms, I recompiled and flashed the firmware, increasing the I2CSLAVE_REQ_TOMEOUT_CYCLES in the i2cslave_defs.h.

I could see the from the COMM_IRQ line connected to the oscilloscope that this update was successful and managed to read the response while the comm_IRQ was low. The result was similar as above.

 

Do you have any suggestion on how to resolve this problem ?

Do you have other suggestions on how to solve by original problem, by accessing the EVM430-FR6047 ?

Can I enable the UART protocol then be able to connect via the USB port using the <MSP APPLICATION UART (COM3)> ? If so, will this give me full access ?

All the best

Ole

  • Hello Ole,

    Sorry for a late response to your question - are you still in need of assistance?

  • Hi Ole,

    You should be able to use the UART instead of I2C.  This is a configuration setting in the comm_config.h file.

    Next, add jumpers as shown below.  This will route the packets from the MSP430 to the programmer's backchannel UART.  This will show up as an MSP Application com port in your device manager.  You can then communicate with your Matlab or other application.

    Let me know if this doesn't work for you.

  • Hi Dennis, thanks a lot for your reply.

    I have followed your instruction, but still have not got it to work.

    I made the changes to the comm__config.h, rebuild the application and flashed the board the UART . I tested the board using serial capture application, and I could see the pulses on J3 with an amplitude of 3v3.

    When making the link as suggested in the diagram, the voltage went down to 0.5V. This suggest that the corresponding pin on the microcontroller is either set to a low impedance or that the pin is configured as an output. I will send you a picture of the setup to rule out that I have linked it wrong.

    All the best

    Ole

  • Hi Dennis, thanks a lot for your reply.

    I have followed your instruction, but still have not got it to work.

    I made the changes to the comm__config.h, rebuild the application and flashed the board the UART . I tested the board using serial capture application, and I could see the pulses on J3 with an amplitude of 3v3.

    When making the link as suggested in the diagram, the voltage went down to 0.5V. This suggest that the corresponding pin on the microcontroller is either set to a low impedance or that the pin is configured as an output. I will send you a picture of the setup to rule out that I have linked it wrong.

    All the best

    Ole

  • Hi Ole,

    Strange - let me see if I can set that up on my side.

**Attention** This is a public forum