MOTIX™ MCU Forum Discussions
大家好 :
关于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
Dear Team,
I am using the sequencer for analog input reading, just want to know what is difference between interrupt method and sequencer method for ADC1 reading?
Show LessHi 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,
Need to understand is it recommended to use Bdrv_Diagnose() interrupt, as we are not using this interrupt, we are getting CTRL1 OC flag status which makes global shutdown of driver, and need power reset, any suggestion or information will be helpful.
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOTIX-MCU/MOTIX-MCU-%E6%B7%BB%E5%8A%A0uart%E6%A8%A1%E5%9D%97/td-p/723308
Show LessHello,
I am trying to compile the example code for an Infineon TLE9869 evaluation board. For this I had to install the compiler 5, which I did. I installed it in C:\Keil_v5\ARM\Arm_Compiler_5.06u7 as indicated in the instructions. Nevertheless, I get the error message as if I had installed it in the wrong place. This is the error code displayed:
Thank you for helping me!
Show LessDear Infineon team,
I am having trouble connecting ULINK2 as well as ST-Link with my custom board based on TLE9879QXA40.
I was not able to connect the board with both these debuggers however, I saw this post https://community.infineon.com/t5/MOTIX-MCU/SOLVED-tle987x-debugging-problem-with-segger-j-link/td-p/298261
and got the solution i.e. to bring the TLE in SWD mode I need to have TMS and P0.0 high and P0.2 low at reset for them to enter in SWD mode, however, How to implement this in real time. How do you suggest to bring the TMS and P0.0 High at reset when connecting to a debugger?
Show Less