OM27160 won't connect I2C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OM27160 won't connect I2C

1,652 Views
gredpath
Contributor III

I am trying the example firmware using a OM27160 connected to a LPC55S69-EVK.

I can reprogram the OM27160 using the FW Update example, but can't run any of the other examples. They all failed with "cannot connect to the PNCI device".

In board.h I2C is configured and the address is 0x28 and I haven't changed anythong on either board.

Any idea what I could be missing?.

Thanks

george

0 Kudos
9 Replies

1,570 Views
gredpath
Contributor III

The only example that works is firmware update. After that the I2C won't connect.

0 Kudos

1,558 Views
danielchen
NXP TechSupport
NXP TechSupport

I can reproduce your issue on my side,  I am analyzing this now, will update you when I have result.

Thanks for reporting this issue.

Regards

Daniel

0 Kudos

1,461 Views
gredpath
Contributor III

Any update Daniel in the interim I have purchased a second board, so until this is resolved I assume the advice is not to reprogram it?

Thanks

George

0 Kudos

1,452 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @gredpath 

There is an issue here ,    i2c will not work after the downloaded image boot up. we will fix it in next release.

workaround : you can run the nfcDemoApp with a raspberry pi board. Then the correct image will upgraded from network.

Next , please don't run the Firmware upgrade demo, run other demo directly. it should work.

 

Regards

Daniel

0 Kudos

1,231 Views
gredpath
Contributor III
Any update Daniel on a solution, I purchased a second board, but I would like to recover the original one.
Thanks
George
0 Kudos

1,581 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @gredpath :

For "can't run any of the other examples. They all failed with "cannot connect to the PNCI device" "

could you please let me know how to reproduce your issue on my side? what other demos have your tried with PN7160 and LPC55S69?

 

Regards

Daniel

 

0 Kudos

920 Views
anthonymarsden
Contributor I

Hi Is there an update or fix for this issue as it has caught me out rendering the OM27160A1HN board useless.

0 Kudos

878 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi@gredpath  @anthonymarsden 

I will send an email to  you later today for how to recover this.

Regards

Daniel

0 Kudos

1,645 Views
gredpath
Contributor III

It seems there is an error in the FWUpdate example. It only seems to be loading a portion of the code. I added some printouts in the sFWU.c source and it seems to jump approx 0x200 every time it loads a block of code. I have attached the diagnostics below

Running the NXP-NCI2.0 example (I2C interface)
>> 00 04 f1 00 00 00 6e ef
<< 00 0a 00 71 12 00 02 00 07 00 05 50
Current version: 12.50. 5
Downloading FW version 50.5
Download size = 86EE
>> 00 e4 c0 00 05 50 1c cb 17 cd dd 2a db b9 c0 bf e1 5d 7b fa d6 4a 53 da 23 45 3e 18 9c a9 ...
<< 00 04 00 00 00 00
File Index mcpy = 0xe6 >> 02 26 c0 80 13 20 00 02 06 08 00 04 02 17 03 0a 22 02 00 10 01 18 0f 20 11 02 02 05 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x30e >> 02 26 c0 80 15 20 00 02 00 00 01 ff ff ff ff ff ff ff ff 10 ff ff ff ff 00 ff ff 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x536 >> 02 26 c0 80 17 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x75e >> 02 26 c0 80 19 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x986 >> 02 26 c0 80 1b 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0xbae >> 01 66 c0 80 1d 20 40 01 b4 01 1d 52 ea 01 1e 53 f0 01 1f 53 f0 01 1f 53 f0 01 1f 53 f0 01 ...
<< 00 04 00 00 00 00
File Index mcpy = 0xd16 >> 00 a6 c0 c0 1e 20 80 00 40 00 00 00 02 00 01 00 05 50 00 00 fa af ff ff 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0xdbe >> 00 66 c0 80 1f 20 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0xe26 >> 02 26 c0 00 90 20 00 02 08 00 00 00 0c 08 0f 1b 38 03 00 00 23 34 00 00 5b 92 20 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x104e >> 01 66 c0 00 92 20 40 01 02 99 0f b5 00 f0 74 f8 01 28 00 d0 0f bd 01 48 06 90 0f bd 06 72 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x11b6 >> 02 26 c0 40 93 20 00 02 5c 02 00 00 cf ce 20 00 23 b7 20 00 41 99 20 00 41 99 20 00 41 99 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x13de >> 02 26 c0 40 95 20 00 02 68 46 01 00 f8 d6 00 00 e5 95 20 00 06 d7 00 00 91 23 01 00 97 97 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x1606 >> 02 26 c0 40 97 20 00 02 20 1e 20 00 59 10 10 00 a8 1e 10 00 ff f7 00 00 10 b5 03 49 89 6a ...
<< 00 04 00 00 00 00
File Index mcpy = 0x182e >> 02 26 c0 40 99 20 00 02 70 47 70 47 f8 b5 00 24 07 46 0d 46 01 26 30 46 a0 40 28 42 03 d0 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x1a56 >> 02 26 c0 40 9b 20 00 02 00 d1 02 20 8e 49 c9 6a 49 68 0b 5c d4 2b 27 d1 40 1c 08 5c 8a 4b ...
<< 00 04 00 00 00 00
File Index mcpy = 0x1c7e >> 02 26 c0 40 9d 20 00 02 80 08 80 00 08 43 f8 60 03 26 00 20 01 2e 00 d9 68 08 05 46 01 04 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x1ea6 >> 02 26 c0 40 9f 20 00 02 04 28 13 d0 80 48 00 6a 80 04 0f d4 7d 48 7c 49 80 79 01 28 0b d0 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x20ce >> 02 26 c0 40 a1 20 00 02 a0 1d 20 00 5f 10 10 00 7c 0b 10 00 20 18 10 00 e5 1e 10 00 2c 0e ...
<< 00 04 00 00 00 00
File Index mcpy = 0x22f6 >> 02 26 c0 40 a3 20 00 02 8b 06 28 d5 c9 06 c9 0e 40 1a 40 b2 10 70 00 28 00 da 15 70 f8 bd ...
<< 00 04 00 00 00 00
File Index mcpy = 0x251e >> 02 26 c0 40 a5 20 00 02 00 f0 ce f9 00 f0 95 fa d9 48 00 78 c0 09 64 d0 c9 48 d0 49 00 7f ...
<< 00 04 00 00 00 00
File Index mcpy = 0x2746 >> 02 26 c0 40 a7 20 00 02 05 28 49 d0 06 28 47 d0 03 28 45 d0 02 20 ff f7 e1 fe 64 24 29 e0 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x296e >> 02 26 c0 40 a9 20 00 02 08 30 46 78 27 e0 03 98 a1 00 09 18 00 25 04 22 68 46 14 f6 67 fb ...
<< 00 04 00 00 00 00
File Index mcpy = 0x2b96 >> 02 26 c0 40 ab 20 00 02 05 46 f0 78 04 23 01 09 da 48 f0 22 00 68 ff f7 d0 ff f1 78 00 23 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x2dbe >> 02 26 c0 40 ad 20 00 02 b0 42 04 d9 20 46 00 f0 cd f8 07 46 d7 e7 27 46 d5 e7 52 4d a8 7c ...
<< 00 04 00 00 00 00
File Index mcpy = 0x2fe6 >> 02 26 c0 40 af 20 00 02 ff f7 e2 ff 06 46 07 46 14 28 2a d0 ff f7 84 ff 19 48 1a 49 08 30 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x320e >> 02 26 c0 40 b1 20 00 02 28 78 00 07 80 0f 0b d1 ff 26 6b 4f 2d 36 b8 68 80 01 06 d4 01 20 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x3436 >> 02 26 c0 40 b3 20 00 02 2b 49 88 42 02 d0 2b 49 88 42 01 d1 03 20 10 bd 00 20 10 bd 70 b5 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x365e >> 02 26 c0 40 b5 20 00 02 61 60 26 49 49 7c 01 60 30 bd f0 b5 06 46 25 48 80 79 02 28 2d d0 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x3886 >> 02 26 c0 40 b7 20 00 02 12 78 00 2a 03 d0 02 2a 01 d0 03 2a 0a d1 3e 4d aa 68 01 26 f6 05 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x3aae >> 02 26 c0 40 b9 20 00 02 00 06 00 28 00 db 10 25 30 49 88 68 15 40 90 43 28 43 88 60 16 e0 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x3cd6 >> 02 26 c0 40 bb 20 00 02 70 b5 fb f5 a8 f8 64 4d 00 28 68 60 29 d0 40 68 64 4c a8 60 20 68 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x3efe >> 02 26 c0 40 bd 20 00 02 f7 49 04 70 01 20 08 70 f6 48 04 70 f6 48 04 70 f6 48 04 70 f6 48 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x4126 >> 02 26 c0 40 bf 20 00 02 68 46 80 7b 00 28 37 d0 80 21 03 a8 0a f6 d4 ff 69 46 c9 7b 01 42 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x434e >> 02 26 c0 40 c1 20 00 02 3c 0e 10 00 70 0e 10 00 c0 41 00 40 02 1f 10 00 6c 0e 10 00 7c 0b ...
<< 00 04 00 00 00 00
File Index mcpy = 0x4576 >> 02 26 c0 40 c3 20 00 02 14 2c 01 d1 9b 4a 17 70 8d 48 80 79 02 28 22 d1 f0 6a 40 68 81 78 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x479e >> 02 26 c0 40 c5 20 00 02 f5 f5 e9 fd 1e 49 02 20 08 70 fe bd 09 f6 80 f8 fe bd f8 b5 0a 4d ...
<< 00 04 00 00 00 00
File Index mcpy = 0x49c6 >> 02 26 c0 40 c7 20 00 02 00 28 22 d0 b0 6a 41 68 4b 78 01 2b 19 d1 40 89 00 28 16 d0 89 1c ...
<< 00 04 00 00 00 00
File Index mcpy = 0x4bee >> 02 26 c0 40 c9 20 00 02 06 28 00 d0 37 70 70 78 06 28 00 d0 77 70 08 f6 66 fd 19 48 02 21 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x4e16 >> 02 26 c0 40 cb 20 00 02 08 18 03 79 0c 93 47 79 11 98 bc 46 00 78 98 42 01 d0 ff 28 3f d1 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x503e >> 02 26 c0 40 cd 20 00 02 03 f6 1b f8 04 00 68 46 01 79 0f 98 01 70 02 d1 2c 48 02 21 01 70 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x5266 >> 02 26 c0 40 cf 20 00 02 80 30 01 6a 42 15 91 43 01 62 a2 25 39 48 04 42 24 d0 b0 68 03 21 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x548e >> 02 26 c0 40 d1 20 00 02 08 60 08 bd 0b 48 00 68 70 47 00 00 20 15 20 00 50 11 10 00 5c 0b ...
<< 00 04 00 00 00 00
File Index mcpy = 0x56b6 >> 02 26 c0 40 d3 20 00 02 08 f6 a5 fc 04 46 40 89 69 89 c6 b2 40 18 16 28 01 d9 00 20 38 70 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x58de >> 02 26 c0 40 d5 20 00 02 72 7d 91 42 64 d9 69 21 01 70 61 68 85 20 48 70 02 20 60 81 21 46 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x5b06 >> 02 26 c0 40 d7 20 00 02 28 68 08 f6 eb fa 28 68 11 f6 81 fa d5 e7 ff e7 69 46 28 46 08 f6 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x5d2e >> 02 26 c0 40 d9 20 00 02 08 4c 20 78 00 28 08 d0 00 21 04 20 10 f6 25 fa 07 48 37 70 07 70 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x5f56 >> 02 26 c0 40 db 20 00 02 01 2a 01 d0 00 29 06 d1 70 70 26 49 01 20 08 70 21 48 00 21 01 70 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x617e >> 02 26 c0 40 dd 20 00 02 00 20 08 70 7f bd 60 68 00 05 09 d4 70 48 80 30 01 6a c2 14 11 43 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x63a6 >> 02 26 c0 40 df 20 00 02 6f fc 08 f6 ab f8 04 46 03 28 07 d0 05 20 09 f6 09 fb 22 46 85 21 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x65ce >> 02 26 c0 40 e1 20 00 02 00 28 11 d0 03 28 35 d0 07 28 74 d1 84 e0 13 28 72 d0 14 28 6f d1 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x67f6 >> 02 26 c0 40 e3 20 00 02 04 0f 10 00 b9 14 10 00 ab 0e 10 00 68 14 10 00 00 19 20 00 24 0f ...
<< 00 04 00 00 00 00
File Index mcpy = 0x6a1e >> 02 26 c0 40 e5 20 00 02 86 48 10 b5 28 38 0d f6 3e f8 10 bd 09 68 42 5c 89 2a 02 d1 00 22 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x6c46 >> 02 26 c0 40 e7 20 00 02 a3 43 89 0a 0b 43 93 60 91 68 78 22 c9 0b 11 40 12 4a 11 70 0e f6 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x6e6e >> 02 26 c0 40 e9 20 00 02 19 80 80 68 0c 46 00 78 01 28 07 d0 09 20 18 73 01 21 03 a8 09 f6 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x7096 >> 02 26 c0 40 eb 20 00 02 7f b5 00 21 15 46 00 91 01 91 02 91 6a 46 03 91 10 70 01 24 94 70 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x72be >> 02 26 c0 40 ed 20 00 02 eb 83 47 1e fa 83 47 1e 09 84 47 1e 4c 82 47 1e 78 82 47 1e 9e 82 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x74e6 >> 02 26 c0 40 ef 20 00 02 ff 81 41 ff 03 81 3f 08 08 01 81 41 ff 8e 02 80 34 d5 92 e1 03 80 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x770e >> 02 26 c0 40 f1 20 00 02 81 15 ff 00 02 83 44 ff ff 1f 01 65 0a 00 00 80 2d 05 25 0f 01 04 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x7936 >> 02 26 c0 40 f3 20 00 02 80 85 25 13 00 00 82 2b ff ff 0c 00 02 82 2b ff ff 8d 00 80 2f ef ...
<< 00 04 00 00 00 00
File Index mcpy = 0x7b5e >> 02 26 c0 40 f5 20 00 02 55 e8 20 00 04 00 00 00 00 81 00 00 ad e5 01 00 fc 01 00 00 01 82 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x7d86 >> 02 26 c0 40 f7 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x7fae >> 02 26 c0 40 f9 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x81d6 >> 02 26 c0 40 fb 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x83fe >> 02 26 c0 40 fd 20 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x8626 >> 00 c6 c0 40 ff 20 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
<< 00 04 00 00 00 00
File Index mcpy = 0x86ee Download succeed
>> 00 04 f1 00 00 00 6e ef
<< 00 0a 00 71 12 00 02 00 07 00 05 50
Current version: 12.50. 5

0 Kudos