[SOLVED] TLE7242 and TLE8242 problem in usage with external controller

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

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

cross mob
User16767
Level 1
Level 1
Hello all.

My team has problems in usage of TLE cards with external controller.
Controlling of TLE 7242 board via the external controller failed, the wanted signals were not received at the output (Figure 1).
But when controlling a TLE card with the integrated controller and using the Infineon program, the output signals were correct (Figure 2).
The voltage values in the test points when sending messages are identical and correspond to the instructions.

3512.attach
Figure 1 - “Current Set Point” message of external controller

3513.attach
Figure 2 – “Current Set Point” message of integrated controller

Further, the interval between CS and SCK signals was increased. Indeed, in the message from the built-in controller between the changes in the levels of these signals,
the delay is greater than in the message from the external controller. The interval was extended to 6 ms (the maximum value for the external controller used).
At the same time, the result remained unchanged, the output signal did not match the requested one (Figure 3).

3514.attach
Figure 3 – “Duty Cycle” message of external controller (with 6 ms offset between CS and SCK

When the signals were re-measured while the board was controlled by the integrated controller, the signal level SO stopped changing (Figure 4).

3515.attach
Figure 4 – The message of integrated controller with low level of SO signal



When controlling the TLE8242 board with an external controller, the answers are incorrect.
The same answer comes to different requests (Figure 5).
Different answers come to the same requests (Figures 6 and 7).

3516.attach
Figure 5 – One answer to different requests

3517.attach
Figure 6 – Different answers to identical requests (Msg0)

3518.attach
Figure 7 – Different answers to identical requests (Msg0)

So the question is why we could not manage to recieve requested signals?
What we do wrong?
And are there any features we should take into consideration while controlling TLE board by external controller?

Can you help us?
We very puzzled about this question. Any of your ideas would be highly appreciated.
Thanks.
0 Likes
1 Reply
scoresh
Employee
Employee
Hi Andrey.Rud,

it looks like you are sending two 16-bit SPI frames with the external controller instead of one 32-bit SPI frame. This would also explain why the chip is answering with Msg0 to all requests. Msg0 is the answer of the IC to all invalid SPI commands (see datasheet p.35). Please do not forget to set the controll parameters (kp/ki) if the device is used as current controller.

BR,
Georg
0 Likes