AURIX™ Forum Discussions
使用ADS软件编译程序卡住在40%,此时显示编译已经基本结束,CPU(因特尔i9-13)占用率从80%降低到5%,说明此时CPU基本已经停止编译工作。但是编译无法正常结束,卡住一小时后不得不停止编译。且查看不了正确的报错信息。编译ADS自带的TC297工作例程,也出现了类似的问题,只不过卡在16%,并且显示芯片的cpu0~cpu2都编译完成,但是还是卡住了...
Show LessHi All,
I was using Aurix TC387
When I completely erase and flash the application software there was no protection hook and software functionalities are working, when i perform shutdown the CPU and given the reset and try running the software getting protection hook showing alignment error in DSTR and DEADD showing the flash address.
what could be the reason getting alignment error after performing shutdown and run the software, as there was no alignment error when i erase completely and flashing the software.
Show LessHello Champs,
I am facing an issue in UART working.
MCU - TC397
so I am printing logs using TERA TERM. I am using standard code as below:
void print_f(const char *p_frm, ...)
{
va_list p_arg;
va_start(p_arg, p_frm);
vsprintf(ubOutputBuf, p_frm, p_arg);
va_end(p_arg);
buf_to_screen(ubOutputBuf);
}
I am able to print the characters and constants values such as below,
print_f("\n\nRESULT_START\n");
but when I am using anything such as
test_print++;
print_f("\n\nRESULT_START value = %d\n", test_print);
Then everytime in Tera Term I get RESULT_START value = 1, the test_print value isn't changing!!!
Am I missing anything here.
Thanks in advance!
Could anyone help to understand the root cause?
Show Less
Hi everyone.
I would like to ask you how I can measure the execution time of a function using the STM module.
Would it be possible to measure it via the BSP default timer by assigning two variables of type Ifx_TickTimer, respectively the start and stop variables the number of ticks via the now() function of the Bsp.h library?
Also, to obtain these values during execution, is it mandatory to do so via debug or can I print them out via printf? I have tried printf but cannot print out the values (I have included the stdio.h library)
In TC38x DataSheet, I see Retention time and Tj according below example temperature profile. Can you provide temperature profile for TC387Q?
And Is the data Flash of TC387Q robust with an endurance of more than 1k write/erase cycles and data retention over 15 years with a fault drop out of less than 10 ppm of all devices?
Show LessHow can the tc233 UART send and receive data be bound to DMA? After binding to DMA, is the interrupt trigger still the interrupt service function bound to the original ifxCPU_irq_installInterruptHandler () function? The interrupts currently used are CPU resources. The amount of data is large. Each byte is interrupted once during reception, which is a waste of resources. Have you ever done this thigh piece? I hope you can share your experience. Thank you even more for any related demos you can provide!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/DMA-Uart%E4%B8%AD%E6%96%AD/td-p/654865
Show LessHi all
I've activate startup calibration and I was looking if it was mandatory to do also the post-conversion calibration and what are the effects to skip it
from the manual we have only this note
"Postcalibration steps can be appended to each conversion. Since variation caused by aging is very slow and
postcalibration leaves the capacitor discharged, for the current version of the converter postcalibration shall be
disabled (most applications are restarted periodically and, therefore, also repeat the start-up calibration)."
but I can't find any data related to "very slow".
Can I skip the post calibration if my application could work for 24hr continuosly? and if could work for 1month/yr continuosly?
Is variation caused by aging only the only cause that require a postcalibration?
later in manual we have
"In systems with a stable reference voltage, it is recommended to disable postcalibration permanently to avoid
these effects by setting bit DPCAL in register GxANCFG (x=0-11).
In systems where the reference voltage is influenced by temperature, postcalibration can be enabled temporarily
during certain operation phases to compensate these effects."
so it seems that at least post calibration is needed if the reference voltage is not stable.
Other conditions need to be taken in account?
Show Less
Hi
I need some more information about the interrupt concentrator module and the connection with the uC. I suppose it was quite simple but now I'm getting some strange behaviour..
I've two signals, one on TOm0 CH6 and one on TOM0 CH7. CH7 is a slave of one previous channels (CH0) and CH6 is a stand-alone channel (CH6 CN0 is reset by itself if it matters..)
I've activate on both channel (one per time since they share the same uC SCR) the interrupt setting them as MODE PULSE and setting IRQ_EN to 3 (any edge). The result is that I can have the CH7 interrupts callback but not the CH6
In register GTM_IRQG_6 I can see that both CH7 and CH6 change from "no interrupt" to "interrupt" but on SRC_GTOM03 I don't get any change when CH6 interrupt is active
I know that TOM0CH6 and TOM0CH7 share the same ICM out so any of the two should generate the interrupt (that I can see that are triggered in GTM_ICM_IRQG_6 and in GTM_ICM_IRQG_TOM_0_CI) but CH6 seems no more propagated out of the GTM
There is something else I need to consider between the GTM and the IR? there is a way to check the value of the signal GTM_TOM0_IRQ3 (the one of the figure138 user manual part 2)?
thanks in advance
Show Less
Hello all,
I am working on decoding the resolver signal and I am using the edsadc and rdc library downloaded for TC38x motor control software.
When i feed the resolver signal I cannot see any conversion results as it flicks between 1 and 65536 value. I can see the fault status enable to 0xFFFFFF as you can see in the screen shot.
what part i am missing, please can anyone shed your thoughts.
Many thanks
Show Less如果將陣列變數初始值想要改放在 DFLASH 0xAF00 0000 位置上 , 請問在Tasking linker file 怎樣設定 ?
#define BUFF_SIZE 8192
uint32 ATQD_LHMTqMapDLC_Y_rpm[BUFF_SIZE] = { 30, 0, 20, 15, 35,36, 37, 38 } ;
uint32 ATQD_LHMTqMapDLC_1_rpm[BUFF_SIZE] = { 30, 0, 20, 15, 35,36, 37, 38 } ;
Show Less