- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iamprt,
In the code, you can remove the condition which checks for MON pin
Condition: if (MON_Debounce(0u) == 0u)
You can add any other condition to start the motor
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iamprt,
TLE9879 EVAL-KIT uses TLE9879QXA40 MCU but your custom board has TLE9879QXA20 So this may not work directly from the existing code example.
Please modify the existing code example according to your pin configuration( Schematic) and change your device to TLE9879QXA20.
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have changed the device to TLE9879QXA20 following the help frok Books >>SDK for TLE9879X.
Pin configuration for both the devices is exactly same. How would that impact pin assignment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iamprt,
Could you please let us know if you have configured the pin based on your schematic?
Could you please share with us the entire schematic ( along with the gate driver section) and current sensing?
This will help us to understand the issue better
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Krupashankar PLease check your inbox, I have sent all schematics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iamprt,
TLE9879QXA20 is a discontinued part
You will have to replace this part with TLE9879QXA40 in future
Could you please let us know what errors you are getting when you are trying to run the motor?
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand that now it is discontinued. Are there any problems with the schematics I have shared?
I am unable to run the motor in my custom ESC; in the EVALKIT, there are two debounce buttons, one for the MON pin and the other for the RESET pin; in my case, I have directly connected MON pin to the input power supply through a resistor Rmon and RESET pin is connected to a debugger.
In the case of EVALKIT, after loading the code, the motor rotates when I press the MON debounce button; please suggest changes to my design for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to know that when once the program is loaded into the TLE, what triggers the code to RUN and perform the desired function?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iamprt,
Once TLE9879 Eval KIT is powered ON the program waits until the MON pin is pressed and released then Main_lStartMotor() function is called to start the motor with the set reference speed.
Please make sure if Main_lStartMotor() function is called when the MON button is pressed by adding the necessary breakpoint in the code( Debug)
Please make sure you have configured MON pin in Config Wizard
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my case, I don't have MON connected to any button. how can I bypass the MON button protocol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iamprt,
In the code, you can remove the condition which checks for MON pin
Condition: if (MON_Debounce(0u) == 0u)
You can add any other condition to start the motor
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Once we load the code in the TLE, does it require any power reset or external trigger to run that code?
If I load the blinky code, it should run, or does it require an external trigger?