Microcontrollers Forum Discussions
Browse the Community
PSoC™ 6
Discussion forum regarding PSoC™ 6 - 32-bit Arm Microcontroller (MCU) Forum, discusses the 40-nm technology - best combination of ultra-low-power consumption, flexibility, security and high-performance topics.
PSoC™ 4
PSoC™ 4 - Arm®-based Forum, discusses the low-power Cortex®-M0 and Cortex®-M0+ cores, CapSense®, and Bluetooth® Low Energy
PSoC™ 5, 3 & 1
The PSoC™ 5LP, PSoC 2 and PSoC 1 Forum discusses - 24-bit Digital Filter Block (DFB), 24 UDBs, DMA controller and integrating AFE, digital logic with user interface ICs with an Arm Cortex-M3 CPU solutions.
CAPSENSE™ & MagSense
The Sensing Technology Forum discusses CAPSENSE™ - capacitive-sensing and MagSense inductive-sensing for consumer, industrial, automotive, and Internet of Things (IoT) applications.
XMC™
AURIX™
In this forum you can post your questions, comments and feedback about the 32-bit AURIX™ TriCore™ Microcontroller. The AURIX™ offers the highest scalability in performance, memory & peripherals across application. It is a safe and secure companion chip, meeting both the ISO functional safety standards and EVITA full security standards. Here you can also find the links to the latest board pages, SW and Tools GitHub, trainings, documents and FAQs
TRAVEO™ T2G
Discussion forum regarding 32-bit TRAVEO™ T2G Microcontroller - based on ARM® for automotive body electronics applications; cutting-edge performance, safety, and security features topics.
MOTIX™ MCU
The MOTIX™ MCU forum is designed for you to post your questions, comments and feedback about the famous Embedded Power ICs at anytime. Ask your technical questions or explore existing content!
Legacy microcontrollers
Featured Discussions
Hello 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
I 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 LessHi,
I am using CY8C6245LQI-S3D42 and I used the DFU examples to boot the system and created the application to run on AM4 core and everything is working well.
I wait for 5 sec in DFU to check if there is any updates or just move with the Application code.
I find that sometimes the device stops booting once in a blue moon. Now If I flash again just the boot loader, everything is fine , I need not have to write the Application, it moves from DFU in 5 sec to application.
I believe, there is some how the flash/DFU is getting corrupted. I want to protect this scenario. Can some one share how do I protect my DFU so that it never erases . Any example's will be appreciable, I am using USB CDC transport in DFU.
Regards,
Madhav
Show LessHello,
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 LessHi,
Looking at the latest ModusToolBox 3.2 I couldn't find an Ethercat Example for the board KIT_XMC48_RLX_ECAT_V2.1, is there any plan to port the Dave example to MTB as well?
Best Regards,
Marcelo Macedo - FAE at Neutronics
Show Lesshi, Im music developer try to create new instrument basic on Eastern instrument ,i start my prototype with Arduino board .
I want to change for Infineon microprocessor ,I need same touchkeys function in this link .
- different dimensions keys board
- Bluetooth MIDI/OSC transmit messages controller
- 156 touch switch
- 26 touch keys with full midi/osc controller function
-OLED display
((My main question is which microprocessor i need to start with .))
Show Less
Hi,
I want to know CYT2B75CAE this controller is supporting AUTOSAR, If yes where i will get those information,
when i browse i am not able to find the information
Show Less-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023