Target
NUCLEO_L476RG
For info, the test is OK on NUCLEO_F429ZI, NUCLEO_F412ZG, NUCLEO_F401RE
Seems related to the I2C IP version embedded in the MCU. To be checked.
Toolchain:
GCC_ARM
Toolchain version:
5.4 2016q3
mbed-os:
mbed-os-5.4
Expected behavior
Test is PASS
Actual behavior
Test if FAIL
Steps to reproduce
'mbed test' + ci-test shield
@bcostm
Just tested ok with ARM and GCC_ARM here ... there must be something different, so needs to be understood
+-------------------+---------------+---------------+--------+--------------------+-------------+
| target | platform_name | test suite | result | elapsed_time (sec) | copy_method |
+-------------------+---------------+---------------+--------+--------------------+-------------+
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | OK | 13.81 | shell |
+-------------------+---------------+---------------+--------+--------------------+-------------+
mbedgt: test suite results: 1 OK
mbedgt: test case report:
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) |
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 10 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 100 Bytes | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 2 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR Single Byte | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - Instantiation of I2C Object | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - LM75B Temperature Read | 1 | 0 | OK | 0.06 |
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
+-----------------------+---------------+---------------+--------+--------------------+-------------+
| target | platform_name | test suite | result | elapsed_time (sec) | copy_method |
+-----------------------+---------------+---------------+--------+--------------------+-------------+
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | OK | 13.14 | shell |
+-----------------------+---------------+---------------+--------+--------------------+-------------+
mbedgt: test suite results: 1 OK
mbedgt: test case report:
+-----------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) |
+-----------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 10 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 100 Bytes | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 2 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR Single Byte | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - Instantiation of I2C Object | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - LM75B Temperature Read | 1 | 0 | OK | 0.06 |
+-----------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
@bcostm - I think this is due to https://github.com/ARMmbed/ci-test-shield/issues/22
The I2C library needs to be updated, which I've done locally, but this hasn't been done in the ci-test-shield official repo yet ...
This should be now resolved as ci-test-shield was fixed
Just for reference, I have verified the I2C tests and they are OK now.
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) |
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 10 Bytes | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 100 Bytes | 1 | 0 | OK | 0.1 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 2 Bytes | 1 | 0 | OK | 0.1 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR Single Byte | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 10 Bytes | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 100 Bytes | 1 | 0 | OK | 0.05 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 2 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR Single Byte | 1 | 0 | OK | 0.05 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - Instantiation of I2C Object | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-i2c | I2C - LM75B Temperature Read | 1 | 0 | OK | 0.07 |
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
+-----------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) |
+-----------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 10 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 100 Bytes | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 2 Bytes | 1 | 0 | OK | 0.05 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR Single Byte | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 10 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 100 Bytes | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 2 Bytes | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR Single Byte | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - Instantiation of I2C Object | 1 | 0 | OK | 0.08 |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-i2c | I2C - LM75B Temperature Read | 1 | 0 | OK | 0.04 |
+-----------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) |
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 10 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 100 Bytes | 1 | 0 | OK | 0.09 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR 2 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm 2nd WR Single Byte | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 10 Bytes | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 100 Bytes | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR 2 Bytes | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - EEProm WR Single Byte | 1 | 0 | OK | 0.07 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - Instantiation of I2C Object | 1 | 0 | OK | 0.06 |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-i2c | I2C - LM75B Temperature Read | 1 | 0 | OK | 0.06 |
+-------------------+---------------+---------------+------------------------------------+--------+--------+--------+--------------------+
ci-test-shield version:
53f8fcb Merge pull request #45 from jeromecoutant/PR_PIN
mbed-os version:
f4864dc Merge pull request #3930 from ARMmbed/release-candidate