This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR2944: AWR2944 SPIA with PMIC issue

Part Number: AWR2944
Other Parts Discussed in Thread: SYSCONFIG

Hello team,

I have the same issue as the one in below link:
AWR2944: SPIA setting for PMIC control - Sensors forum - Sensors - TI E2E support forums

Due to custom board design we are using same configuration as in SDK except pin configuration and SPIA instead of SPIB.

We are reading PMIC registers and getting zeros.

Unfortunately the final answer wasn't written in the previous thread so could you please tell me the result of your analysis.

  • Small update, after updating DMA request line, I was able to read PMIC registers like IDs but when your code tries to unlock the PMIC using lock registers, and read the status back.

    We get locked status and there is SPI communication error flag set in PMIC as well.

    Here is text file containing all registers values from PMIC chip.
    Also we tried to clear COMM_FRM_ERR_INT and  COMM_FRM_ERR_SWINT but it after reading the registers again we see that they are not cleared.

    REG_ID    ,  REG_Value
    0x00000001,  0x00000096
    0x00000002,  0x000000A1
    0x00000003,  0x0000000A
    0x00000004,  0x00000001
    0x00000005,  0x00000000
    0x00000006,  0x000000DF
    0x00000007,  0x00000000
    0x00000008,  0x00000000
    0x00000009,  0x00000000
    0x0000000A,  0x00000001
    0x0000000B,  0x00000000
    0x0000000C,  0x00000000
    0x0000000D,  0x00000000
    0x0000000E,  0x00000000
    0x0000000F,  0x00000000
    0x00000010,  0x00000003
    0x00000011,  0x00000004
    0x00000012,  0x0000002D
    0x00000013,  0x00000005
    0x00000014,  0x0000000F
    0x00000015,  0x0000002D
    0x00000016,  0x00000056
    0x00000017,  0x00000056
    0x00000018,  0x00000056
    0x00000019,  0x00000050
    0x0000001A,  0x00000005
    0x0000001B,  0x0000002D
    0x0000001C,  0x00000030
    0x0000001D,  0x000000F2
    0x0000001E,  0x00000050
    0x0000001F,  0x00000068
    0x00000020,  0x000000F4
    0x00000021,  0x00000001
    0x00000022,  0x00000004
    0x00000023,  0x00000003
    0x00000024,  0x00000000
    0x00000025,  0x00000002
    0x00000026,  0x00000004
    0x00000027,  0x00000000
    0x00000028,  0x00000009
    0x00000029,  0x000000EE
    0x0000002A,  0x0000001D
    0x0000002B,  0x000000AA
    0x0000002C,  0x000000AA
    0x0000002D,  0x00000096
    0x0000002E,  0x00000044
    0x0000002F,  0x00000044
    0x00000030,  0x00000004
    0x00000031,  0x00000010
    0x00000032,  0x00000000
    0x00000033,  0x000000C0
    0x00000034,  0x00000030
    0x00000035,  0x00000000
    0x00000036,  0x00000000
    0x00000037,  0x00000027
    0x00000038,  0x000000FF
    0x00000039,  0x00000000
    0x0000003A,  0x00000000
    0x0000003B,  0x00000000
    0x0000003C,  0x00000000
    0x0000003D,  0x00000000
    0x0000003E,  0x00000000
    0x0000003F,  0x00000000
    0x00000040,  0x0000007F
    0x00000041,  0x0000007F
    0x00000042,  0x00000028
    0x00000043,  0x0000000A
    0x00000044,  0x0000003F
    0x00000045,  0x000000F1
    0x00000046,  0x000000C6
    0x00000047,  0x00000098
    0x00000048,  0x00000000
    0x00000049,  0x00000000
    0x0000004A,  0x00000000
    0x0000004B,  0x00000000
    0x0000004C,  0x00000000
    0x0000004D,  0x00000002
    0x0000004E,  0x00000001
    0x0000004F,  0x00000000
    0x00000050,  0x00000000
    0x00000051,  0x00000050
    0x00000052,  0x00000001
    0x00000053,  0x00000000
    0x00000054,  0x00000044
    0x00000055,  0x00000044
    0x00000056,  0x00000004
    0x00000057,  0x00000000
    0x00000058,  0x000000F2
    0x00000059,  0x00000041
    0x0000005A,  0x00000002
    0x0000005B,  0x00000000
    0x0000005C,  0x00000000
    0x0000005D,  0x00000000
    0x0000005E,  0x00000010
    0x0000005F,  0x0000003C
    0x00000060,  0x00000000
    0x00000061,  0x00000000
    0x00000062,  0x00000001
    0x00000063,  0x000000F1
    

  • Hello Andrew,

    Can you tell me which SDK you are using and also are you enabling CS_HOLD or not?

    Regards,
    Saswat Kumar

  • Hi Saswat,

    Latest SDK version.

    Yes CS hold line is enabled. If not even read functionality is not possible.

    BR,

    Andrew

  • Hello Andrew,

    I tested the same on our EVM and it is working, since I think it might be something to do with the hardware of your custom board.
    Let me put in loop the hardware expert.

    Regards,
    Saswat Kumar

  • I have also tried using spi in 3 pin mode but I wasn't able to read or write.

    In this case what should be the level of GPIO and pull up/down internal resistance?

    Please take in consideration that CS pin is pulled down externally outside of the chip.

    I tried to upload sysconfig but the forum doesn't allow me unfortunately.

  • Hello Andrew,

    Would it be ok to discuss this thread offline?

    Thanks,

    E. Shareef

  • Yes please,
    Feel free to contact me through email or setup a meeting to show you needed artifacts.

  • Hello,

    I am not sure if this was discussed offline, but can you please check the workaround suggested in the below thread?

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1115575/awr2944-spia-awr2944-tja1145

    Regards,

    Adrian