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.

IWR6843AOP: IWR6843

Part Number: IWR6843AOP
Other Parts Discussed in Thread: IWR6843

Tool/software:

Hi, 

I'm trying to connect the IWR6843 to ESP32 microcontroller using SPI, and i'm getting a very strange behavior. I'm using TI as master and i even lowered the bit rate to 1KHz  trying to debug this issue.
when using 

when csHold=0 i'm seeing the clock running without CS activation.
with csHold = 1 i'm also getting a lot of errors
I've tried different  frameFormat and also using the another gpio as the CS signal which give for now the best results.
but from some reason I need to use different frameFormat for the Master (TI-IWR6843) and the Slave, this is the only way i can get some communication through. [ 
(master) SPI_POL0_PHA1 (slave) SPI_POL0_PHA0] and I know i'm not supposed to this as this is a bad practice but this the only way it works.
  
I will thank you for your help, maybe i'm configuring something wrong.
Thanks in advance 
Or Ben Zion

SPI bus configuration is

    /* SPIA_MOSI */
    Pinmux_Set_OverrideCtrl(SOC_XWR68XX_PIND13_PADAD, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
    Pinmux_Set_FuncSel(SOC_XWR68XX_PIND13_PADAD, SOC_XWR68XX_PIND13_PADAD_SPIA_MOSI);

    /* SPIA_MISO */
    Pinmux_Set_OverrideCtrl(SOC_XWR68XX_PINE14_PADAE, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
    Pinmux_Set_FuncSel(SOC_XWR68XX_PINE14_PADAE, SOC_XWR68XX_PINE14_PADAE_SPIA_MISO);

    /* SPIA_CLK */
    Pinmux_Set_OverrideCtrl(SOC_XWR68XX_PINE13_PADAF, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
    Pinmux_Set_FuncSel(SOC_XWR68XX_PINE13_PADAF, SOC_XWR68XX_PINE13_PADAF_SPIA_CLK);

    /* SPIA_CS */
    Pinmux_Set_OverrideCtrl(SOC_XWR68XX_PINE15_PADAG, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
    Pinmux_Set_FuncSel(SOC_XWR68XX_PINE15_PADAG, SOC_XWR68XX_PINE15_PADAG_SPIA_CSN);