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
text.format{('custom.tabs.no.results')}
Hi,
I want to configure my UART module
TX should happen with 10US that i have configured with GPT ,
RX should happen with Interrupt based.
same when i tested RX got struck in IfxStm_isDeadLine(inline) function.
I want to know why it is getting strucked
Show Less
Hi,
I was going through document AN2358 which suggests an approach to implementing a Manchester decoder.
I have a query about the implementation.
IEEE 802.3 Ethernet standard states that the input data (Manchester encoded) may have a jitter of +-18ns. Now if this is used in a decoder with a fixed delay count (3/4) to sample an input data bit, how will this circuit sample the correct data and produce the recovered output?
Is there any other way this jitter in the input data can be handled to recover the correct data bit?
Thanks
Pulkit
Show Less
after flashing (iROM) the LCDDemo provided by the Free Aurix Entry Toolchain, the TC2X7 V1.0 Application Kit Board is performing an reset within an second after every startup of the application. Therefore i can't flash the board by the Toolchain anymore, because no connection can be estabiled or the board is disconnected after the board resets.
Is there any possiblity to halt the board after the startup and stop the execution of the the application code e.g. by an hardware pin, so that i can erase the application code or flash a new one?
I'm thankful for every hint, which could lead to an solution of my problem!
Best regards
Lukas Show Less
What's the different between infineon's CAM sensor TLE4983, TLE4986, TLE4988, TLE4931?
Thanks
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/CAPSENSE-MagSense/Infineon-CAM-sensor-Type/td-p/744491
Show LessInfo : 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 LessHi
I have downloaded the XMC flasher tool, and when I opened it and tried to connect for the first time I was prompted that there was a new version of the firmware, so I clicked install. But I think somewhere in the installation process it failed, so now the XMC1300 wont connect anymore. I have tried to connect to it using Memtool, but without success.
I have selected device name as 1302-200 (as stated on the chip) and I have selected the connected emulator.
The error log in the XMC flasher is:
INFO-com.infineon.XMCFlasher.MainAppController-main: Logger Name: com.infineon.XMCFlasher.MainAppController
INFO-com.infineon.XMCFlasher.SeggerLibLoad-configureLoad: Not Found property: xmcFlasher.JLink.dllPath Searching in registry key
INFO-com.infineon.XMCFlasher.SeggerLibLoad-configureLoad: Setting property: bridj.JLinkARM.library to: C:\Program Files\SEGGER\JLink_V796e\JLinkARM.dll
INFO-com.infineon.XMCFlasher.SeggerLibLoad-configureLoad: Not Found property: xmcFlasher.JLink.dllPath Searching in registry key
INFO-com.infineon.XMCFlasher.SeggerLibLoad-configureLoad: Setting property: bridj.JLinkARM.library to: C:\Program Files\SEGGER\JLink_V796e\JLinkARM.dll
INFO-com.infineon.XMCFlasher.SeggerDLL-checkAvailabilityAndLoad: Loaded JLink DLL 7.96.e
INFO-com.infineon.XMCFlasher.MainAppController-start: Starting Application in process ...
INFO-com.infineon.XMCFlasher.view.RootLayoutOverviewController-handleChangeDeviceName: Setting Device Name configurations
INFO-com.infineon.XMCFlasher.view.RootLayoutOverviewController-handleChangeEmulator: Setting Device Name configurations
SEVERE-com.infineon.XMCFlasher.ErrorLogCallBack-apply: Communication timed out: Requested 8 bytes, received 0 bytes !
WARNING-com.infineon.XMCFlasher.view.RootLayoutOverviewController-handleConnect: com.infineon.XMCFlasher.DebuggerExceptions: Error get BMI value
INFO-com.infineon.XMCFlasher.view.RootLayoutOverviewController-handleChangeDeviceName: Setting Device Name configurations
What can I do to re-flash it?
I have attached an image of XMC flasher
Show LessI 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
Hi,
starting from the examples MCMCAN_1_KIT_TC375_LK and ADC_Single_Channel_1_TC375_LK I have to send the value acquired from the analog channel with a CAN message. This is how I've tried to do that:
void transmitCanMessage(void)
{
/* Initialization of the RX message with the default configuration */
IfxCan_Can_initMessage(&g_mcmcan.rxMsg); // @suppress("Field cannot be resolved")
/* Invalidation of the RX message data content */
memset((void *)(&g_mcmcan.rxData[0]), INVALID_RX_DATA_VALUE, MAXIMUM_CAN_DATA_PAYLOAD * sizeof(uint32)); // @suppress("Field cannot be resolved")
/* Initialization of the TX message with the default configuration */
IfxCan_Can_initMessage(&g_mcmcan.txMsg); // @suppress("Field cannot be resolved")
/* Define the content of the data to be transmitted */
//g_mcmcan.txData[0] = TX_DATA_LOW_WORD; // @suppress("Field cannot be resolved")
//g_mcmcan.txData[1] = TX_DATA_HIGH_WORD; // @suppress("Field cannot be resolved")
/* Define the content of the data to be transmitted */
g_mcmcan.txData[0] = (uint16)(g_result & 0xFFFF); // @suppress("Field cannot be resolved")
g_mcmcan.txData[1] = (uint16)((g_result >> 16)& 0xFFFF); // @suppress("Field cannot be resolved")
/* Set the message ID that is used during the receive acceptance phase */
g_mcmcan.txMsg.messageId = CAN_MESSAGE_ID; // @suppress("Field cannot be resolved")
/* Send the CAN message with the previously defined TX message content */
while( IfxCan_Status_notSentBusy ==
IfxCan_Can_sendMessage(&g_mcmcan.canNode, &g_mcmcan.txMsg, &g_mcmcan.txData[0]) ) // @suppress("Field cannot be resolved")
{
}
}
but it does not work.In addiction I cannot understand where the global variable g_result is stored.
I'm at a very beginner level and this is for a scolar project, could someone please help me?
Thanks in advice, I'll also share the entire file in the upload section.
您好,我在TL9261芯片的DATASHEET中未看到Node internal delay time的描述,想问一下这个时间应该在哪里查找呢?
Can the dead time of the EVRC driver be adjusted, and if so, where can I find the description of the registers.
-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023