A71CH on stm32, keep getting "Unexpected Sequence" error

Showing results for 
Search instead for 
Did you mean: 

A71CH on stm32, keep getting "Unexpected Sequence" error

Contributor I

Hello, I have been trying to interface A71CH with my STM board B-L475E-IOT01a over i2C for the last two weeks without success. I am stuck on some parts and I could your guidance on the topics below.

  • Altough my i2c signals match the ones in your datasheet (AN12207) .I am getting 167 to my status queries and device is stuck in this mode until i perform a cold reset. After the reset device returns 7 as a response to my status command for once which is the expected behavior then goes back to sending 167 and stuck there.Below you can see my Status message with repeated start condition in accordance with your "read byte" messages.Error code 167 means unexpected sequence error according to the datasheet but everything seems to be right.


  • Is there a guide about how to use the IC without your source files ? For example I want to init the module but all I can find is your smComSI2C_Open() function. To init the A71CH , I am calling
    sci2c_GetStatus -> sci2c_Wakeup() -> sci2c_ReadAnswerToReset() ->sci2c_ParameterExchange
    respectiverly. Is there a document on this sequence .
smComSCI2C_Open(ESTABLISH_SCI2C, 0x00, Atr, &AtrLen)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport


Sorry for the inconvenience this might cause you, but we do not have such guides, nonetheless, the only thing I can think of it's that you use our files as a base for your issue. 



0 Kudos