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 together,
I'm writing a Task scheduler and stuck with some problems after the context switch.
After restoring the context for the next Task:
__builtin_tricore_mtcr_by_name("pcxi", lower_context);
__builtin_tricore_isync();
ULONG psw = __builtin_tricore_mfcr_by_name("psw");
psw &= ~(PSW_CDE_MASK);
__builtin_tricore_mtcr_by_name("psw", psw);
__builtin_tricore_isync();
__asm("rslcx");
__asm("rfe");
the "rfe" calls the correct Task function. But the "rfe" will not set new return address in A[11] register. It is 0. When the Task function ends with "ret16" the µC runs in a trap.
Missed I something in the preparation of the context switch?
What is the correct behavior of A[11] after the context switch/"rfe"?
Thanks!
BR
Christoph
Show Less
Hi Sir,
When I use "ADC basic" example with CY8CKIT-062S4, and modify the code to single end,
then everything is fine, ADC is working.
After I changing CY8CKIT-062S4 bsp to custom bsp we built(CY8C6244AZI-S4D62), then building and download are successful,
but ADC pin P10_0 has no output with CY8CKIT-062S4 board.
May I use CY8CKIT-062S4 board with CY8C6244AZI-S4D62 bsp? Is it correct?
Show LessI use PP_ComLib_Wrapper.dll in my project. I have created an object with that dll:
static PP_ComLib_WrapperClass pp = new PP_ComLib_WrapperClass();
and when i try to use the function USB2IIC_DataTransfer , i come up with this error: "I2C_PerformTransaction() is not implemented by this Programmer".
And also when i try to use the function USB2IIC_SendData , i get this one: "USB2IIC_SendData() not implemented for this programmer!"
How can i solve this error? What should i do? I use kitprog 3 "KitProg3 (Bridge/0C170AEE00162400)"
Show Less你好
目前使用"UART_VCOM_1_KIT_TC397_TFT"範例在Triboard TC397上進行測試。
開啟兩組ASCLIN 模組0跟模組4並且在中斷設置中有更改相對應的向量表數值,進行以下交互測試:
1. CPU0_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(0)"跟進行輸出"Hello World!" ==> 可以正常顯示
2. CPU1_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(1)"跟進行輸出"Hello World!" ==> 無法顯示
3. CPU2_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(2)"跟進行輸出"Hello World!" ==> 可以正常顯示
4. CPU3_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(3)"跟進行輸出"Hello World!" ==> 可以正常顯示
想請問為何在CPU1_Main.c會有此問題?
#AURIX
#Tricore
Show Less
I'm trying to understand the USB setup. I have a board that has a USB connector connected to the DP and DM pins on the PSOC5. I copied the code from the USBFS example and it runs, but hangs when trying to check the configuration. That appears to be because the Windows 10 computer does not recognize the USB device. It shows up in device manager under "Universal Serial Bus controllers", as "Unknown USB device (Device Descriptor Request Failed)". I am not sure if this is a hardware or software issue. The various documents seem to indicate that I have to find and install a special Windows device driver for the USBFS. I followed the instructions to install it but when I selected the .inf file, I got a message that a compatible file was not found. (That was when trying to install the driver from the unknown USB device entry in device manager.)
In general, why should I need a special device driver? I want to produce a product that creates a com port for anyone who installs it into windows. Why won't the Ftdi drivers work? Is there any path to making them work?
But, from reading, I am not at all sure that this is a driver problem.
Help please.
Thanks Russ
Show LessHi Team,
I am new to TLE controllers. I am trying to run a sensorless BLDC motor and reading the current feedback. I used the example code BLDC_BC_BEMF_EXAMPLE_TLE987X and I am able to run the BLDC motor properly using CCU6. While adding the configuration for reading the ADC1_CH1, my callback is getting called by the ADC value is not getting change with changing in the speed value. The ADC configuration is attached with name ADC1_CH1_config.
Also, while change the ccu6 configuration from edge_alligned mode to central-alligned mode, my motor is not running(to read the motor feedback properly in centre-alligned mode)
I am attaching the whole project here.
can somebody please have a look and help me here as I am stuck in this situation for sometime now.
Show Less
Hi, experts.
When debugging Infineon example "Flash_Programming_1_KIT_TC334_LK ", I found that when I used the default parameters, Flash can be erased normally, but when I changed the initial address of erase from 0xA00E0000 to 0x80080020, I found that the erase seemed to fail. when I changed the initial address of erase from 0xA00E0000 to 0x80080020, I found that the erase seemed to fail, I think it may be caused by the macro definition "#define RELOCATION_START_ADDR (0x70100000U) ", please tell me what this macro definition means, and how to solve the problem here, thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/The-Infineon-example-quot-Flash-Programming-1-KIT-TC334-LK-quot-failed-to-erase/td-p/723792
Show Less我在TC387上移植英飞凌ADS例程中的FreeRTOS+Lwip,移植成功后调试模式ETH能够通信,但是在冷启动后,ETH是不通的, 但是如果我在IfxGeth_Eth_WaitTransmitBuffer()中增加系统复位的功能,在冷启动并在系统复位后,ETH又能够通信,这个是因为什么原因引起的?
1. 调试模式,能够发出到DOIP报文
2.冷启动后,是不能发出DOIP报文
3. 在下面函数中如果tx为NULL,则启动系统复位
Show Less
How to select a project as active debug when DAVE opens multiple projects?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/XMC/active-debug/td-p/723640
Show Less-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023