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.

AWR1243: WARM_RESET PIN changes state

Part Number: AWR1243
Other Parts Discussed in Thread: MMWCAS-RF-EVM

Hello

I'm connecting 4 AWR1243Ps and an external host with SPIs, and trying to control these AWR1243Ps using mmwaveLink API.
The trigger mode is "Hw triggered mode" and "SUB FRAMETRIGGER" is enable, and the external host sends a pulse to the SYUNC_IN pins of AWR1243Ps.
At that time, I noticed that the state of the WARM_RESET PINs changed from time to time.

I know that the state of WARM_RESET PIN changes when AWR1243P is powered on.
www.ti.com/.../awr1243.pdf
p.21

[Question]What are the conditions under which the state of the WARM_RESET PIN changes except when the AWR1243P is powered on?

  • Hi,

    It will take use a few days to get back to you

    thank you
    cesar

  • Hi Sakamoto-san,

    The WARM_RESET pin, specifically on the AWR1243 and AWR1243P devices, is actually a reset status output pin. This is programmed by the DFP firmware and not a behavior that can be modified by the user. 

    This pin should only toggle when the NRESET pin state changes during power on/off cycles.


    Are you seeing any problems using these devices when the WARM_RESET pin toggles?

    Thank you,

    -Randy

  • Hello Randy-san, Cesar-san

    Thank you for your reply.

    > Are you seeing any problems using these devices when the WARM_RESET pin toggles?

    Yes.
    Before or after the WARM_RESET pin toggles, my external host is receiving garbage data from the CSI2 lane.
    At this time, the NRESET pin state remains on.
    Since this phenomenon occurs during running frames, there is a problem that correct data cannot be received.
    I want to work around this problem.

    Thank you,

    Sakamoto

  • Hi Sakamoto, 

    Is this a custom designed AWR1243P RF and host processor system you are experimenting with?

    Do all of the AWR1243P devices power cycle, reset and configure correctly? Do you observe the WARM_RESET toggles only while chirping is active? 

    Thank you,

    -Randy

  • Hello Randy-san,

    Thank you for your reply.

    >Is this a custom designed AWR1243P RF and host processor system you are experimenting with?
    Yes.
    These are not MMWCAS-RF-EVM and MMWCAS-DSP-EVM, but our own experimental machines.

    >Do all of the AWR1243P devices power cycle, reset and configure correctly?
    Yes.
    The SOP pins and nRESET pins are controlled by the external host, and the power of four AWR1243P devices can be configured.

    >Do you observe the WARM_RESET toggles only while chirping is active?
    No.
    I observed that the WARM_RESET toggles not only while chirping is active (ie after the function : rlSensorStart).
    The flow until my AWR1243Ps run chirp is as follows.
     1. The DC Power On
     2. The SOP Pins On
     3. The nReset Pins On (using rlDevicePowerOn or rlDeviceAddDevices)
     4. The chip configuration by functions of mmWaveLink
     5. Executing rlSensorStart
     6. The external host sends a pulse to the SYNC_IN pins on AWR1243Ps continuously
    I observed the WARM_RESET toggles on any of the above 2 ~ 6.
    The toggle frequency is especially high between 6.

    Thank you,

    Sakamoto

  • Hi Sakamoto, 

    In your startup flow, can you please verify some other details for me? I was not sure if you were simplifying the flow or missing some steps. 

    The startup flow should be: 

    1. Power enable

    2. NRST driven low

    3. Power good on all rails verified 

    4. SOP mode pins set

    5. NRST driven high (this latches in the SOP mode for the boot loader mode select

    6. SPI (or QSPI) firmware loading

    7. Device configuration over SPI API commands

    The rlDevicePowerOn or rlDeviceAddDevices do not toggle the NRST state. These are API commands which wills startup the BSS  processor subsystem. 

    Are you referencing the AWRx ICD document? http://downloads.ti.com/ra-processors/esd/MMWAVE-DFP/latest/exports/mmWave-Radar-Interface-Control.pdf. The "Reset Release" referred to in "3.2.3 Flow Diagram (Host) – Bootup/ Asynchronous Event" is not equivalent to the NRST hardware pin toggle necessary during startup. 

    Please verify that NRST and SOP pins are being setup as I have outlined above. 

    Thank you,

    -Randy

  • Hello Randy-san,

    Thank you for your reply.

    Sorry, I simplified the previous flow.
    The details of the startup flow of my system are as follows.

    1. Power enable
    
    2. NRESET driven low
       (My system sets the NRESET pins on 4 chips to the low state at the same time.)
    
    3. Power good on all rails verified
    
    4. SOP mode pins set
       (My system sets the SOP pins on 4 chips to 0,0,1 (functional mode) at the same time.)
    
    5. The master chip setting
      5.1. The external host excutes "rlDevicePowerOn"
            Then, the callback function "rlDeviceEnable" is called from "rlDevicePowerOn", and rlDeviceEnable sets NRESET on the master chip to High.
    
      5.2. Waiting for RL_DEV_AE_MSSPOWERUPDONE_SB from the master chip
    
      5.3. SPI firmware loading for the master chip
    
      5.4. The external host excutes "rlDeviceSetMiscConfig" and "rlDeviceRfStart" for the master chip
    
      5.5. Waiting for RL_DEV_AE_RFPOWERUPDONE_SB from the master chip
    
    6. The slave chips setting (Executing the following for all slave chips)
      6.1. The external host excutes "rlDeviceAddDevices"
            Then, the callback function "rlDeviceEnable" is called from "rlDeviceAddDevices", and rlDeviceEnable sets NRESET on the slave chip to High.
    
      6.2. Waiting for RL_DEV_AE_MSSPOWERUPDONE_SB from the slave chip
    
      6.3. SPI firmware loading for the slave chip
    
      6.4. The external host excutes "rlDeviceSetMiscConfig" and "rlDeviceRfStart" for the slave chip
    
      6.5. Waiting for RL_DEV_AE_RFPOWERUPDONE_SB from the slave chip
    
    7. Device configuration over SPI API commands
    

    >The rlDevicePowerOn or rlDeviceAddDevices do not toggle the NRST state. These are API commands which wills startup the BSS  processor subsystem.

    Please tell me more information about this.
    rlDevicePowerOn and rlDeviceAddDevices call the callback function "rlDeviceEnable". The following is described in the comment of this callback function.

    'Bring mmWave radar device out of Reset. Implement this function to assert the nReset Pin in mmWave device. Optionally It might require to assert Sense on Power(SOP) Pins'

    Therefore, I think that by registering a function to toggle the NRESET pin to high in rlDeviceEnable, rlDevicePowerOn or rlDeviceAddDevices toggle the NRESET state.

    Is this my idea wrong?
    What processing should be registered in the callback function for rlDeviceEnable?

    Thank you,

    Sakamoto

  • Hi Sakamoto, 

    Can you please provide me a little more detail on your initialization flow from the host processor? 

    1. After your Step 4 "SOP mode pins set" is the NRESET de-asserted (driven high)?

    2. Have you referenced the AWR1243 Bootloader Flow guide yet? http://www.ti.com/lit/an/swra561b/swra561b.pdf

    3. SOP state is latched and the boot ROM begins execution by the NRESET pin being de-asserted. After SOP is latched into BOOTMODE4 (functional) the ROM should issue a host IRQ (SPI_HOST_INTR_1 should pulse high and then low) to indicate to the host that the SPI interface is ready for the host to start the firmware/firmware patch download sequence. 

    4. Also, just to verify, is the 40 MHz clock being provided to the master AND slave devices at the time of boot? In our MMWCAS-RF-EVM design for example, the master device provides the 40 MHz clock for the 3 slaved devices as well. This requires that the master device must be fully booted and configured as a cascade master device prior to the host starting up the slave devices, otherwise they will not have valid clocks. 

    Table 5.154 in the ICD "Sequence of APIs to be issued to master and slave devices in cascaded mode configuration for FMCW mode measurements" describes the full SPI communication sequence message by message. 

    1. Power up master device

    2. Wait for AWR_AE_DEV_MSSPOWERUPDONE_SB

    3. AWR_DEV_RFPOWERUP_SB

    4. Wait for AWR_AE_DEV_RFPOWERUPDONE_SB

    5. AWR_CHAN_CONF_SET_SB with CASCADING_CFG = 0x0001. This will enable the reference clock for slave device

    6. Power on slave devices

    Thank you,

    -Randy

  • Hi Sakamoto, 

    Were you able to follow-up on my additional questions?

    Thank you,

    -Randy

  • Hello Randy-san,

    Thank you for your reply.

    During electrical testing on my board, I found that the AWR1243 chip's WARM_RESET pin was not toggling, but was toggling at a terminal on the external host.
    In other words, this phenomenon was found to be unique to my board.

    I feel sorry for spending your time.

    Thank you,

    Sakamoto

  • Hi Sakamoto, 

    I am glad you found the issue and appreciate you following up on this thread. Please let us know if you have any other questions. 

    Thank you,

    -Randy