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.

LAUNCHXL-F280049C: LAUNCHXL-F280049C

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: C2000WARE

Number: CS1657036
Contact: Alain Gelinas
First name: Alain
Last name: Gelinas
Short description: Encoder Input problem
Email: gelinala@videotron.ca
Company: RETIRED
Company phone:
Language: English
State: Open
Provide case details or comments:

Hi, I bought a LAUNCHXL-F280049C From you on 08-Mar-2023 Order T03951035

It seems to be working right but… I cant get the encoder to work, maybe something I don’t understand. As directed by CLOUGH42 Electronic Leadscrew

LAUNCHXL-F280049C Configuration

J1 = OFF

J2 = OFF

J3 = OFF

S3a = OFF

S3b = OFF

S4 = ON

Connect the encoder Omron E6B2-CWZ6C to J12 = EQEP1

Installed CCS 9.1.0  -  C2000 Real Time MCU

Imported Source Code from CLOUGH42 Electronic Lead Screw 1.0.03

Configure Servo Motor

Encoder OMRON E6B2-CWZ6C

define Encoder resolution to 4096

define ENCODER USE EQEP1

I also tried J13 – define ENCODER USE EQEP2

Is there a way I could monitor if pulses are sent to the processor

I tried testing the encoder Powered it with a good 5.0VDC no ripple = A/B/Z output always HI !!!

Perhaps you might have plans for an Encoder Simulator to see if your circuit works ???

Or maybe you have a better plan ?

A little help from TI would be very appreciated.

Thank You

Alain Gelinas

  • Hi Alain,

    Can you clarify what the positions of switch S3 is? They should both be in the down position to utilize the QEP headers located at the bottom of the EVM (the S3 switch is populated upside down so this actually corresponds to ON). Can you provide scope shots to verify that the encoder is transmitting quadrature signals correctly? I am not familiar with that specific encoder being used, as well we don't typically provide support for external source code (CLOUGH42 Electronic Lead Screw 1.0.03). Can you try using the eQEP examples provided in our C2000Ware SDK? We also have an eQEP step-by-step lab available in our C2000 Academy course. This example has a loopback feature which you can use to make sure that your EVM is correctly configured to take in quadrature signals before hooking it up to your own encoder.

    Regards,

    Peter

  • Hi,

    Sorry about the communication break, I spent the 3 last days in a hospital.

    S3 is effectively in the down position = towards the EPDM connectors

    The encoder OMRON E6B2-CWZ6C is new and made to transmit quadrature signals

    • Square wave
    • Square wave defased ½ pace

    (Z) Square wave One Short pulse ounce every turn

    For screen shots… I only have a single trace CRT scope

    I’m almost 72 and my scope is old too.

    I will try to find something in C2000Ware SDK and get back in touch with you

    Would you happen to have a sketch for building a Simulator for signals A B Z maybe with Anarduino Nano

    Or a TI something. This to eliminate possibilities.

  • Hi Alain,

    There is the SimuLink software for our C2000 devices which is produced by MathWorks. There may be some examples provided by them but I am unfamiliar with their simulation software, you would need to reach out to them for that support. Our C2000Ware examples don't require too much adjusting to work for your encoder and you should be able to hook your device to CCS, download the code, and connect your encoder and at least get some outputs onto your IDE. These may not be entirely accurate depending on the resolution of your encoder but they should at least get you started in that regard.

    Regards,

    Peter