PSoC™ 6 Forum Discussions
Hello,
What is the setting value of AIRCR.PRIGROUP[2:0] using FreeRTOS?
The result of reading the AIRCR register in the task was 0xFA050000.
AIRCR.PRIGROUP[2:0] =000 ?
volatile uint32 temp32;
...
temp32 = SCB->AIRCR;
The result of reading both NVIC_GetPriorityGrouping() and NVIC_GetPriority(SysTick_IRQn)was below.
temp32 = NVIC_GetPriorityGrouping();
temp32 = NVIC_GetPriority(SysTick_IRQn);
result: NVIC_GetPriorityGrouping()=0
NVIC_GetPriority(SysTick_IRQn)=7
Best regards,
Yocchi
Show Lessit’s been noticed that we cannot seem to “Export to IDE” these projects. I suspect this might be because of the use of the PDL for the PSoC 6 units. Our customers will require that we meet MISRA-C requirements and be able to prove it, thus we need to use a static code checker. We use the IAR Workbench to run our static code analysis on our projects. We have been able to export projects just fine with the PSoC 5, but the PSoC 6 projects gives us the following message no matter what I’ve tried:
Show LessHi
I am building my application in Mbed-OS 5.15.1 on PSoC 62. According to the datasheet, application flash has a capacity of 1MB. Before I added WiFi to my application, the text section of my application (contains other features such as BLE) was about 442KB, and it ran fine. However, after adding WiFi feature, compilation would fail with the following message
region `flash` overflowed by 26716 bytes.
However, as I reviewed the linker file, 1MB is allocated for `flash` section. I understand that application is shared between two cores. The code for CM0+ is about 6KB, and my application size seems to be below the limit as well. Thus, I am quite puzzled why compiler thinks there is an overflow. Really appreciate if anyone can help pin point the issue. Is there something missing? Or where I can look into to resolve the issue?
Thanks,
Dennis
Show LessHi.
My customer use PSoC 61 (CY8C6136BZI-F14).
My customer use the RTC built into PSoC 6.
My customer use an external oscillator attached to the WCO
The power supply of VBACKUP of Backup domain including RTC uses a coin battery.
Power supplies other than VBACKUP supply 3.3V from the DCDC converter.
What is the current consumption of VBACKUP?
Best Regards.
Show Less
The CY8C63x6/CY8C63x7 datasheet (002-18787 Rev. *K) mentions a flash endurance of 100K cycles, while the CY8C63x6/CY8C63x7 TRM (002-18176 Rev. *I) mentions an endurance of 10K cycles.
Also the TRM mentions 'one block that can be used for EEPROM emulation for longer retention'. Is this longer retention due the EEPROM emulation method or due the fact it's the AUXilary flash block?
Can someone clear this up?
Thanks!
Rolf
Show Less
I am running the PSoC 6 MCU Basic Device Firmware Update(DFU) example (CE213903) and it works when the baud rate of the UART is set to 115200.
It takes about 30 seconds to do the update using the Bootloader Host though. For my application I need to get this upload to under 6 seconds.
I tried increasing the UART speed to 921,600 in the UART in the top design, and the setting the Bootloader Host to run at the same but I get the error "Communication port reported error 'Unable to read data from the target device'."
Any idea why I can't increase the UART speed?
Show LessHi,
I need to use Cy_Crypto_Rsa_CalcCoefs to populate the barretCoefPtr, rBarPtr, and inverseModuloPtr fields of my cy_stc_crypto_rsa_pub_key_t structure. However, I would prefer the arrays to be in flash instead of RAM, so I would need to compute those outside of the firmware, and then declare them as const. Is there a code example of how to compute those arrays (basically what the Cy_Crypto_Rsa_CalcCoefs does)?
Thank you,
Fred
Show LessHi,
I'm using MiniProg4 with the PSoC Programmer (API) to program PSoC6. Turns out Miniprog3 is MUCH faster. Checked this with a hex file which takes 20 seconds to program on a MiniProg4 and only 6 seconds on a MiniProg3.
It seems the difference in speed is related to the fact that Miniprog3 has a FX2 & a dedicated FPGA for programming, while Miniprog4 uses a PSoC5.
Any chance to enhance speed on the Miniprog4?
Regards,
Rolf
Show LessHello,
I am beginning a fresh project which uses the USBFS component.
I am using the latet 4.3 PSoc Creator, as well as the latest library 3.1.2.
But I keep on getting this error: The USBFS_DEV_PDL_v1_0 component in the schematic cannot be found in the Peripheral Driver Library (PDL). Make sure you have the latest PDL installed.
Can anyone help me?
Show Less