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')}
Hello,
We are developing the bootloader for the Infineon TC377 board. For that, we need the preserved RAM (The memory that shouldn't be initialized with zero during the controller reset) to hold the flag. So, we tried the keywords below for No-initialization and location, but AURIX is not supporting these keywords. Instead of the below keywords, what can be used to create the memory in the RAM, so that it shouldn't be modified after reset of the microcontroller.
#pragma NOINIT(BootMode_InPreservedRAM)
#pragma LOCATION(BootMode_InPreservedRAM,0x50000000)
/*Here first we are creating the variable BootMode_InPreservedRAM as no initialization and giving the address as 0x50000000 for LOCATION*/
Thanks in advance.
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, I tried to implement the mtb-littlefs in my xmc7100D board with few modification to mq serial-read/write program: But I am encountering an error: could you tell me why I am unable to do "
lfs_file_read(lfs, &file, &boot_count, sizeof(boot_count));
"
My COM Port:
in my lfs.c:
lfs_ssize_t lfs_file_read(lfs_t *lfs, lfs_file_t *file,
void *buffer, lfs_size_t size) {
int err = LFS_LOCK(lfs->cfg);
if (err) {
return err;
}
LFS_TRACE("lfs_file_read(%p, %p, %p, %"PRIu32")",
(void*)lfs, (void*)file, buffer, size);
printf("lfs_file_read(%p, %p, %p, %"PRIu32")",
(void*)lfs, (void*)file, buffer, size);
LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
lfs_ssize_t res = lfs_file_rawread(lfs, file, buffer, size);
LFS_TRACE("lfs_file_read -> %"PRId32, res);
LFS_UNLOCK(lfs->cfg);
return res;
}
How do I solve the LS_ASSERT function from failing?
Also how do I verify little_fs is not mounted on the internal flash but on the inbuild external flash memory.
Best,
PrasadA
Show Less
你好!
在NORMAL状态下,我用WriteRow写NAR时报0xF00000AA(Writes are disabled in safety register)错误,
请问是什么原因?另外,可否提供使用WriteRow的例程?谢谢!
补充一点:这部分代码我是放在CM4里的,这可以吗?
Show LessDear All,
I use the DAVE ide v4 with the nano library, calling the SPI-MASTER-EnableSlaveSelectSignal() and SPI-MASTER-DisableSlaveSelectSignal() functions cannot raise or lower the CS pin of SPI. However, when sending data through SPI, when using an oscilloscope to check the status of SCL and MOSI pins, they generate waveforms that are normal, but the CS pin remains in a high level state.
Configure this CS pin as an IO port, manually pull up or down the CS pin, but use the BUSY flag in the TBUF register as the completion of sending. When pulling up the CS pin, there will be a situation where there is still one byte that has not been sent, but the CS pin has been pulled up.
What may be the reason why the two API functions generated by calling cannot control the CS pin state; How can I avoid manually raising or lowering the CS pin when there is still one byte of data not sent?
Thanks.
Show Lesshi
i want to use the SCR in order to reduce the power consumption , and meet some block point. please check state flow bellowing :
if SW switch to SCR domain to execute, which position will sw execute next after wake up source login and exit from SCR domain ?
Step A (step A as the SW first code after reset )? or back to Step B?
Show Less
As 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'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 LessHello Team,
I am using the CY8C5888AXQ-LP096 Micro controller. I have to detect the interrupt for both edges at GPIO pin P6[4] .
I have configure the GPIO pin as mention below and adding the screenshot of configuration also.
1. As shown in Image, MCU_L_BC_TX_RX i.e P6[4] MCU pin configure as Digital input , Enabled Hardware Connection, External terminal , Resistive Pull up , Default state is HIGH and In Input panel selected as interrupt as Both Edges.
2. And In ISR Interrupt type is selected as DERIVED.
3. After configuration clear the interrupt in CY_ISR() function using Pin_clearInterrupt() Function
4. Then gave pulse signal to P6[4] and we have observe that it is only generating the interrupt at Rising edge not detection the interrupt at falling edge.
Could please anyone can guide us How we can configure the detect the interrupt on both rising and falling edge?
And where we are going wrong?
Warm Regards,
Annu
Show Less
Dear community,
Working on a project based on CY8C4046LQI-T452 reached the stage where we need to think on the production automation and more specifically on the chip programming. For my great disappointment, there seems to be no options to do a CLI programming using the cheaper(KitProg3) option. From what I have read, reached to the following conclusion:
-Modus Toolbox CLI is not suitable as the make/build option is not desired
-PSoC Programmer does not support the target and is not going to
-mtb-programmer does not have CLI option
The last option left is using a J-Link.
Would appreciate you suggestions
Kind regards
ST
-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023