PSoC™ 6 Forum Discussions
PSoC6. How to excute FW in SFlash by XIP and write log data or file system in SFlash?
For write data in SFlash we need disable XIP. so it is conflict when excute FW in SFlash.
Is there a walkaround way, I am looking some sample code.
Thanks!
Max
Show LessI am trying to run the "BLE_FIND_ME" program on my CY8CKIT-062-BLE, P63 device.
Tried Creator and Modus getting the same failure: for Creator (V4.4) it is “can't open cmsis-dap port” for Modus (Version: 2.3.0 Eclipse Build ID: 2307) it is “Error: kitprog3: failed to acquire the device”
Updated the kitprog to the latest version:
Info : CMSIS-DAP: SWD 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.21.1005
Info : KitProg3: Pipelined transfers enabled
Info : VTarget = 1.798 V
Still have the same problem, this kit has worked in the past.
Thanks
Show LessWhen you setup BLE on 2 cores,
in core M0+, it has these 2 functions:
"Cy_BLE_Start(0)" and "Cy_BLE_ProcessEvents()" as follows:
int main(void)
{
__enable_irq(); /* Enable global interrupts. */
Cy_BLE_Start(0);
Cy_SysEnableCM4(CY_CORTEX_M4_APPL_ADDR);
for(;;)
{
Cy_BLE_ProcessEvents();
}
}
These 2 functions are redundant in CM4, where they are called as follows:
Cy_BLE_Start(genericEventHandler);
for(;;)
{
Cy_BLE_ProcessEvents();
}
The questions are:
-Why we redundantly call the functions from 2 cores ?
-If I need to run BLE without interrupting its service, while i need to loop other tasks, without using RTOS. What is the efficient method to use ? for example if I need to run the BLE on one core, and other tasks on another core, i need to send data by BLE. How can I trigger the BLE for data transfer ? can I use an interrupt across the 2 cores ? i don't think IPC supports transferring interrupts
thanks
Show LessHello,
Question:What is the meaning of “Total Internal SRAM (Available) 1046528”
As the picture shows :
SRAM SIZE:1MB
Note:that 2176 bytes of RAM (at the end of the SRAM) are reserved for system use.
SRAM The biggest theory :1024*1024=1048576(byte)
SRAM Actual maximum :1048576-2176=1046400(byte)
But,“Total Internal SRAM (Available) 1046528 ”
1046528-1046400=128(byte)
Where did this 128 bytes come from?
注:
best wishes,
JCD
Show LessOur SW development shall be done on CY8CKIT-062S2-43012 and we intend to demonstrate it on standalone CY8CMOD-062-43012 module i.e. no additional carrier board but only power supply from battery (currently we are not using any of the module peripheral buses)
1. Correct me if I wrong but from the schematics of both module and pioneer kit, we understand that both 3.6V (VBAT), 1.8V (VDDIO) and 3.3V (VDD) should be supplied to module?
2. For uploading new FW to CY8CMOD-062-43012 do we must use physical connectors (SWD / JTAG) or the default factory FW includes OTA capability?
Thanks in advance
Show Less
Hi,
Do we have any example of a ML deployment on PSoC 6 with sensing [read multiple sensors (ADC's )] and control [ex- PWM control, on/off etc] and communicating to external device like raspberry pi or local server for data logging/ continuous monitoring kind of IOT application.
Remote diagnostics for a level 3/4 IOT example with graphical interface at the PI etc, will be icing over the cake.
Best Regards,
Sunny
Show Less
Hello.
I am testing the gpio output speed with CY8CKIT-062-WIFI-BT.
I attached the source code based on the Modus Toolbox being tested.
The datasheet says that maximum GPIO speed is 100MHz, but it is measured around 10MHz.
Is there any way to make the output faster?
Thanks and Regards.
Show Less
Hello All,
I have a project using PSoC63 in which the Vdd (and Vdda) varies from 2.1 to 2.5 V. I am using the Scanning SAR ADC as follows:
- Differential input across a low impedance (shunt resistor).
- VRef is System Bandgap (1.2V).
- Input common mode voltage is near Vss.
It appears that, with a constant input voltage, as Vdd (Vdda) increases, ADC readings increase somewhat. I don't have actual numbers - this is simply a consistent pattern that I have observed.
Has anyone else seen this behavior? If so, do you have a fix?
Paul
Show LessHi, I am trying to follow the provisioning guide for the CY8KIT-064S0S2-4343W kit and I have encountered a problem that I cannot overcome.
I have followed the instructions on this guide but I can't go beyond the following command:
cysecuretools --policy ./policy/policy_multi_CM0_CM4_tfm.json --target CY8CKIT-064S0S2-4343W provision-device
This command results on this error:
2021-10-01 15:02:40,950 : C : ERROR : Early Production Units detected, please get earlier version of tools by running 'pip install --upgrade --force-reinstall cysecuretools==2.1.0'. Check the log for details
I have tried to install the 2.1.0 version as it shows on the result, but when I try to run again the first command, I get the following result.
2021-10-01 14:54:39,426 : C : ERROR : 'STATUS_PARTITION' is not one of ['SRAM_DAP', 'FLASH_PC1_SPM', 'FLASH_PC2', 'FLASH_PC3', 'FLASH_PC4', 'FLASH_MAIN_CODE', 'FLASH_MAIN_XO', 'FLASH_MAIN_DATA', 'FLASH_SUPERVISORY', 'FLASH_WORK_SECURE', 'FLASH_WORK', 'SRAM_PC0_PRIV', 'SRAM_PC0_PUB', 'SRAM_SPM_PRIV', 'SRAM_SPM_PUB', 'SRAM_PC1_PRIV', 'SRAM_PC2_PRIV', 'SRAM_PC3_PRIV', 'SRAM_PC4_PRIV', 'SRAM_MAIN', 'SMIF_CODE', 'SMIF_XO', 'SMIF_DATA', 'BOOT', 'UPGRADE']
Failed validating 'enum' in schema['properties']['boot_upgrade']['properties']['firmware']['items']['properties']['resources']['items']['properties']['type']:
{'enum': ['SRAM_DAP',
'FLASH_PC1_SPM',
'FLASH_PC2',
'FLASH_PC3',
'FLASH_PC4',
'FLASH_MAIN_CODE',
'FLASH_MAIN_XO',
'FLASH_MAIN_DATA',
'FLASH_SUPERVISORY',
'FLASH_WORK_SECURE',
'FLASH_WORK',
'SRAM_PC0_PRIV',
'SRAM_PC0_PUB',
'SRAM_SPM_PRIV',
'SRAM_SPM_PUB',
'SRAM_PC1_PRIV',
'SRAM_PC2_PRIV',
'SRAM_PC3_PRIV',
'SRAM_PC4_PRIV',
'SRAM_MAIN',
'SMIF_CODE',
'SMIF_XO',
'SMIF_DATA',
'BOOT',
'UPGRADE'],
'id': 'type',
'required': True,
'type': 'string'}
On instance['boot_upgrade']['firmware'][0]['resources'][3]['type']:
'STATUS_PARTITION'. Check the log for details
2021-10-01 14:54:39,426 : C : ERROR : Policy validation finished with error. Check the log for details
I have tried with different python versions and different OS (Windows 10 and Ubuntu 20.04) but I had the same result always.
I hope someone can help me. Thank you in advance.
Jon.
Show Less