connecting xmc4500 development board and a rotary encoder

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi I am new to this field of study.

I am using xmc4500 developement board, i.e., I have the hexagonal board and the extension unit.

I also have a rotary encoder (ERN 480 2048 1VPP).

As I connect the USB to the CPU Board, I am able to supply the encoder
with power by connecting the encoder to the extension unit through pin 1 and pin 43. The extension
unit is connected to ACT.

The encoder can generate signals (phase A, B and Z) and I am able to read these using an
oscilloscope (through the corresponding wires).

The question is how can I connect the wires to the development board so that this time
my microntroller can read it. My idea is to read them using uC-Probe

Which pins do i use? And how I do confogure the microcntroller?
I am using DAVE4. I also have the Simulink Embedded Coder Library.
0 Likes
1 Reply
Eric1
Employee
Employee
Hi Vryan,

Regarding the Encoder you can have a look to the Application note: AP32289 - XMC1000/XMC4000 - Position Interface(POSIF)
www.Infineon.com/XMC4000 -> Documents

Also can have a look to the forum entry:
https://www.infineonforums.com/threads/3540-XMClib-POSIF-as-Quadrature-encoder-example.

Regarding HW:
For Encoder and Motor Control we have the KIT_XMC44_AE3_00. Or if you already have a XMC4500 CPU card,
you can order KIT_XMC4X_MOT_GPDLV_001. Here you have a device which generate a A/B/Z out of A+/A-, B+B-, Z+/Z-.

http://www.infineon.com/cms/en/product/productType.html?productType=db3a30443cd75eda013cd984f125047e
http://www.infineon.com/cms/en/product/productType.html?productType=db3a304433b8a4100133daf9ddf9112a...

Regards
Eric
0 Likes