Quadrature Decoder IRQ XMC1300

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

cross mob
lock attach
Attachments are accessible only for community members.
Odri
Level 2
Level 2
First solution authored Welcome! 5 replies posted
hi

im using the xmc1302 microcontroller with a rotatory encoder. My idea is to generate a interrupt with the rise flag of the index signal. I did this code but i got a mistake.

Can someone help me to solve it?

I leave my code attached



Thanks
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Which kind of "mistake"? Can you elaborate more on the issue you are having?

Regards,
Jesus
0 Likes
Odri
Level 2
Level 2
First solution authored Welcome! 5 replies posted
Hi Jesus,

the interrupt with the index signal is not running at the moment.
i got an incremental encoder with TTL signals, i attached a osciloscope picture with A, B and index signals.

For now i only need to generate the interrupt with the index signal

I´ll apreciate if you can help me

Regards,
Xabi
0 Likes