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 Less大家好 :
关于ADC和DMA 有几个疑问,想得到帮助。
1.官方例程TLE9879_DMA_ADC1中,adc_ch_result[DMA_CH0_NoOfTrans]数组设置为8,但是IFXCONFIG里面,图1所示序列模式勾选了14个(7个通道+7个通道4重复采集),那么这个地方,DMA在传数的时候,是不是把前几个就给覆盖了?
2.DMA配置里,ADC1->RES_OUT7.reg这个配置是干嘛用的?
3.DMA完成中断触发条件是什么,是完成一个通道还是完成整个一次多通道扫描?
4.采集的数为什么设置为32位的,ADC是12位的。
5.如果我想测量2通道的ADC的数,一个P2.4的电压+一个VDH的电压,循环扫描,实时更新,该怎么配置。
因为资料较少,看了半天文档也是不明所以,希望得到解答。
Show Less
大家好 请问有没有关于TLE9879的CSA例程,BLDC电机控制里想加一个电流检测,官方例程里没有关于CSA的例子,希望有使用过这个功能的分享一下经验。 谢谢!
Dear team need to understand why the upper limit for overtemperature is locked?
Also please confirm if there is any sample code for handling overtemperature
Show Less
Hi Team,
I am new to TLE controllers. I am trying to run a sensorless BLDC motor and reading the current feedback. I used the example code BLDC_BC_BEMF_EXAMPLE_TLE987X and I am able to run the BLDC motor properly using CCU6. While adding the configuration for reading the ADC1_CH1, my callback is getting called by the ADC value is not getting change with changing in the speed value. The ADC configuration is attached with name ADC1_CH1_config.
Also, while change the ccu6 configuration from edge_alligned mode to central-alligned mode, my motor is not running(to read the motor feedback properly in centre-alligned mode)
I am attaching the whole project here.
can somebody please have a look and help me here as I am stuck in this situation for sometime now.
Show Less
LE9867QXA40XUMA2和LE9867QXA40XUMA3有什么区别?它们的功能和性能一样吗?A2和A3是什么意思?设计步骤(BF、UI)和设计步骤(UH)具体代表什么?我们可以扩展一下吗?我们使用这款产品LE9867QXA40XUMA3,发现在刻录过程中出现闪烁现象。是什么原因?当我们以前使用LE9867QXA40XUMA2时,没有问题。这个异常与A2和A3有关吗?如果我以前用的是这个型号TLE9879QXW40XUMA2,现在换成这个型号,用TLE9879QXW40XUMA3可以吗?我需要改变设计吗?程序软件应该如何操作?
Show Less
Hi,
I am having trouble running my motor off the shield (BLDC Shield with TLE9879QXA40) in hall mode with the example codes given. it works in foc mode but very roughly, I am having what looks to be the same problem as this thread and i am unable to get mine to work.
https://community.infineon.com/t5/MOTIX-MCU/BLDC-motor-control-with-hall-sensors/td-p/343229
I have attached the data sheet for my motor if anyone can help that would be great. Uvision is mentioned in the thread, i have no idea how to use this software. I have it installed along with the drivers for the controller but have no idea how to use it or code on it so if i need to use it id need step by step instructions.
Thanks,
Cian
Show Less
This example code is used to "BLDC_BC_HALL_LIN_EXAMPLE_TLE9879".
#define GPT12E_T3CON (0x806) /*decimal 2054*/
/* Numerator for calculation of speed from commutation period:
* speed [rpm] = numerator / (commutation period [256/fSYS in Hz])
* numerator = CCU6 timer frequency [Hertz] * 60 / (6 * pole pairs), round to nearest */
#define SPEED_FROM_COMM_PERIOD_NUM (uint32)((((EMO_FSYS_HZ / 256.0) * 60.0) / (6.0 * BCHALL_POLE_PAIRS)) + 0.5)
EMO_FSYS_HZ = 24000000
BCHALL_POLE_PAIRS = 4
Could you explain about the calculation of BLDC speed?
What does mean about decimal 256 and 6?
I think "256" it means common Prescaler for Module Clock of table 95, right?
and "6", it means Hall sensor's sectors, right?
thank you so much your kindness.
Show Less
I can't burn a program in keil using JLINK.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOTIX-MCU/TLE9873%E6%97%A0%E6%B3%95%E7%83%A7%E5%BD%95/td-p/721024
Show LessHi
I am currently using this shield to control a bldc motor for an inverted pendulum system with 2 encoders, after running the shield for a while the encoders stop reading properly, this does not happend when the shield is not connected. is there anything the shield might be doing to the arduino to be causing this. I am using an Arduino Mega 2560.
Thanks
Show Less