TI中文支持网
TI专业的中文技术问题搜集分享网站

LAUNCHXL-F28069M: 连接电脑出现问题

阅读(79)

Part Number:LAUNCHXL-F28069M

我想要测试adc模块,用示波器测试了直流电压源的输出有2v,我将它连到adcpin角后,驱动板的蓝色的闪烁后,然后黄色两个灯都开始闪烁逐渐变暗,去掉外接电压源后,驱动板再通过usb连结电脑,开始不正常,芯片一直发烫,两个黄灯正常亮,然后蓝灯闪烁熄灭,黄灯逐渐熄灭,无法识别识别,请问是什么原因

Alice:

您好,

      请查看电脑端的设备管理器上是否有XDS100V2设备,或者无法识别的USB设备。否则,可能硬件已损坏。

       ADC的问题请参考您另一个帖子的回复。

      LAUNCHXL-F28069M: J3,5V引脚的作用是什么;在ADC采样过程中,需要怎样接外接信号? – C2000Tm︎ 微控制器论坛 – C2000 微控制器 – E2ETm 设计支持

,

?? ?:

硬件应该损坏了,设备管理器里没有XDS100V2设备或无法识别的USB设备

TMS320F280049C: Action Qualifier problem

Zixing Chi阅读(53)

Part Number:TMS320F280049C

//#############################################################################
//
// FILE:epwm_ex1_trip_zone.c
//
// TITLE:  ePWM Using Trip-Zone Submodule.
//
//! \addtogroup driver_example_list
//! <h1>ePWM Trip Zone</h1>
//!
//! This example configures ePWM1 and ePWM2 as follows
//!  - ePWM1 has TZ1 as one shot trip source
//!  - ePWM2 has TZ1 as cycle by cycle trip source
//!
//! Initially tie TZ1 high. During the test, monitor ePWM1 or ePWM2
//! outputs on a scope. Pull TZ1 low to see the effect.
//!
//!  \b External \b Connections \n
//!  - ePWM1A is on GPIO0
//!  - ePWM2A is on GPIO2
//!  - TZ1 is on GPIO12
//!
//! This example also makes use of the Input X-BAR. GPIO12 (the external
//! trigger) is routed to the input X-BAR, from which it is routed to TZ1.
//!
//! The TZ-Event is defined such that ePWM1A will undergo a One-Shot Trip
//! and ePWM2A will undergo a Cycle-By-Cycle Trip.
//!
//_______________________________
//||||
//  GPIO12 -----| I/P X-BAR |-----TZ1-----| ePWM TZ Module |-----TZ-Event
//|___________||________________|
//
//
//
//#############################################################################
//
//
// $Copyright:
// Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_C2000_
//
// Redistribution and use in source and binary forms, with or without 
// modification, are permitted provided that the following conditions 
// are met:
// 
//Redistributions of source code must retain the above copyright 
//notice, this list of conditions and the following disclaimer.
// 
//Redistributions in binary form must reproduce the above copyright
//notice, this list of conditions and the following disclaimer in the 
//documentation and/or other materials provided with the
//distribution.
// 
//Neither the name of Texas Instruments Incorporated nor the names of
//its contributors may be used to endorse or promote products derived
//from this software without specific prior written permission.
// 
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//#############################################################################

//
// Included Files
//

#include "driverlib.h"
#include "device.h"
#include "board.h"
#include <math.h>
//
// Globals
//
//void initEPWM(uint32_t base);

//void updateCompare(epwmInformation *epwmInfo);
//static uint32_t  epwm1TZIntCount;
//static uint32_t  epwm1IntCount;
//static uint32_t  epwm3IntCount;

//
// Function Prototypes
//
uint32_t EPwm1TimerIntCount=0;
__interrupt void epwm1ISR(void);
//__interrupt void epwm1TZISR(void);

uint32_t ISRcount =0;
uint32_t REFA_H =0;
uint32_t REFB_H= 0;
uint32_t REFC_H=0;
uint32_t PhaseShift1=0;
uint32_t PhaseShift2=0;
uint32_t PhaseShift3=0;
uint32_t PhaseShift=0;
uint32_t theta, del_theta;
uint32_t Freq=100,Vm= 5000;

void main(void)
{Interrupt_initModule();Interrupt_initVectorTable();Device_init();Device_initGPIO();Interrupt_register(INT_EPWM1, &epwm1ISR);SysCtl_disablePeripheral(SYSCTL_PERIPH_CLK_TBCLKSYNC);Board_init();SysCtl_enablePeripheral(SYSCTL_PERIPH_CLK_TBCLKSYNC);Interrupt_enable(INT_EPWM1);EINT;ERTM;EPwm1TimerIntCount++;while(1){NOP;}
}




__interrupt void epwm1ISR(void)
{ISRcount++;if( ISRcount <=100){GPIO_writePin(myGPIO0, 1);// GPIO58 is highEPWM_setDeadBandDelayPolarity(myEPWM4_BASE, EPWM_DB_FED, EPWM_DB_POLARITY_ACTIVE_HIGH);EPWM_setCounterCompareValue(myEPWM4_BASE, EPWM_COUNTER_COMPARE_A, 0);EPWM_setActionQualifierAction(myEPWM4_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_UP_CMPA);EPWM_setActionQualifierAction(myEPWM4_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_DOWN_CMPA);EPWM_setCounterCompareValue(myEPWM3_BASE, EPWM_COUNTER_COMPARE_A, 2500);//EPWM_setCounterCompareValue(myEPWM22_BASE, EPWM_COUNTER_COMPARE_B, 250);EPWM_setDeadBandDelayPolarity(myEPWM3_BASE, EPWM_DB_FED, EPWM_DB_POLARITY_ACTIVE_LOW);EPWM_setDeadBandDelayMode(myEPWM3_BASE, EPWM_DB_RED, true);EPWM_setRisingEdgeDelayCount(myEPWM3_BASE, 5);EPWM_setDeadBandDelayMode(myEPWM3_BASE, EPWM_DB_FED, true);EPWM_setFallingEdgeDelayCount(myEPWM3_BASE, 5);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_OUTPUT_LOW, EPWM_AQ_OUTPUT_ON_TIMEBASE_UP_CMPA);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_DOWN_CMPA);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_UP_CMPA);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_OUTPUT_LOW, EPWM_AQ_OUTPUT_ON_TIMEBASE_DOWN_CMPA);}else if(ISRcount > 100 && ISRcount<=200){GPIO_writePin(myGPIO0, 0);// GPIO58 is highEPWM_setCounterCompareValue(myEPWM4_BASE, EPWM_COUNTER_COMPARE_A, 0);EPWM_setActionQualifierAction(myEPWM4_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_UP_CMPA);EPWM_setActionQualifierAction(myEPWM4_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_DOWN_CMPA);EPWMsettings for S5 and S7EPWM_setCounterCompareValue(myEPWM3_BASE, EPWM_COUNTER_COMPARE_A, 2500);EPWM_setDeadBandDelayPolarity(myEPWM3_BASE, EPWM_DB_FED, EPWM_DB_POLARITY_ACTIVE_LOW);EPWM_setDeadBandDelayMode(myEPWM3_BASE, EPWM_DB_RED, true);EPWM_setRisingEdgeDelayCount(myEPWM3_BASE, 5);EPWM_setDeadBandDelayMode(myEPWM3_BASE, EPWM_DB_FED, true);EPWM_setFallingEdgeDelayCount(myEPWM3_BASE, 5);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_OUTPUT_LOW, EPWM_AQ_OUTPUT_ON_TIMEBASE_UP_CMPA);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_DOWN_CMPA);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_OUTPUT_HIGH, EPWM_AQ_OUTPUT_ON_TIMEBASE_UP_CMPA);EPWM_setActionQualifierAction(myEPWM3_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_OUTPUT_LOW, EPWM_AQ_OUTPUT_ON_TIMEBASE_DOWN_CMPA);}else if(ISRcount > 200 && ISRcount<=300){  GPIO_writePin(myGPIO0, 1);}else if(ISRcount > 300 &&ISRcount<=400){  GPIO_writePin(myGPIO0, 0);}else{ISRcount = 0;}EPwm1TimerIntCount++;GPIO_togglePin(myGPIO11);PhaseShift=((0xFFFF)*Freq*2*500*0.0000001);PhaseShift1=PhaseShift1+PhaseShift;PhaseShift2=(int16_t)Vm*sin((float)PhaseShift1*(0.000095875));PhaseShift3=fabs(PhaseShift2);3Info,REFC_H,EPWM1_TIMER_TBPHS);EPWM_setPhaseShift(myEPWM2_BASE,PhaseShift3);EPWM_setPhaseShift(myEPWM3_BASE, (PhaseShift3/2));EPWM_setPhaseShift(myEPWM4_BASE, (PhaseShift3/2));EPWM_clearEventTriggerInterruptFlag(myEPWM1_BASE);Interrupt_clearACKGroup(INTERRUPT_ACK_GROUP3);
}

Can you help me to see what is wrong with the Action Qualifier part of the code? Run it and say that it can not open the file.

Taylor:

Hi Chi,

For your query, please post your query in E2E Forum as link below.https://e2e.ti.com/TI's product line experts will answer your question.

LAUNCHXL-F28P65X: clb_ex15_tile_to_tile_delay如何使用

阅读(61)

Part Number:LAUNCHXL-F28P65X

我使用ccs 导入 clb_ex15_tile_to_tile_delay工程,运行时,CLB的中断并未进入,请问是为什么?

Links:

感谢您对TI产品的关注!为更加有效地解决您的问题,我们建议您将问题发布在E2E英文技术论坛上( https://e2e.ti.com/p/addpost  ).将由资深的英文论坛工程师为您提供帮助。

TRANSLATE with x

English

Arabic
Hebrew
Polish

Bulgarian
Hindi
Portuguese

Catalan
Hmong Daw
Romanian

Chinese Simplified
Hungarian
Russian

Chinese Traditional
Indonesian
Slovak

Czech
Italian
Slovenian

Danish
Japanese
Spanish

Dutch
Klingon
Swedish

English
Korean
Thai

Estonian
Latvian
Turkish

Finnish
Lithuanian
Ukrainian

French
Malay
Urdu

German
Maltese
Vietnamese

Greek
Norwegian
Welsh

Haitian Creole
Persian

TRANSLATE with

COPY THE URL BELOW

Back

EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal
Back

LAUNCHXL-F28069M: 使用motorware Lab21如何操作

Yan jinjin阅读(53)

Part Number:LAUNCHXL-F28069M

已经进行了Lab1~Lab4,想操作Lab21验证高频注入结果是否准确,应该如何操作?
1、如何操作进行电角度辨识

2、如何判断初始电角度辨识结束

3、如何验证电角度辨识结果的正确性?(比如给定速度,看速度反馈?)

Links:

感谢您对TI产品的关注!为更加有效地解决您的问题,我们建议您将问题发布在E2E英文技术论坛上( https://e2e.ti.com/p/addpost  ).将由资深的英文论坛工程师为您提供帮助。

TRANSLATE with x

English

Arabic
Hebrew
Polish

Bulgarian
Hindi
Portuguese

Catalan
Hmong Daw
Romanian

Chinese Simplified
Hungarian
Russian

Chinese Traditional
Indonesian
Slovak

Czech
Italian
Slovenian

Danish
Japanese
Spanish

Dutch
Klingon
Swedish

English
Korean
Thai

Estonian
Latvian
Turkish

Finnish
Lithuanian
Ukrainian

French
Malay
Urdu

German
Maltese
Vietnamese

Greek
Norwegian
Welsh

Haitian Creole
Persian

TRANSLATE with

COPY THE URL BELOW

Back

EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal
Back

TMS320F28335: 内部模拟量参考电压不准导致AD采集有误差

yuan gao阅读(86)

Part Number:TMS320F28335

您好,我们使用芯片自带的内部模拟量参考电压,该差分电压值与标准值0.75V有一定误差,导致AD采集值有误差。是否有什么解决方案呢?

Eirwen:

使用内部参考电压的话,要求将一个低等效串联电阻 (ESR)(低于 1.5Ω)的 2.2μF 陶瓷旁路电容器接至模拟接地。

TMS320F28379D: launchpad晶振存在1V左右直流偏置,而我采用datasheet的外部晶振接法不存在直流偏置

He Xi阅读(73)

Part Number:TMS320F28379D

我的振荡电路参考了Launch_Pad,与芯片手册推荐相同但波形不同,无法烧录。

Alice:

您好,

      请在您另一个同样问题帖子内查看回复。

      (+) TMS320F28379D: launchpad晶振存在1V左右直流偏置,而我采用datasheet的外部晶振接法不存在直流偏置 – C2000Tm︎ 微控制器论坛 – C2000 微控制器 – E2ETm 设计支持

TMS320F28335: Warnings:cannot resolve archive

阅读(95)

Part Number:TMS320F28335

Warnings:cannot resolve archive

How to solve the warning: cannot resolve archive? Does it have an impact on the program?

Eirwen:

Hi

感谢您对TI产品的关注!关于cannot resolve archive这个报错,请参考下面帖子:

warning #10211-D: cannot resolve archive … no input files have been encountered

TMS320F2800157: SPI改变传输bit数问题

zhang xiaoming阅读(68)

Part Number:TMS320F2800157

SPI配置:时钟模式2,设置传输bit数为8

我在使用过程中,可以随时修改传输bits数吗,我看库函数setcharLength可以修改传输bits数量,但是在修改前需要先禁用SPI模块,修改后再开启SPI模块;

请问”修改传输bits数“是不是必须先禁用模块再使能模块,能不能直接修改

感谢大家的回复!

Lydia:

您好,

感谢您对TI产品的关注!为更加有效地解决您的问题,我们建议您将问题发布在E2E英文技术论坛上(https://e2e.ti.com/p/addpost),将由资深的英文论坛工程师为您提供帮助。

TMS320F280049: 串口通信,RS485,RS232等

dark D阅读(85)

Part Number:TMS320F280049

f280049(100Pin)的使用485或者232类似的通讯,需要配置SCI,但是只有SCIA和SCIB两个口可以使用,实际使用中的数量不够用,在不增加其他mcu或者转换芯片的情况下 ,F280049(100Pin)有没有其他的寄存器可以配置,做为RS485一类的串口使用呢

Vivian Gao:

您好

查看下方链接的回复。

e2e.ti.com/…/2965602

TMS320F28388D: 是否可以将InstaSPIN中高频注入法的算法库ipd_hfi.lib移植到28388d中?

Yan jinjin阅读(51)

Part Number:TMS320F28388D

您好,
是否可以将InstaSPIN中高频注入法的算法库ipd_hfi.lib移植到28388d中?想利用这个算法库得到初始电角度,后续运动控制使用自己的算法

Vivian Gao:

您好

我们没有查到相关内容。

我们建议您将问题发布在E2E英文技术论坛上(TI E2E support forums),将由资深的英文论坛工程师为您提供帮助

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1