MOTIX™ MCU Forum Discussions
I 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 LessHello,
This question has been already asked, but since there is no answer, creating new thread.
I am running a bldc motor Infineon TLE9879 chip. Now I want to measure the current flowing through the motor. so I use the current sense amplifier where the motor current is converted to a voltage by means of a shunt resistor RSH(0.005 ohms).
Question: I want to measure current for the lowside which gives the voltage drop at RSH.
I have calculated the offset in SW mode with gain 60 ensuring that MOSFET bridge is off(0 current flowing). After that, I switch back to SQ mode and check for ADC value in Ch1. It always shows a constant number when the CSA gain is set to 60, when the motor is running at any speeds. We tried to measure the voltage levels across OP1,OP2 which are nearly 0.
Please suggest the configuration for Current sense.
Show LessHi everyone,
We are working with a BLDC motor (see attached below) and the BLDC shield TLE9879. We are using the Hall sensors.
When can spin the motor fine in one direction (low current consumption) but in the other direction current consumption is too high (we've tested with no load and load on motor). We also found a phase (U, V, W) configuration where when we switch cables for Hall sensors the problem reverses (the direction that had low current consumption has high consumption and direction that had high consumption has low consumption).
We've tried playing with the parameters of the board (delay angle and HALL_INPUT_A/B/C) but we haven't seen any improvement during operation.
Does anyone have an explanation for this problem? Is it possible the board doesn't support bi-directional control (there is nothing about this in board documentation)?
Also, is it possible to get a clear explanation of the different parameters for the BLDC Shield?
Kind regards
Show LessHello ,
When we installed Config Wizard for MOTIX MCU, the Config Wizard option in Tools menu of Keil was not automatically added.
We had to configure it in the Customize Tools menu options explicitly:
As per the Getting started guide the Config Wizard should automatically be added in Tools once all settings are done.
Also for some members(different location) the procedure worked as expected.
Why did it need configuration on my Keil?
Show Less
I just bought a TLE9879 Evalkit to evaluate BLDC motor control. And I want use J-scope to monitor the variables of FOC demo. I download the j-link V7.82, but the j-scope didn't work. Is my Evalkit onboard XMC j-link inmatch with the j-link driver or something else wrong?
Show LessI just bought a TLE9879 Evalkit to evaluate BLDC motor control. And I want use J-scope to monitor the variables of FOC demo. I download the j-link V7.82, but the j-scope didn't work. Is my Evalkit onboard XMC j-link inmatch with the j-link driver or something else wrong?#TLE9879 Evalkit #j-link
thanks.
Show LessI just bought a TLE9879 Evalkit to evaluate BLDC motor control. And I want use J-scope to monitor the variables of FOC demo. I download the j-link V7.82, but the j-scope didn't work. Is my Evalkit onboard XMC j-link inmatch with the j-link driver or something else wrong?
Show LessI use the Mode 2 command when programming, and the programming range is 0x11000000-0x1101FFFF.And I originally wanted to program all the addresses at once, so I first sent the Header Block and set the Block Length to 0x82, then sent the Data Block in sequence, and finally sent the EOT Block, but after sending the EOT Block, the IC will reply me 0xFF.However, the commands before the EOT Block are very normal and reply me 0x55.Why is the IC replying 0xFF after sending the EOT Block after I program all the addresses of the Flash?So the way I can normally program at present is to send the Header Block and set the Block Length to 0x83, then send the EOT Block and include the data of a page, and then repeatedly send the Header Block and the EOT Block containing the data of the next page until the last page programming is completed.Although it can be programmed normally at present, I still wonder why the first programming method fails.
2. EEPROM address range
3. 100 Time Programmable Memory(100TP)I saw in the datasheet that there is an EEPROM containing 4KByte in the Flash, but it didn't say which range in the Flash.
But when I read the blank (or mass erased) IC, I found that the Flash addresses 0x1101F000-0x1101FFFF are all 0x00, and the rest of the addresses are all 0xFF.Is the block 0x1101F000-0x1101FFFF the EEPROM mentioned in the datasheet?
4. NAC and NADI have confirmed that 100TP can be uploaded to program, but we don't have a test file at hand, can you provide a sample file to facilitate our programming test?
In addition, does 100TP really mean that it can only be programmed 100 times?If so, does it mean that the entire Flash, a Page or a Byte can only be programmed 100 times? And is it possible to read the remaining programming times? Thanks.
5. NVM protectionNAD is similar to the Slave Address of IC communication, so there is no problem to be confirmed.But when I was testing to program the customer’s file, I found that the customer set the NAC to 0x41.This value seems to make the IC unable to enter the BSL Mode. After I actually tested and programmed the IC, it was true that the IC could not enter the BSL Mode.Is there a way to make the IC enter BSL Mode again after programming the NAC to 0x41? Thanks.
The function of protection I confirm is to prevent NVM from being erased and written.
But I want to confirm whether there is a way to know that the IC is already protected before writing protection to the IC, except for the method of issuing commands to the IC and being returned 0xFD.
In addition, the bit7 of the password mentioned in the document means that if the IC is successfully unlocked, different erasing will be performed. What is the difference between these two different erasing? Thanks.
Recently, I am supporting the burning of TLE9879QXA40. The programming method I need is UART interface. In the process of analyzing the file, I have some questions I would like to ask.
The document I am currently referring to is "Infineon-TLE986x_TLE987x_BootROM_UM-UserManual-v01_08-EN.pdf".
Among them, on page 41, it is mentioned that reading the ID of 4 bytes can communicate with the IC through BSL and program it.
Does it mean that it is enough to send this command? Or are there other pins that need to be connected to high or low?
In addition, I also saw that 100TP can be programmed. Is 100TP available to customers?
If possible, 100TP uses the method of loading files or using the UI to fill in values when programming. Can you provide a file example or a screenshot of the UI for my reference, thank you.
And 100TP mentions programming instructions, but it seems that there is no example of programming instructions, can you provide it to me, thank you.
Also, setting the MSB of NVM_PASSWORD to 0 or 1 seems to affect the erasing of Code Flash and Data Flash. What is the difference in erasing these two Flashes?
Show Less