Other Parts Discussed in Thread: MMWCAS-RF-EVM,
Tool/software:
Hello,
We are having an issue with some custom cascade boards that we designed based on the MMWCAS-RF-EVM board. Note that we are controlling the chips from an MCU. On recent board builds we have observed the below issue occurring intermittently whereby we get this error - 'RF Initialization/Calibration failed with error code -8'. This seems to be what the error code refers to:
#define RL_RET_CODE_RESP_TIMEOUT (-8) /* device failed to send response within time */
Just to note that we are power cycling before running this initialization code so RF Init is only being called once per power cycle. The issue happens intermittently and at random numbers of power cycles - for instance on one occasion after 16 successful initializations or another occasion after the 5th successful initialization. It has been observed in multiple recent builds but hadn't been observed before this to the best of our knowledge (and this part of radar chip initialization code hadn't changed in that time).
We realise that as per the app note relating to this, in a cascade system we should really only be running RF Init once at the factory during radar assembly/calibrations and then applying these coefficients from then on. We plan to implement this in future but for now are running it each time at power on.
Is this likely to be a hardware issue (such as a problem with these specific AWR2243 chips or a PCB assembly issue) or a software issue do you think? Are there any next steps we can take to debug further?
Best regards,
Peter.
Device map 1 : mmWave Device Power on success Device map 1 : CRC Type set for MasterSS success Device map 1 : BSS Power Up Async event Device map 1 : RF Version [ 2. 2. 0.13] Device map 1 : MSS version [ 2. 2. 1. 7] Device map 1 : mmWaveLink version [ 2. 2. 3. 2] Device map 1 : RF Patch Version [ 2. 2. 3. 3] Device map 1 : MSS Patch version [ 2. 2. 2. 0] Device map 1 : Die ID hex value 0 [4607536] Die ID hex value 1 [15] Die ID hex value 2 [31] Die ID hex value 3[26] Device map 1 : Radar/RF subsystem Power up successful ======================Basic/Static Configuration====================== Device map 1 : Calling rlSetChannelConfig With [15]Rx and [7]Tx Channel Enabled Device map 1 : Channel Configuration success Device map 1 : Calling rlSetAdcOutConfig With [2]ADC Bits and [1]ADC Format Device map 1 : AdcOut Configuration success rlsSOPControl: genericMainGPIOHandle: 0xaaaaedbf3e60 Set SOP_LINE_0 Set AWR1_SOP_LINE_1 Set SOP_LINE_1 Set SOP_LINE_2 == Device map 2 : SOP 4 mode successful Full Reset for Device: 1... |RESET Device [1] with cmd[1]: BF |Write cmd: 0x2 0xbf Full Reset for Device: 1... |Pull Device [1] out of RESET with cmd[1]: FF |Write cmd: 0x2 0xff == Device map 2 : Device reset successful [VER] mmWaveLink Studio Version: 1.1.5.4.22.11.18 SPI Port already Open and initalized Setting Chip Select Comm Interfaces Opened Successfully Device [1] Register interrupt handler rlDeviceEnable Callback is called by mmWaveLink for Device Index [1] Device Index [1] rlsEnableDevice Starting IRQ Polling Thread for device: 1 Polling thread already running: 0x30513aa2ffff0000 Device map 2 : MSS Power Up Async event PowerUp Time = 1238927, PowerUp Status 1 = 0x0, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0 Device map 2 : mmWave Device Power on success rlsSOPControl: genericMainGPIOHandle: 0xaaaaedbf3e60 Set SOP_LINE_0 Set AWR1_SOP_LINE_1 Set SOP_LINE_1 Set SOP_LINE_2 == Device map 4 : SOP 4 mode successful Full Reset for Device: 2... |RESET Device [2] with cmd[1]: FE |Write cmd: 0x3 0xfe Full Reset for Device: 2... |Pull Device [2] out of RESET with cmd[1]: FF |Write cmd: 0x3 0xff == Device map 4 : Device reset successful [VER] mmWaveLink Studio Version: 1.1.5.4.22.11.18 SPI Port already Open and initalized Setting Chip Select Comm Interfaces Opened Successfully Device [2] Register interrupt handler rlDeviceEnable Callback is called by mmWaveLink for Device Index [2] Device Index [2] rlsEnableDevice Starting IRQ Polling Thread for device: 2 Polling thread already running: 0x30513aa2ffff0000 Device map 4 : MSS Power Up Async event PowerUp Time = 1236457, PowerUp Status 1 = 0x0, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0 Device map 4 : mmWave Device Power on success rlsSOPControl: genericMainGPIOHandle: 0xaaaaedbf3e60 Set SOP_LINE_0 Set AWR1_SOP_LINE_1 Set SOP_LINE_1 Set SOP_LINE_2 == Device map 8 : SOP 4 mode successful Full Reset for Device: 3... |RESET Device [3] with cmd[1]: FB |Write cmd: 0x3 0xfb Full Reset for Device: 3... |Pull Device [3] out of RESET with cmd[1]: FF |Write cmd: 0x3 0xff == Device map 8 : Device reset successful [VER] mmWaveLink Studio Version: 1.1.5.4.22.11.18 SPI Port already Open and initalized Setting Chip Select Comm Interfaces Opened Successfully Device [3] Register interrupt handler rlDeviceEnable Callback is called by mmWaveLink for Device Index [3] Device Index [3] rlsEnableDevice Starting IRQ Polling Thread for device: 3 Polling thread already running: 0x30513aa2ffff0000 Device map 8 : MSS Power Up Async event PowerUp Time = 1237037, PowerUp Status 1 = 0x0, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0 Device map 8 : mmWave Device Power on success Device map 14 : CRC Type set for MasterSS success Device map 2 : BSS Power Up Async event Device map 4 : BSS Power Up Async event Device map 8 : BSS Power Up Async event Device map 2 : RF Version [ 2. 2. 0.13] Device map 2 : MSS version [ 2. 2. 1. 7] Device map 2 : mmWaveLink version [ 2. 2. 3. 2] Device map 2 : RF Patch Version [ 2. 2. 3. 3] Device map 2 : MSS Patch version [ 2. 2. 2. 0] Device map 2 : Die ID hex value 0 [4607536] Die ID hex value 1 [15] Die ID hex value 2 [47] Die ID hex value 3[11] Device map 4 : RF Version [ 2. 2. 0.13] Device map 4 : MSS version [ 2. 2. 1. 7] Device map 4 : mmWaveLink version [ 2. 2. 3. 2] Device map 4 : RF Patch Version [ 2. 2. 3. 3] Device map 4 : MSS Patch version [ 2. 2. 2. 0] Device map 4 : Die ID hex value 0 [4607536] Die ID hex value 1 [15] Die ID hex value 2 [48] Die ID hex value 3[28] Device map 8 : RF Version [ 2. 2. 0.13] Device map 8 : MSS version [ 2. 2. 1. 7] Device map 8 : mmWaveLink version [ 2. 2. 3. 2] Device map 8 : RF Patch Version [ 2. 2. 3. 3] Device map 8 : MSS Patch version [ 2. 2. 2. 0] Device map 8 : Die ID hex value 0 [4607536] Die ID hex value 1 [16] Die ID hex value 2 [26] Die ID hex value 3[21] Device map 14 : Radar/RF subsystem Power up successful ======================Basic/Static Configuration====================== Device map 14 : Calling rlSetChannelConfig With [15]Rx and [7]Tx Channel Enabled Device map 14 : Channel Configuration success Device map 14 : Calling rlSetAdcOutConfig With [2]ADC Bits and [1]ADC Format Device map 14 : AdcOut Configuration success Device map 15 : Calling rlRfSetDeviceCfg With bssAnaControl = [0] and bssDigCtrl = [0] Device map 15 : RF Device Configuration success Device map 15 : Calling rlRfSetLdoBypassConfig With Bypass [0] Device map 15 : LDO Bypass Configuration success Device map 15 : Data format Configuration success Device map 15 : Low Power Configuration success Device map 15 : APLL Synth BW Configuration success Device map 15 : Basic/Static configuration success Device map 1 : MSS RF Error [0x1] Status Async event Device map 1 : BSS CPU Fault Async event -> 3, 953, 227260, 0, 1074725151, 134281536, 0, 65535, 255, 255, 255, 255 Device map 15 : RF Initialization/Calibration failed with error code -8 ERROR: DeviceInit2 Failed ERROR: Starting devices failed