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
Hi everyone,
I started working with Linker scripts and startup code that comes in the demo, but I can't find a reference/ manual that will documents the scripting language used in the LSL files mainly the HighTech one.
Can anyone please point me towards it?
And I want to know what does a FLAGS(z) mean I can't find any answer to what this "z" flag do.
Thank You.
Show LessIm using tc377 for uart communication, I have to send data from tx without interrupt by using Timer(Gpt12)
when i using this Data is stored in Tx buffer but not transmitting to Rx.
This is timer function
void interruptGpt12_T3(void)
{
IfxCpu_disableInterrupts();
IfxPort_togglePin(LED);
if(g_flag1 == 1)
{
send_receive_ASCLIN_UART_message();
}
IfxGpt12_T3_setTimerValue(&MODULE_GPT120, RELOAD_VALUE_T3);
IfxCpu_enableInterrupts();
}
This one data transfer and receive function through uart
extern void send_receive_ASCLIN_UART_message(void)
{
IfxAsclin_Asc_write(&g_ascHandle, g_txData, &g_count, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &g_count, TIME_INFINITE); /* Receive data via RX */
}
Show Less
Hi infineon
As the title said, I got a problem with "Vddk", I use the next formula to configure "Vddk", but some products(not all, same program) will exceed the threshold(±2%) when ambient temperature increasing, and the calculated value close to low boundary? Could you give me some advise? Thanks
Show Less
We have been working on debugging an issue where the TC29x Ethernet receiver halts after being saturated with messages and the Ethernet module must be restarted for the receiver to continue receiving messages. We have seen this behavior on two of our designs and on the TC2X9 Triboard. In debug mode the Receive Watchdog Timeout bit causes an interrupt and data corruption is seen when reviewing the Rx buffers. This eventually leads to the receiver halting, no longer receiving any messages and the missed FIFO counter being filled with the missed messages. We are trying to determine the root cause of the data corruption and the halting of the receiver. Any help on this would be greatly appreciated.
Note, with our current test configuration we have also seen that disabling the "Automatic Pad or CRC Stripping" and "CRC Stripping of Type FRAMES" in the MAC configuration prevents the receiver from halting, but we would like to know the root cause of this issue.
Show LessI'm trying to eliminate one particular ISR from my old OS configuration. So currently RTA-OS configuration tool, tricore tasking of version 6.2 with licensed & old configured file .rtaos & .arxml. To build i'm using BuildOS.bat (tricore compiler) file.
But when i try to check documents related to build using available file i'm unable get it. As i'm new user to this not getting where the mistake is done. Kindly it's my humble requesting for guidance to build with correct path & setup.
Show LessAs has been reported elsewhere, I am getting "The given PDL path "C:\Program Files (x86)\Cypress\PDL\3.1.7" is invalid. Unable to find required PDSC file." when I attempt to Generate Application. I am trying to run the "Hello World" application, i.e. just getting started with PSoC 6. The path should be valid since I found it via the "Browse" button.
Can someone advise me how to fix this?
Thank you.
Show Less
I can program the psoc5 using openocd now, with some caveats. However, if an NVL entry exists, it stops.
I have a project which somehow did something to the NVL.
I understand setting the Reset condition on the Pins can cause this. However, setting the pins to Don't Care doesn't fix this problem, so I suspect something else is causing the NVL to change.
Is there *any* gui / command line interface to find out what is causing the NVL to be set? (so it can be "fixed" in the project?)
This would not normally be a problem, but using openocd to program the psoc halts when the NVL entry is in the Creator generated hex file. I have multiple reasons for using openocd, some of which involve production machines. Others are very fast compile/debug cycle. (https://socmaker.com/?p=1004, and https://socmaker.com/?p=1027)
If I use objcopy, could I exclude that from the elf file for the new obj? (before making a hex file) If so, would it be by address? If so, which address? otherwise, how would I do that exclusion?
Is there a way to use openocd to program the NVL (perhaps kitprog in kitprog mode?) (Just checking)
Thanks!
Show Less
Info : Could not connect to device: MiniProg4/PSoC 61/62/63
Info : Open On-Chip Debugger 0.11.0+dev-4.4.0.2134 (2022-09-08-13:07)
Info : Licensed under GNU GPL v2
Info : For bug reports, read
Info : http://openocd.org/doc/doxygen/bugs.html
Info : DEPRECATED! use 'adapter speed' not 'adapter_khz'
Info : adapter speed: 1000 kHz
Info : adapter speed: 1500 kHz
Info : adapter speed: 1500 kHz
Info : >> do kp3 acquire
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf151, serial=180F031D03201400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : KitProg3: FW version: 2.40.1241
Info : KitProg3: Pipelined transfers enabled
Info : KitProg3: Asynchronous USB transfers enabled
Info : VTarget = 3.319 V
Info : kitprog3: acquiring the device (mode: reset)...
Error: kitprog3: failed to acquire the device
Info : clock speed 1500 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'test.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : Disconnected - MiniProg4 CMSIS-DAP BULK-180F031D03201400 FW Version 2.40.1241
I am getting above error while programming CY8C6245LQI-S3D42 using miniprog-4. There are 2 boards giving same problem. These boards were programmed earlier. Also the programmer setup is confirmed working using another board.
Can anyone help to resolve this issue?
Show LessI am attempting to follow the "Secure Boot" SDK user guide but continually run into the same problem. When attempting to setup the "CySecureTools" workspace i get the same error 'bash: cysecuretools: command not found' i get this even though i installed it and when i attempt to reinstall cysecuretools i got the message stating command already satisfied. This is all done on Windows
Show Less-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023