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.

TMS5LS20216 External Clock frequency upper limit

Other Parts Discussed in Thread: TMS570LS20216

We use TMS570LS20216 in one of our design, where we intent to drive the processor with the 20MHz external clock input as it supports from 5MHz to 20MHz per the datasheet. However I am curious whether the tolerance (ppm) of any type of 20MHz oscillator that may drive a little additional than the 20MHz (say 20.002MHz if I use 100 PPM oscillator device, for an example) will be a problem? In that case if I consider the datasheet I can’t use any of the 20MHz oscillator right? Can you please help me to know whether any additional increase on the upper limits to account any practical 20MHz external oscillator with a definite stability / tolerance on frequency.

 

Thanks & Best Regards,

Jawahar

  • Hello:

    We have received your post and it will be directed to the right person to answer. We'll come back to you soon.

    Regards.

  • Jawahar,

    The frequency range of the oscillator defines the typical frequency range for a crystal/resonator with normal tolerances. Your usage of a 20MHz oscillator with 100ppm tolerances is within the expected use model for the device.

    Best Regards,

    Kevin Lavery

  •  

    Hello Kevin Lavery

    Thanks a lot for your response. The below mentioned query was based on one of our recent observation during the programming of the processor using emulator. We see the programming was not successful when we use 20 MHz oscillator/ 100ppm. With the below suspect we reduced the clock to 12MHz, then we see that the programming is successfully completed always (consistently). That’s why I raised that query. Is there relation between the external clock speed and programming? Please note that we tried to reduce the programming clock till 1Mhz, even then it was failing inconsistently when we use 20MHz external clock

     

    Any direction/ suggestion would be helpful. Awaiting for your quick reply

  • Jawahar,

    Appreciate the sanity check feedback...

    I believe that you must be experiencing some difficulties other than the crystal frequency in your attempt to program the part. I routinely program devices with a 20MHz crystal. 

    So, if you want to go further with this line of inquiry:

    - what part are you programming

    - how are you programming it?

    - does the tool give you any failure codes/ logs for the programming failure? Do you have a log for the successful programming run also?

    Best Regards,

    Kevin Lavery

  • Hi Kevin,

    Please find the below responses.

    Target device is TMS570LS20216

    Programming Emulator : XDS560v2  and XDS510 USB PLUS

    Error:

    I posted additional details in below link;

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/362765.aspx

    regards,

    johnson

  • In my experience, such an error message is more common for an out of specification TCK signal.  What TCK frequency is being applied?

    Regards,

    Karl

  • In CCS development environment (5.4.0), we did Test Connection and it is passing. Detects proper device.

    In addition, we changed the TCLK from min to Max range settings for flashing. Getting error during flashing of the device.

    Checked the power supply, reset timings and all are fine.

    The issue with erase operation and screenshots are provided in below link . Can you please check?

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/362765.aspx

    regards,

    johnson

  • Unfortunately the error message in your other thread is not terribly specific in finding the root cause.  However, the error message you are showing here is highly indicative of a JTAG connection issue.  Such an issue could also be a cause for the error message shown in your other thread.

    The flashing operation transfers a lot of data over the JTAG; in many ways it can be a more aggressive test of the connection robustness than the simple CCS connection test.  What specific frequency are you applying to TCK?  Does the operation succeed if you lower the TCK frequency?

    Regards,

    Karl

  • Hi Karl,

    Initially we also thought that the issue with TCLK and did experiment on various frequencies settings in CCS. Not working.

    For your sake today also we tried the same and getting error. Below are details.

    Setup 1: XDS560V2 STM Traveler,

    CCS settings: Adaptive with user specified limit (1MHz), see below image:

    Test connection: Pass

    Flashing operation : Fail see below image

    --------------------------------------------------------------------------------------------------------------------------------------------------

    Setup 2: CCS settings  change: Fixed with user specified faster value (1MHz)

    Test connection: Pass

    Flashing operation : Fail (getting same error)

    Setup 3: CCS settings  change: Fixed with user specified slower value (100KHz)

    Test connection: Pass

    Flashing operation : Fail (getting same error)

    ---------------------------------------------------------------------------------------------------------------------------------------------------

    We tried other options also in CCS (all) and getting same error during flashing. 

    _____________________________________________________________________________________

    Please note that when we change the External oscillator clock  from 20MHz to 12MHz with default settings (see image below) in CCS (Automatic with legacy 10.368MHz limit) in the same hardware and software settings, we could Flash the device properly without any issues (tried multiple times and couple of boards).

    _______________________________________________________________________________________________________________________________________________________________

    Can we get responses to below questions.

    1. Please confirm whether any additional settings need to be done in CCS to resolve the issue? 

    2. We want to know how the external oscillator is related with TCLK clock in this issue? Since when we change the external oscillator (from 20MHz to 12 MHz) in the same hardware and software settings we could flash the device.

    3. Can you please share material how the target oscillator is related with TCLK and recommended settings for TMS570ls20216.

    PLease tell me any additional inputs required.. 

    Can you please share your email id?

    regards,

    johnson

  • Hi Johnson,

    One of my colleagues will need to comment on the CCS questions.  I am just filling in here when I see a question where I might help due to past debug architecture development work, but I am not current with the existing tools.  

    There is no direct corellation between the TCK and the oscillator.  The JTAG subsystem runs fully off TCK.  When the system bridges into CoreSight the critical clock becomes HCLK (which is indirectly sourced from the oscillator) and there is internal clock synchronization.  It is possible that there is some issue with the clock synchronization with certain clock ratios, but if so it has not been identified to date.

    Regards,

    Karl