AURIX™ Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I have a problem with timestamp generation on can controller.
1) configured a gtm at 1us as source for timestamp.
2) I configured cannode to use that clock
{
can_data.basetime += 0x10000;
Hello,
is there a possibility to setup a data structure as 'packed' with the TASKING compiler? GCC has this possibility since a long time ago as __attribute__((packed)) that can be combined with alignement directives. For collecting data from external components (e.g. received via I2C or SPI) this is quite helpful because usually they are bytewise (or even bitwise) organized (most of the sensors I know). So if the microcontroller copies them in a data structure that is accordingly organized the application can save the time for unpacking them.
Yes, I'm aware of the fact that the access to packed data structure is not optimal in terms of memory access time performance. However, at least in my applications, the access to such packed structures is in the range of 1-1000Hz while the microcontroller executes at 300MHZ. So this memory access happens quite seldom compared to the application memory access. Not to forget that the unpacking will also take time and usually the access to the received data is only necessary ones each time new data is received. So the number of 'not optimal aligned memory access' is about the same but the application doesn't need the unpacking functionality.
Best Regards
Markus
Message from component 'IMTMemtool' : Can't connect to Target Message from component 'Controller0.Core0.Tc2CoreTargIntf' : Can't connect target ! Message from component 'Controller0.Core0.Tc2CoreTargIntf' : Can't connect target device via DAS !
# links to products, @ MINIWIGGLER
Show Lesswhen the lin mode is slave
how to choose the correct parameter for setting auto buadrate in slave mode ?
this is my code in function lin_init()
if (lin_mode[bus] == IfxAsclin_LinMode_master) //for master init
{
linConfig.brg.baudrate = 19200;
}
else //for slave init
{
linConfig.btc.prescaler = 32; //3000
// linConfig.brg.baudrate = 19200;
linConfig.brd.abd = TRUE;
linConfig.brd.lowerLimit = 0x36;
linConfig.brd.upperLimit = 0xBB; //3000
}
and I get the error like this:
linAutobaudDetectionError = 1
thank you
Show LessHi, guys.
l was using TC334 with aurix development studio(v1.9.0). How to modify hex output format? Now it has 32 byte data per line. l want to modify it to 16 byte data per line.
And TC334 has two PFlash0 start address(0xA0000000 and 0x80000000) . Its differ in access cache or no cache. When l want to erase or program PFlash0, which address should be used in my procedure. The start address in my hex is 0x80000000.
Here is my hex.
Show Less
The TGI input pin in the TC37x OCDS module is described as a trigger input. What event will be generated after the pulse is triggered? The specific functions of TGI are not described in the user manual.
Show Less使用官网TC397的开发板,通过SPI使能TLF35584看门狗功能后,ROT一直拉低,无法连接劳特巴赫调试器,刷不了程序。Microcontroller Programming Support 脚拉高后35584仍然给MCU发送复位信号如何解决????
as the title demostrated. failed in detect the device.how to solve this problem.any good advice?