Featured Discussions
Hello !
I am quite new in this field, and therefore a bit lost. I am currently designing a board using the STM32H757, and I need wireless WiFi/Bluetooth communication. I chose the Murata Type 1-dx which uses an Inifenon Cypress CYW4343W chipset. I really need the bluetooth classic functionnality of this module but I can't find any documentation on this subject. I've tried to take a look inside the Arduino Giga R1 libraries but it only supports BLE. I am looking forward to creating my own driver for the STM32H757 to communicate with the Murata Type 1dx. I have no ideas on how to configure the module (talking about bluetooth), such as changing the deivce mode from master to slave or vice-versa, changing the local name of the bluetooth module, changing the baud rate of the HCI-UART. I've tried taking a look at HCI commands but none of which I've seen answer my questions.
As a reminder I am new to this field so I may have missed something or misunderstood someting. If someone could help me figure out where to look that would be awesome.
Thank you in advance, sorry for my terrible English (I am not a native speaker).
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 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 LessQuiero utilizar el modelo BTS5012.Quiero controla el encendido y apagado de distintas lámparas led y saber si este modelo es posible aplicarle un duty cycle del 50% en el pin IN atraves de un microcontrolador para atenuar la iluminación led .
Esta aplicación es segura para el buen funcionamiento del componente?
Show LessHello,
I have an older treadmill with a faulty mosfet. Can you recommend an alternate as I can't find the original part?
Transistor MOSFET F30U60DN H18
tx
K
Show Less