AURIX™ Forum Discussions
Hello together,
I'm new here and stepped into an issue: We want to use the oscillatior monitor for a TC364 and the example in the user manual is to set the lower and upper threshold to +/-10% of fPLL0.
As the back-up clock is used as reference I assume this will fail because the datasheet grants only an accuracy/tolerance of +/-30% of the back-up clock.
So my question: is it necessary to trim the back-up clock, and how is this done?
In my understanding the finetrimming is not possible while runtime, without a trustable reference clock. So this should be an end of line process of the fnished product.
But there is a bit which controls the temperature based dynamic trimming. Does this help to switch on? And if this is recommended, why is it possible to switch on and off - then it should be always on. IMHO it makes only sense to deactivate this if the functionality is broken.
Can someone help with this issue?
best regards,
Thomas
Show Less
The current TC397_TFT v1.0 development board uses the TC397 A step of the chip, but I see ADS are TC397 B step routines, I will ADS in a few examples compiled and burned to the development version, can not run normally, respectively, through the TASKING and winIDE DEBUG found that the chip startup process will enter the Context Maneger Error Trap, the following figure belongs to, please ask! Please ask:
1. For Context Maneger Error Trap should be solved in what way?
1. Current ADS 1.9.20 supports TC397 A step chip, if not support and TC397A step corresponding to the example tutorial?
2. What is the difference between TC397 A step and TC397 B step?
TASKING DEBUG
winIDE
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC397-TFT-v1-0%E5%BC%80%E5%8F%91%E6%9D%BF%E7%BC%96%E8%AF%91%E7%83%A7%E5%BD%95%E4%BB%BB%E6%84%8FADS%E7%A8%8B%E5%BA%8F%E4%BC%9A%E8%BF%9BContext-Maneger-Error-Trap/td-p/743094
Show LessThis Q&A just discussed P/D Flash, AURIX™ MCU: Error Correction Code (ECC) support - KBA238244
My question: is there special ECC for RAM and CAN relevant memory, e.g. Message RAM
Show LessHi community.
I would like to ask you if it is possible to trigger a single EVADC channel through 2 trigger events of TOM. In detail, i would like to generate a PWM signal by means of TOM in up-down counting mode. The aim is to trigger the EVADC when the CN0 counter reaches CM0 value and when it reaches 0. In my case, the CN0 counter is reset by means of an external signal(TIM_EXT_CAPTURE), so i would like to ask you some advice for this task.
Show LessI am using Application Kit TC3X7 V2.0 TFT board
I have configured BMHD but the board all the time boots from Internal flash ignoring BMHD settings
If i want to use Alternate Boot Mode or BMI to boot , which all changes i need to do on the board?
Show LessHello Infineon Team,
I am using TC377_ED_EX AURIX Tricore microcontroller, I have integrated RTOS code with my general configurations, code was built successfully in Tricore IDE, however after flashing code in Lauterbach T32 debugger, and doing step over at every function and getting trap at __mtcr().
If code is in trap, then in some trap registers it should show status in trap registers, but in Trap registers also there is no specific value only 0000000 given.
for better understanding, I am attaching screenshots of call stack, error window, & registers value log
Hope you will provide me better solution to overcome this issue.
Thanks,
Poonam
Show Less
Hello,
I'm working on a project for a company where I need to implement Ethernet with UDP using Lwip. I noticed that there is no example on this particular subject. I only found examples of TCP echo. Nevertheless, I am attempting to write my own code for implementing a UDP server (code shown below). Then, I implement the function(udpServer_Init) in the main_cpu0
program. When I try to run the program, I can ping the microcontroller, but when I attempt to connect via Putty terminal, it says "connection refused." I am wondering if I am missing some settings in lwipopts.h
or if I am overlooking something else. I would greatly appreciate it if anybody could provide me with some examples of UDP on the Aurix microcontroller or provide any help regarding this problem. I am also including important program files in the attachment.
void udp_receive_callback(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr_t *addr, u16_t port)
{
/* Connect to the remote client */
udp_connect(upcb, addr, port);
udp_send(upcb, p);
pbuf_free(p);
udp_remove(upcb);
}
void udpServer_Init(void)
{
struct udp_pcb *upcb;
/* 1. Create a new UDP control block */
upcb = udp_new();
udp_bind(upcb, IP_ADDR_ANY, 8);
udp_recv(upcb, udp_receive_callback, NULL);
}
lwipopts.h:
#ifndef __LWIPOPTS_H__
#define __LWIPOPTS_H__
/*********************************************************************************************************************/
/*------------------------------------------------------Macros-------------------------------------------------------*/
/*********************************************************************************************************************/
#define LWIP_UDP 1
#define MEMP_NUM_UDP_PCB 4
#define NO_SYS 1 /* Use LwIP without Operating System (no threads, no semaphores, etc.) */
#define LWIP_NETIF_HOSTNAME 0 /* Enable hostname option in DHCP */
#define BOARDNAME "AURIXLK2TC375TP" /* Board name, also used as hostname */
#define MEM_ALIGNMENT 4 /* Set memory alignment to 4 byte (32-bit machine) */
#define MEM_SIZE (25 * 1024) /* Size of the Heap */
#define LWIP_DHCP 0 /* Enable DHCP protocol */
#define LWIP_NETCONN 0 /* Disable Netconn API */
#define LWIP_SOCKET 0 /* Disable the Socket API */
#define SYS_LIGHTWEIGHT_PROT 0 /* Disable inter-task protection */
#define ETH_PAD_SIZE 2 /* Add 2 bytes before the Ethernet header to ensure payload alignment */
#define __LWIP_DEBUG__ /* Enable debugging through UART interface */
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1 /* Enable an extended callback function for netif */
#ifdef __LWIP_DEBUG__
#define LWIP_DEBUG /* Enable LwIP debugging */
#endif
#ifndef IFX_LWIP_DEBUG
#define IFX_LWIP_DEBUG LWIP_DBG_OFF /* IFX LwIP debug level set to OFF */
#endif
#define DHCP_DEBUG LWIP_DBG_OFF /* Enable DHCP Debug */
#define NETIF_DEBUG LWIP_DBG_ON /* Enable NETIF Debug */
#define LWIP_DBG_TYPES_ON LWIP_DBG_STATE /* Enable only module state debug messages */
#endif /* __LWIPOPTS_H__ */
Best Regards,
Žan Marinšek
We are using Tasking IDE on Aurix evaluation board. There’s a build in miniWiggler debugger. We can use this miniWiggler debugger to debug the code. We can set break points, stop at break points, evaluate variables at break points. However, one main feature is not working in all the PCs: we cannot do “step into”, “single step”, “step through” features. We must unset the break point in the current step and set a break point in the next step then hit “continue to run” to mimic the “single step” feature. Is that the problem with the debugger? Do j-link debugger work with Tasking IDE?
Thank you so much for your answer.
Show LessHello,
I have a problem with an Aurix TC275TP, I need to write data inside the flash with Trace32 in DXCPL mode, but I don't know the correct command sequence.
Is it possible to write data when the uC is running? I think that I have to unlock the flash first, then erase it and write, but I don't know the commands.
Regards
Show Less