TRAVEO™ T2G Forum Discussions
在测m0启动时间需要700ms,测试方法是,只有一个m0在运行的情况下,在m0时钟初始化结束,操作gpio,测出来这个时间到给mcu供电的时间要700ms
Hi,
I am facing an issue while debugging the CYT2B9 MCU in IAR workbench with J-Link debugger. Please help me to solve this issue.
The debug log file is attached below.
Show LessHello,
We are testing CYT3BB chip on board level in DeepSleep mode, out of 10 boards we found 1 board with high sleep current issue.
There are a few unused pins and we left floating (NC). We found some NC pins have voltage spikes even during DeepSleep. We also measure current spikes on supply going into MCU VDDD pins every 600us.
We found these voltage and current spikes correlates with each other.
Measuring on VDDD, VCCD, and VDDIO, there is ripple voltage from low to high every time when the current spikes.
Question:
- What might cause the MCU to consume temporary current that causes current spikes at short interval?
- How to check if the floating pins are input disabled?
- Where else can I troubleshoot to eliminate leakage path ?
Cheers,
William
Show Less关于ethif的中断配置有btsu_time_match 和btsu_sec_inc , btsu_sec_inc是1s一次中断,btsu_time_match有点不明白,能否稍微解答一下,关联的ETH_TSU_SEC_CMP,ETH_TSU_NSEC_CMP寄存器吗?
另外能否通过配置tsu_timer产生自定义间隔,类似1ms一次的中断?
Show Less
Hello everyone,
I am facing problems during using ADC trigger procedure by TCPWM.
I used the example code from "Using a SAR DAC in Traveo T2G" guide but still can't get the ADC conversion via PWM hardware trigger. (No problem with Software trigger)
EVM board: CYTVII-B-E-1M-176-CPU
I have no idea what else I can check to solve the problem
Please help me to check If I am doing something wrong.
Thanks and BRs,
Show Less请问带M的ADC如何配置,我需要用到10路AD,其中有3路为带M的ADC,但同样的配置此3路AD毫无作用,测量值始终为0。
//ADC_0_M
{
.preconditionTime = 0u,
.powerupTime = 0u,
.enableIdlePowerDown = false,
.msbStretchMode = CY_ADC_MSB_STRETCH_MODE_1CYCLE,
.enableHalfLsbConv = 0u,
.sarMuxEnable = true,
.adcEnable = true,
.sarIpEnable = true,
},
//ADC_0_M
{
.triggerSelection = CY_ADC_TRIGGER_OFF,
.channelPriority = 0,
.preenptionType = CY_ADC_PREEMPTION_FINISH_RESUME,
.isGroupEnd = true,
.doneLevel = CY_ADC_DONE_LEVEL_PULSE,
.pinAddress = (cy_en_adc_pin_address_t)ADC0_M_DETECT,//P11.0 CY_ADC_PIN_ADDRESS_VMOTOR
.portAddress = CY_ADC_PORT_ADDRESS_SARMUX0,
.extMuxSelect = 0,
.extMuxEnable = true,
.preconditionMode = CY_ADC_PRECONDITION_MODE_OFF,
.overlapDiagMode = CY_ADC_OVERLAP_DIAG_MODE_OFF,
.sampleTime = 60,
.calibrationValueSelect = CY_ADC_CALIBRATION_VALUE_REGULAR,
.postProcessingMode = CY_ADC_POST_PROCESSING_MODE_NONE,
.resultAlignment = CY_ADC_RESULT_ALIGNMENT_RIGHT,
.signExtention = CY_ADC_SIGN_EXTENTION_UNSIGNED,
.averageCount = 0,
.rightShift = 0,
.rangeDetectionMode = CY_ADC_RANGE_DETECTION_MODE_INSIDE_RANGE,
.rangeDetectionLoThreshold = 0x0000,
.rangeDetectionHiThreshold = 0x0FFF,
.mask.grpDone = true,
.mask.grpCancelled = false,
.mask.grpOverflow = false,
.mask.chRange = false,
.mask.chPulse = false,
.mask.chOverflow = false,
},
Cy_Adc_Channel_Enable(&PASS0_SAR0->CH[ADC0_M_DETECT]);
请提供帮助,谢谢
Show LessHi All,
Will there be any issue in erasing a code flash or writing to code flash region.
While your application is running in a different code flash region.
Is there any document which talks about parallel access of data and code flash in Traveo II.
您好,在使用SDL中关于flash的例程时,发现访问地址读取到的flash的数据与预想的有偏差,并且在IAR调试器中仿真,也会有程序跑飞的现象。请问这可能是什么原因?谢谢。
手上有CYTVII-B-E-1M-SK 的开发板,按照Getting started with TRAVEO™ T2G entry family starter kit 进行single core CM0进行调试。 如在IAR EWARM软件里面选择了\T2G_Sample_Driver_Library_7.6.0\tviibe1m\tools\iar\flash\tviibe1m_flash_cm0plus_template.eww文件。
在IAR里面显示的文件结构如下1.png, 主要包含了hdr,src和output三个文件。
然而,hdr和src的部分文件来自于\Infineon\T2G_Sample_Driver_Library_7.6.0\common下的hdr和src文件夹。见图片2.
可能有部分特殊的文件来自\Infineon\T2G_Sample_Driver_Library_7.6.0\tviibe1m下的hdr和src,具体细节我没有去核对,见图片3.png。
问题1. 在common文件下面以及tviibeim文件夹下面的hdr 和src文件,我理解都是些该开发板的基础软件(通讯相关的),这些文件是否有在类似于STM32芯片的 STMCubeMX软件进行配置? 那cypress对应的工具是哪个?
2. 希望利用此开发版进行相关案例学习。该文件在\Infineon\T2G_Sample_Driver_Library_7.6.0\tviibe1m\src\examples下面,见图片4.png。
看了该文件夹下面的readme文件,见图片5.png。 如何替换每个案例?
如果还是调试single core CM0,针对图片6的GPIO案例进行调试,是如下的这个操作吗?首先IAR里面打开:\T2G_Sample_Driver_Library_7.6.0\tviibe1m\tools\iar\flash\tviibe1m_flash_cm0plus_template.eww这个文件,然后把对应文件夹的6.png里面的main_cm0plus.c 替换掉原来的main_cm0plus.c吗?
Show Less按照 Just following the guideline "Getting started with TRAVEO™ T2G entry family starter kit" Par. 2.3 Verify installation by quick hands-on.
Step 2. 不知道怎么Power Up. As I didn't know how to Power up, so No blinking for LED1 and LED4.
Step 7. Erros from the IAR EWARM.
Background information. IAR EARM 8.42.1 / SDL V7.6.0
Show Less