MOTIX™ MCU Forum Discussions
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOTIX-MCU/MOTIX-MCU-%E6%B7%BB%E5%8A%A0uart%E6%A8%A1%E5%9D%97/td-p/723308
Show LessHello, everyone
Leave me to ask you a question. Regarding the MCU's duty cycle calculation, I took a look at Renesas's MCU duty cycle calculation model. I would like to compare and take a look at the calculation of this by a major manufacturer like Infineon. Thank you all for your responses. We welcome discussions.
Best Sativa,
Doran
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOTIX-MCU/infineon%E7%9A%84MCU-TC275%E5%8F%91%E6%B3%A2%E5%8D%A0%E7%A9%BA%E6%AF%94%E8%AE%A1%E7%AE%97/td-p/673871
Show LessI see many complains about Hall mode misoperation. I guess, at least part of that problems is due to the missing decoupling capacitor at VDDEXT pin. According to the TLE9879QXA40 data sheet, the capacitor 1..2.2uF is mandatory to ensure a proper 5V external voltage regulator functionality. This voltage is used to power Hall sensors.
Show LessAbsolutely disappointed. The glossy https://www.infineon.com/cms/en/product/evaluation-boards/motorcontrolkit_12v/#!documents advertises:
"The motor control kit comes with example code which is pre-flashed, so the motor will run instantly after plugged in. The source code is available for the user to analyze, understand and adapt different motor control schemes."
"Rapid Prototyping due to pre-assembled kit including example software"
"Hardware and Software both in one pack"
"The best way to reach out to our Applications Engineers is through our Developer Community https://community.infineon.com"
Not true. OK, I did get from forum moderator Raj_JC a .zip with the source code for what probably goes into these units before they ship. However, this code has serious bugs and bad practices. Only one control scheme example is provided. And even that one does not work properly on my kit. I think that's because my BLDC motor is aligned just a little different to its TLE5012B sensor so that the 1st of its 6 electrical steps is at a different TLE5012 orientation. The auto-calibrate in the example code does not pick that up (...). It is also old code from earlier packs and incompatible libraries and config tools. And BTW the now default ARM compiler 6 must first be downgraded to v5...
The SSC1 interface to the TLE5012 chip: not properly tri-stated, outputs always wired together and both active... Clear signs in the 'example source code' that the programmer was fighting with this but failed to properly resolve...
And then after notifying here that this is pissing off customers, the forum moderator simply says 'We do not provide support for the code.' WTF? There is no serious code provided by Infineon, despite the promise as advertised.
No application notes for THIS kit specifically. No hints on HOW things should be wired up for different motor control modes like with/without which Halls. No hints on how to make a basic UART -> USB -> PC serial link for just a basic printf stdio for traditional old style code debugging that I would be comfortable with (not everyone has LIN masters at hand...).
Unbelievable that Infineon think they can get away with this.
No, this post is not asking for help. It is a warning to others that are thinking about buying the "12V Motor Control Kit" for the purpose of ''accelerating the learning curve and doing rapid prototyping or proof on concepts". For me, it was not.
Show Less
I am attempting to develop an SWD solution that will erase and program the flash of a TLE9862. I have the TLE986xQX-UserManual and the TLE986xQX-BootROM-User-Manual. The TLE986xQX-UserManual says that I can program the flash with the SWD but does not document the register set that is used to erase and program the flash and says to use the Boot ROM. It looks like the TLE986xQX-BootROM-User-Manual assumes that the interface is UART, and does not explain how to do it with the SWD. So there appears to be a disconnect of information, or some other manual I am missing.
I am successful at making the SWD control this device. I have access to the ARM Cortex-M3 core, and I have the CPU in a halted state. I have R/W access to the RAM and register set, and the CPU registers r0-r15.
I was hoping I could use some of the Boot ROM functions by loading their address into the Program Counter and un-halting the core, but I am faced with this dilemma.
1) All functions have input and return parameters, I don’t know how they are passed (CPU registers, Stack?)
2) All functions are at an odd address, the SWD does not allow an odd address to be loaded into the program counter r15. Show Less
To drive my BLDC motor i'm using the Infineon BLDC FOC sensorless SW example for TLE9879 EVAL kit. it working well
However when i use this SW with my own circuit (electronic control unit) based on TLE9877QXA40 IC i'm not able to spin the motor
To configure the SW, i have used in keil µvision configuration wizard with config.icwp file of TLE9879 EVAL, i have just modify the target (TLE9877 instead of TLE9879)
For current sensing, i have 10 mohm resistor instead of 5
I don't know what is the main difference between my own circuit and the circuit of the TLE9879 EVAL kit
What peripheral i have to modify the setting (AD2, BDRV ....etc)
what is the good values or what is the registers to modify ?
thanks in advance for your support Show Less
Is it possible to develop application with BLDC_Hall_SENSOR_FOC. Means I want FOC application with Hall sensors.
I found that HALL sensor and FOC both are using T12 and T13. Is there any mechanisam to implement both in single application (Hall sensor and FOC) Show Less
i want to measure current in the bridge through CSA in tle9879.
the shunt resistance is 0.005 ohm and my current range is 0.1A to 4A(expected).
So potential drop across shunt resistance may vary from 0.5mV to 0.02V.
How to select gain and offset for CSA!!
I have tried to calculate offset as follows.
is it correct?
And when I read ADC value in adc1-ch1, I see a garbage number!!!
Regards
SK Show Less