Featured Discussions
Hello Infineon,
My project requires using the SMIF (QSPI) to transfer from external flash memory into XMC7200 internal RAM through P-DMA.
Based on the 1-D definition of P-DMA in the XMC7200, the maximum transfer size is dependent on the "X_COUNT",
Where "X_COUNT" have a maximum of 256 iterations,
Which equals a maximum of 256*1 Bytes = 256 B of data transferred every P-DMA transfer, assuming 8-bit data element each transfer.
1. Is there a maximum sequential P-DMA transfer constraint that we should be aware?
2. If I have 16kB (64 sets of 256 B) of total data to be transferred through P-DMA, is there any easy way to automate and chain this 64 sets of transfer together without the microcontroller being involved after P-DMA transfer have started?
3. Or must the microcontroller be involved after each 256B of data transferred through every P-DMA transfer?
4. If so, is the overhead time spent between each P-DMA reprogramming and triggering significant or in the microsecond order of magnitude?
Show Less
HI
I would like to build a trigger control for a youtube maker project , using the TLE493D-W2B6
I have an TLE493DW2B6 shield2go board, and I connected it to the Arduino
I installed the library TLE493D
I copied the DrillTrigger_SpeedAsNumber example
connected the sensor to the ARduino UNO R3 I2C pins (checked with the oscilloscope I can see SCL adn SDA moving correctly)
Connected the VDD pin of the board to 3V3 and the GND to GND
but all I can read are always the same number (see screenhsot below)
even if I put a magnet on the top of the sensor:
am I missing something?
thanks
Fabio
Show Less
What is the magnetic hysteresis of the TLI5590 sensor? Does it differ on the two bridges?
Hi,
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 LessI'm exploring the CSX Touchpad Tuning sample application using the PSoC4 MAX Pioneer kit. In the user manual for the CAPSENSE Tuner app, it says "The middleware supports simultaneous detection up to three touches for a CSX touchpad
touch, so the touch table displays all the detected touches." However, I can only get two touches to show in the CSX Touch Table on the Touchpad View in the Tuner app. I can see the third (and when appropriate, fourth) finger in the main Widget View graphic, but notice only two of the fingers have a colored "dot" in the middle representing the centroid of the touch. I suspect I need to modify the number of centroids that are being tracked and/or reported, but am not sure what parameter I need to change in the capsense_defines header file to do this.
Also, what is the nature of the limitation of the middleware only supporting three simultaneous touches? Is there a theoretical limit of touches CAPSENSE can support?
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
Howdy y'all,
As the title implies, I was curious as to what the recommended torque was to secure the IPTC012N08NM5 to a heatsink? I couldn't find anything in the datasheet or any of the supplemental documentation on what the force should be.
Thanks
Show LessWe 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 Less