MOTIX™ MCU Forum Discussions
we have TLE9879 EVALKIT . I have some doubt related to this.
1. Initially the driver is able to one of our motor with FOC sensorless code. but we are unable to run other motor . As the motor parameter of both motor are different this may the reason.
I tried to change motor parameter from config wizard for motix mcu but not sure that changes is been replication in keil while loading program in chip. can you guide me what step I need to perform for updating motor parameter in config wizard to keil.
2. I want to run BLDC motor in sensored mode using hall sensor connection.
but on evaluation kit there is not direct indication given for hall sensor connection.
can you please tell where should I connect hall sensor connection so that motor can run in sensor mode.
Below is snapshot of eval board
I have designed a custom board using TLE9879QXA20, and I am using ULINK2 to code the board, however unlike EVAL KIT I dont have any debounce button on the board, MON button is connected to Vs through Rmon. After loading the code (BLDC_BEMF), my motor is not running. Similarly other codes like Blinky also are not running. What should be done to run the codes after loading them?Show Less
I am getting these warning messages on the setMode and setMotoControl function. Can you guys tell me what are the meaning of these error messages and how to solve them.
- TLE9879 BLDC Arduino Sheild
- Arduino WiFi rev 2
- 12V power Supply
- Two sheilds stacked up on one Arduino
Error Log mentioned below:
=============================== E R R O R ====== L O G S ==================================== avrdude: safemode: Fuses OK (E:FF, H:FF, L:FF) avrdude done. Thank you. ========================================================== [SUCCESS] Took 9.17 seconds ========================================================== --- Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time --- More details at https://bit.ly/pio-monitor-filters --- Miniterm on /dev/ttyACM0 9600,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- Connecting with the wifi.. Board is connected to the wifi IP Address : 192.168.0.231 Subnet Mask : 255.255.255.0 Gateway IP : 192.168.0.1 Connecting to Broker.. Broker address : 192.168.0.103 Port address : 1883 Connected to broker. Subscribed Topic: /belt1/MDR2 INFO: Starting initialization INFO: Sending reset request to all boards Answer: 1901 INFO: Board 1 was successfully initialized Answer: 1901 INFO: Board 2 was successfully initialized INFO: Done initializing INFO: mode change complete -> Board: 1; FOC WARNING: Board; Action[mode control]; failed -> from Bootloader to FOC; INFO: mode change complete -> Board: 2; FOC WARNING: Board; Action[set motor speed]; failed INFO: motor speed change complete -> Board: 1; 2000.00 WARNING: Board; Action[set motor speed]; action cannot be performed in bootloader INFO: motor speed change complete -> Board: 2; 2000.00 //While START_MOTOR is passed WARNING: Board; Command; Answer WARNING: Board; Action[motor control]; failed INFO: motor mode change complete -> Board: 1; start //While STOP_MOTOR is passed WARNING: Board; Command; Answer WARNING: Board; Action[motor control]; failed INFO: motor mode change complete -> Board: 1; stop
Q1. Please help me to understand the meaning of the command and the answer.
Q2. The warning message is shown but in the next line you may see that the actual command got executed and the motor starts and stops based on command.
Thanks to the Infineon team for sending in the working UIO stick; now, I can connect my custom board designed with TLE9879QXA20 through the BSL tool.
However, I have a few questions
1. How can we debug the code and run it in real-time with the help of UIO STick?
2. Is there a way of selecting UIO stick in uVision debuggers to debug and use the microinspector pro?
3. What needs to be changed in examples of TLE9879QXA40 for them to run with TLE9879QXA20?
Thanks for your continued support.Show Less
From the datasheet, Timers 12, 13: " maximum count frequency = peripheral clock"
About other timers I only find some "resolution" also expressed as a fraction of "Fpclk" which I don't understand.
Also, I couldn't find what the possible "Fpclk" range is.
I need to count 3 external frequencies (in fact two, gated or clocked by third) up to 8MHz. I can't tell from the datasheet.
The other question is about 177C: Some places 350F is the "rounded" number to aim for, which is 177C. Will this shut-down at 175?
What is the default voltage at the VDDEXT and RESET pin when the Vs and MON pin are connected to the battery positive terminal?
During SWD debug, what is the voltage at the RESET pin?
If using a ULINK2 debugger, does VCC on ULINK2 need to be connected to the VDDP pin?Show Less
In our project, we are using TLE9877 integrated to our ECU (Electronic Control Unit) to spin BLDC motor.
To flash our ECU, we are using Jlink probe (SWD mode) from segger. We have created a new keil project for TLE9877, configuration of peripherals is done using Config wizard.
Below the description of the issue:
When we flash the ECU and the JLINK probe is still connect, App is working.(current 3mA)
When we flash the ECU and disconnect the JLINK probe ,App is working.(current 3mA)
When we disconnect the JLINK probe and APP is working . Then we switch off the power supply and switch on again the App not working.(hard reset by shutting down power supply) (current 2mA)
This issue not observed on TLE9879 eval kit
Could you please help support us to identify the problem as we have demo to customer.
APP working status checked by LIN log. Show Less
I'm developing a custom embedded board with TLE9879, which works fine with the debugger attached. Yet, it's not always working when I'm running it stand-alone, whereas it does work stand-alone on the eval board.
There is extra hardware on the eval board, not present on my custom board, but it should not be a problem.
Do I need to configure something internal to the chip, so that it can get out of reset?
Thanks a lot! Show Less
I using BLDC motor shield with TLE9879QXA40 for Arduino.
I would like to know what parameters to choose for the BLDC motor in the wheel, in particular the gain Ki, Kp. I am running the motor in HALL shields->setMode(HALL, BOARD1); but after starting at almost zero speed it has no torque. How can I achieve a lot of torque at start-up?
Thank you Martin Fox