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