MOTIX™ MCU Forum Discussions
It was succeed run without load(no fans,just a motor),and speed 3150 RPM,4 POLE_PAIRS,14V,3A.
But, when I try run with load,the controller stop at about 22A, I add printf to the Emo_BEMF,found the software stop motor at :
case EMO_MOTOR_STATE_RUN:
{if (Emo_Bemf.timeoutcounter > (3 *Emo_Bemf.difftimeout))
{Emo_StopMotor();}
}
And the further found is:
The bemf model BEMF Comparetars,suddenly stop work!
so miss the CCPOS edge ,and T13 can't start .then A OC occur before software stop the motor.
I'm sure the (SCU-DM) work well ,systicks run stable.
IC is tle9879,MOSFET is IPD90N04S405
if anyone know how or why, please help me out.thank you very match!
I will be grateful if anyone answers! Show Less
Hello everyone!
I'm working on a project involving SSC communication with a GMR sensor, namely, the TLE5012B. I've decided to make use of the DMA to establish the communication with the sensor. I'm working with a TLE9893_2QKW62S microcontroller.
At this link you can find the little program I've produced to showcase my problem.
What I do in this program is simply asking the sensor for angle value, angle speed plus the safety word appended at the end of the communication, this is why I send 0x8022. The SendReadAngleCommand() ISR gets called every 500 μs, timed by the GPT12 Core Timer 3.
As you can see in the following image, the only thing I receive from the communication is exactly what I send (which I expect) and nothing else (which is absurd!).
The following two images depict the configuration I've set with the ConfigWizard:
DMA:
SSC:
A little side note on DMA_*X_Buffers: DMA_TX_Buffer is used to clock the sensor, so it can drive the line of communication and send me stuff. The DMA_RX_Buffer is used to store the data received from the sensor.
I really cannot wrap my head around this!
Any help would be enormously appreciated.
Kind regards,
Franz
Show LessProcessor TLE9853QX
Operating voltage range 7.5 to 28 VDC
When Mon1 and/or Mon2 voltage tracks the voltage on VS, HS, VBAT_SENSE the processor recognizes Mon1 and Mon2 input activity.
When VS, HS, VBAT_SENSE are supplied 28 VDC and Mon1 and/or Mon2 is supplied 16 VDC the processor does not recognize the Mon1 and/or Mon2.
Increase the Mon1 and/or Mon2 voltage above 16 VDC and the inputs are recognized by the processor.
I have not found any specification requiring all high voltage inputs to be supplied the same voltage. Please advise.
Show LessProcessor TLE9853QX
Reading VBAT_SENSE pin 47
System operation is 7.5 VDC to 28 VDC
uint16_t VBAT_SENSE_Result = 0; // VBAT read value in mV
void VBAT_SENSE_OverUnderVoltage_Callback (void)
{
ADC1_GetChResult_mV(&VBAT_SENSE_Result, ADC1_CH0); // Reads ADC1_CH0 stores the value in VBAT_SENSE_Result in mV form.
}
When running live or debug and watching the VBAT_SENSE_Result register the A2D quits counting at 6480 Hex or 25.728 volts. A2D is fully functional up to 6480.
Any suggestions? I need to measure voltage the full range.
Show LessHey,
I'm using TLE9877 controller and trying to do flash writing. I am facing challenges in writing data to the memory location 0x11006000U. However, I have noticed that I can successfully write data to memory locations above 0x1100F000U. Attaching firmware for your reference.
I was hoping you could kindly provide me with some guidance or insights on how to overcome this limitation and enable data writing to the fixed location 0x11006000U.
Regards,
Mohit
Show Less
Using TLE9853.
Using Infineon Toolbox Config Wizard
I have configured Channel 0 (VBAT_SENSE) and Channel 13 (CSA) in sequencer mode with interrupts when conversion is done in the ADC1.
Under Interrupt tab (NVIC) CSA does not show enabled with a gray box.
Channel 0 interrupt is running but Channel 13 is not. I must not have the CSA configured correctly. Any suggestions.
Show LessHey,
I am reaching out to discuss an issue I am currently facing while attempting to write a bootloader on the tle9879QXA40 board using Keil uVision5. To provide you with a better understanding of my situation, I have attached the reference code provided by Infineon for your reference. I did some customization in it.
My concern arises when I try to flash the BEMF firmware directly onto the board without the debug mode and subsequently load the bootloader firmware either from the debugger or in debug mode. In this scenario, the code functions properly as the bootloader code successfully jumps to the BEMF firmware memory location and initiates its execution.
However, if I erase both the bootloader code and the BEMF code and directly flash the hex file of the bootloader and BEMF firmware, the code fails to work as expected. I am puzzled by this discrepancy and would greatly appreciate your assistance in finding a solution.
Thank you in advance for your attention to this matter.
I use these reference firmware then customize it:
Best Regards,
Rohit Rawat
Show Less
Hello,
i have a TLE9879QXA40 Shield.
What J Link model do i need for programming? In a powerpoint from Infineon i read something about J Link Lite Cortex M, there are 2 versions, a 9 pin and a 19 pin one. But the programming interface got 10 pins? Which one i need? I need it for program the Board that i can use a 24V Power Supply running a 24V BLDC. Or can this setting be done in the arduino code?
Where can i change motor accelerating and braking time? I use Hall Sensors. Can i write these parameters in the Arduino Code or do i need to program the board using the J Link?
Thank you
Stephan
Show LessHi,
I am starting to implement CAN FD for TLE 9893-2QTW62S controller, I need an example code for reference purpose.
I also tried in the MOTIX Configurator but i didn't find anything.
it would be helpful if i could get some example source code.
Thanks, in advance.
TDR
Show Less