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: Time Need to configure via SPI

Part Number: AWR1243
Other Parts Discussed in Thread: IWR1443

Hi:

I have been trying to look through the documentation and the API call sequence to answer my question but have not succeeded so far.

I do understand that the full document describing HW and SW solution for cascade configuration is being currently worked on at TI. 

I need to find out asap how long will it take to configure  a single AWR1243 from power ON to receiving data. Is it on the order of milliseconds, or a 100s of microseconds assuming clk of 40 MHz?

Where can I calculate this from ?

What is the total data payload for the configuration ? 

Thank you, 

RJ

  • Hello RJ,

    You can refer to the figure 10 in Design Guide for Level Transmitter Design :  TIDEP-0091 .

    It shows numbers for IWR1443 device which comprises of image loading , boot time and measurement in around 200ms. For AWR1243 the image loading steps won't exist and such the Power on to boot time will be less than what is shown in above document.

    Thank you,

    Vaibhav

  • Thank you, Vaibhav. This is definitely helpful information and with no image needed for AWR1243, I am hoping the time would be much less. 

    This leads to another question: 

    If the AWR1243 is under a certain chirp configuration (slope,sampling rate, BW, numChirps etc) and if these parameters need to be changed on the fly, is it necessary to shut off RF and then make the changes and then switch the RF On ? 

    Additionally how long would this take as the chip is not being reprogrammed or booted again ? 

    Regards,

    RJ

  • Hi,

    Channel and ADC configuration needs to be done only once after powerOn. These are static configuration and AWR1243 does necessary initialization and calibration based on these configurations. If you intend to change these, you need to shut off RF and turn it on again.

    Slope, sampling rate, BW, numChirps etc are dynamic configuration and can be changed on the fly. Though we strongly recommend to follow below steps to do on the fly re-configuration

    1. rlSensorStop - Stop current active frame
    2. Re-configure dynamic parameters such as Slope, sampling rate, BW, numChirps etc
    3. rlSensorStart

    Time to reconfigure would mostly depend on the size of the configuration packet and mainly how many chirps need to be re-configured. One can configure up to 512 chirps which is about 16K bytes of data to be sent to AWR1243. AWR1243 validates the data and programs the HW blocks appropriately. 

    Regards,

    Kaushal

  • Thank you Kaushal for your detailed response. I really appreciate it.

    To understand your reply better, lets say if I need a frame with 512 chirps which are all identical and belong to a certain chirp profile, do I still need to write to the entire chirp RAM or approximately send 16 kB of data to AWR1243 via SPI running at 40 MHz ?

    Thank you,

    RK
  • Hello RJ,
    If you need a single type of chirp in the frame you need not define 512 chirps in the chirp config. You can use the looping option in the frame config API. You can loop a set of chirps upto 255 times in the frame config API.
    For your specific use case you can define 4 chirps (all to using the same profile) and loop then 128 times.

    Regards,
    Vivek
  • Thank you, Vivek. 

    Does your reply also means that it will take less time and data to configure the device via on the fly if we had to define all the 512 chirps separately.

    This should take much less data than writing to the entire chirp and profile RAM for the uniques 512 chirps therefore the data payload will be much less than 16 kB ?

    Appreciate your help :)

    Regards,

    RJ

  • Hello RJ,
    The above option I mentioned applies for both first time configuration as well as reconfiguration , the API is the same. Surely configuring only 4 chirps would take much lesser time than 512 independent chirps since the amount of data would be much smaller.
    Typically you would use multiple entrees in the the chirp and profile RAM only when you have different profiles or different chirps, not to repeat the same chirp multiple times.

    Regards,
    Vivek
  • Thanks Vivek and Kaushal !