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.

AWR1843: how to turn on pin function (OSC_CLKOUT)

Part Number: AWR1843

Hi TI,

I want to measure OSC clock by Digital Storage Oscilloscope. I refer document datasheet AWR1843 as below. In the document it called OSC_CLKOUT but i find something wrong. The BALL NO. of OSC_CLKOUT is A14 or K13.

In page. 12 is K13, in page.24 is A14. it make me confuse.

My question is which Pin is correct OSC_CLKOUT ? how to turn function OSC_CLKOUT? which document i can refer?

 

awr1843.pdf

  • Hello Coonan,

    The A14 pin is dedicated analog pin to provide the reference clock , at 1.4V signal level. The pin K13 is a digital pin with regular digital IO driver providing the o/p.

    For the analog output on pin A14 you can write the register "0x4320140C"  bit[26:16] with value '0x7' to enable the 40Mhz clockout on the OSC CLKOUT pin .

    Regards,

    Vivek

  • Hello Vivek,

    Thanks your assistance. 

    I had tried solution that provided by you. but not work. My code as below.

    Could you provide document about register description of OSC_CLKOUT. I can't find information about register description  of OSC_CLKOUT in file swru520c. and other suggestion of this case.

  • Hello Coonan,

    I had mentioned updating bits [26:16] to value 0x7, I think you have updated the whole register with value 0x7. You need to read- modify bits 26:16 and write back.

    OSC CLKOUT is used only for debug purpose in 1843 device and hence not documented. What is the usage of this clock in your application? Would be good for us to understand.

    Regards,
    vivek 

  • Hi Vivek,

    I try to update bits [26:16] to value 0x7 with  register "0x4320140C". I find the code is stop and can't go running into next process. 

    1. could you share me your code that use to turn on OSC_CLK function ?

    2. does there have other process need to take before i update bits [26:16] to value 0x7 ?

    3. We want to measure this OSC_CLK to make sure crystal is working correctly. I'm sorry we need to use this Pin because our PCB board is ready, have no other way to detect crystal.

    best regards 

  • Hello Coonan,

    I assume you doing this register right from the MSS R4F core and not from the DSP, is that correct?

    Are you doing a read-modify-write to the value? ie you are not updating the other bits? Can you share the read value you are getting from this register before you update it?

    Regards,

    Vivek

  • Hi Vivek,

    yes, i did this register form the MSS R4F. the figure as below.

    I can't watch the value of register 0x4320140C in ccs debug mode, so i download memory value by Memory Browser.

    The value is BAD0BAD0 at address 0x4320140C. that i observe in Memory Browser.

    could you share your experiment result to me? what is correct value at register 0X4320140C before we modify bit[26:16] with value '0x7'.

  • Hello Coonan,

    At what point of the code are you updating this register? You need to execute the RF power up API before trying to update this register. Is that done?

    Regards,
    vivek

  • i Vivek,

    Q:At what point of the code are you updating this register? 

    A:

    Q:You need to execute the RF power up API before trying to update this register. Is that done?

    A: yes i have execute the RF power before updating this register.

    Regards,

  • This region is protected by MPU, you need to enable this particular memory region using MPU module.

     Here is the code snippet you need to add in the application before writing this register.

       SOC_MPUDisable();

       SOC_MPUDisableBackgroundRegion();

     

       SOC_MPUSetRegion(SOC_MPU_REGION12);

       SOC_MPUSetRegionBaseAddress(0x4320140C); /* required memory to read by the application */

       SOC_MPUSetRegionTypeAndPermission(SOC_MPU_NORMAL_OINC_NONSHARED, SOC_MPU_PRIV_RW_USER_RW_EXEC);

       SOC_MPUSetRegionSizeRegister(SOC_MPU_REGION_ENABLE | SOC_MPU_32_BYTES);

     

       SOC_MPUEnableBackgroundRegion();

       SOC_MPUEnable();

    Regards,

    Jitendra