TC387 EDSADC Resolver Application

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

cross mob
Tonny
Level 3
Level 3
25 replies posted 10 questions asked 50 sign-ins

Drar Infineon Expert,

We're using the tc387 EDSADC for resolver application,and we learned some important information from AP32554.

My question is how to design the timing of the software to realize the updating of the sampling results(by service request or

polling, and how to use the sampling results), and the implementation of the SDCAP delay compensation function.

Is it possible to provide some demo of the software design?

Thank you!

0 Likes
1 Solution
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

Hi Tonny,

Unfortunately we don't have particular demo for that, but we do have some code example for how to configure EDSADC and run it:

EDSADC_1_KIT_TC397_TFT 

There is also another Application note to check:

EDSADC_Configuration_for_Resolver_Application_v1.0.4.pdf 

BTW, there are some community's questions that about sampling the result and calculate SDCAP:

DSADC-trigger-controlled-mode-for-resolver 

Aurix-TC365-EDSADC-Return-Signal-Synchronization 

Hope could help you little bit, thanks.

 

View solution in original post

0 Likes
9 Replies
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

Hi Tonny,

Unfortunately we don't have particular demo for that, but we do have some code example for how to configure EDSADC and run it:

EDSADC_1_KIT_TC397_TFT 

There is also another Application note to check:

EDSADC_Configuration_for_Resolver_Application_v1.0.4.pdf 

BTW, there are some community's questions that about sampling the result and calculate SDCAP:

DSADC-trigger-controlled-mode-for-resolver 

Aurix-TC365-EDSADC-Return-Signal-Synchronization 

Hope could help you little bit, thanks.

 

0 Likes

Hi likunqiao:

Thank you very much for your careful reply! I'm concerned more about as I had mentioned above, After initialization, how does the program get the sampling results, whether it uses interrupt routing or polling and how these sampling results are subsequently processed. Looking forward to your reply, thanks!

0 Likes
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

Hi Tonny,

Please refer to the code example that I provided:

EDSADC_1_KIT_TC397_TFT/EDSADC.c 

It contains how to get the result (IfxEdsadc_Edsadc_getMainResult) and it uses polling method to get result.

If you want to use interrupt, just simply register these channel to src with priority.

refer this function: IfxEdsadc_Edsadc_getMainSrc

 

0 Likes

Hi likunqiao:

Thanks you answer. Further more, I would like to understand how these sampling results  are handled in the subsequent software in Resolver application. Please provide some details, much appreciated!

0 Likes
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

Hi Tonny,

There is no demo code for resolver application, the code example only provided till getting the EDSADC result, for further data process like rectification, sin/cos to tan to get the motor rotary angle, user has to develop by himself. Please refer to the application note to see the how it process in principle.

Thanks

Thanks

 

0 Likes
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received
0 Likes

Hi IFX_likunqiao,

We have buy this kit, it's not include them. thank you!

0 Likes
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

Hi, 

Yes, you are right. I checked the code, it might not include resolver solution:

IFX_likunqiao_0-1696841776783.png

Again, you might to implement it by yourself

 

0 Likes

Okay, thanks. I'll study the user manual.

0 Likes