cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-IDP004V1 (master-board) either not communicating to PC through RS485 or not detecting a sensor out of the box

Pmond
Associate II

Hi,

We have recently purchased the STEVAL-BFA001V1B kit and planned to connect the STEVAL-IDP004V1 to the STEVAL-IDP005V1 as we planned to use the STEVAL-IDP004V1 GUI interface to allow for streaming off data from the sensor.

The manuals we have used are:

https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/47/a2/91/a0/fe/ca/42/89/steval-bfa001v1b_getting_started_guide/files/steval-bfa001v1b_quick_start_guide.pdf/jcr:content/translations/en.steval-bfa001v1b_quick_start_guide.pdf

https://www.avnet.com/opasdata/d120001/medias/docus/190/STEVAL-BFA001V1B%20User%20Manual.pdf

They make reference to updating the firmware of the STEVAL-IDP005V1 through dragging across "STEVAL-IDP005_ConditionMonitoring_IOL_v1.1.0.bin." The GUI after doing this results in the following error:

"[>> TX] START

[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA

[>> TX] COMMAND END

[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA

[ERR] Communication with STEVAL-IDP004V1 BOARD failed.

Please reset the BOARD and the GUI and retry."

The 2nd manual refers to disconnect the assembly that we tried with no hope of any differences.

The STEVAL-IDP004V1 itself has 4 green flashes lights for each sensor (sensor 1, sensor 2 and so fourth) that has not changed implying that the sensor (STEVAL-IDP005V1) is not detected as a sensor.

Additionally, we are unable to determine whether there is any communication between the STEVAL-IDP004V1 and the PC.

We have uploaded another project (Condition_Monitoring_SRV) through the System Workbench by running/debugging and then connected through putty which following a reset of the STEVAL-IDP005V1 means data is streamed from the sensor.

After changing the baud rate to 38400, GUI application works to some extend but fails on sensor command.

I am following the user manual but the baud rate mentioned in it is completely different.!!!

***************************************************************

[>> TX] START

[<< RX] *********************************

* STMicroelectronics *

* IO - Link MULTI-PORT SOLUTION *

*********************************

SELECT MASTER OR DEVICE

[>> TX] MASTER

[<< RX]

INSERT ADDRESS IC

[>> TX] 0

[<< RX]

INSERT OPERATING MODE

[>> TX] WR_S

[<< RX]

INSERT REGISTER VALUE

[>> TX] 096,248,033,122,122,122,122,

[<< RX]

PROGRAMMING DONE

[>> TX] COMMAND END

[<< RX]

SELECT MASTER OR DEVICE

[>> TX] DEVICE

[<< RX]

INSERT SLAVE NODE

[>> TX] 0

[<< RX]

INSERT SENSOR COMMAND

[>> TX] IDS

[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA

[>> TX] COMMAND END

[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA I=I5R?

[ERR] IDS COMMAND FAIL - NODE 0 - ATTEMPT 1

[ERR] Communication with STEVAL-IDP004V1 BOARD failed.

Please reset the BOARD and the GUI and retry.

***************************************************************

We managed to connect the GUI using RS485 connection but with the baud rate of 38400.

After programming the sensor from STSW-BFA001V1_v1.1.0 zip for \STSW-BFA001V1_v1.1.0\Projects\Demonstrations\Condition_Monitoring_IOL

Still not sure why sensor is not responding/initializing or there are any communication error.

Following is the output in GUI console window.

*************************************************************************

SELECT MASTER OR DEVICE

[>> TX] MASTER

[<< RX] 

INSERT ADDRESS IC

[>> TX] 0

[<< RX] 

INSERT OPERATING MODE

[>> TX] WR_S

[<< RX] 

INSERT REGISTER VALUE

[>> TX] 096,248,033,122,122,122,122,

[<< RX] 

PROGRAMMING DONE

[>> TX] COMMAND END

[<< RX] 

SELECT MASTER OR DEVICE

[>> TX] DEVICE

[<< RX] 

INSERT SLAVE NODE

[>> TX] 0

[<< RX] 

INSERT SENSOR COMMAND

[>> TX] IDS

[*ERR*] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA 

[>> TX] COMMAND END

[*ERR*] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA I=I5R?

[*ERR*] IDS COMMAND FAIL - NODE 0 - ATTEMPT 1

[*ERR*] Communication with STEVAL-IDP004V1 BOARD failed.

    Please reset the BOARD and the GUI and retry

*************************************************************************

Any help is admirable..

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @Pmond​ , for the sake of completeness I redirect you to the Interface And Connectivity ICs community for this Q&A --> link

Regards