PSoC™ 6 Forum Discussions
I'd like to combine analog and digital on Port9. Can I
- Use OA0 (P9.0, P9.1, P9.2) and the output of OA1 (P9.3) and
- SCB2
at the same time, using SmartIO to move the SCB2 signals from P9.0 and P9.1 to P9.4 and higher?
Show LessHello,
Question:How to configure the map file generated by modus toolbox so that it can display the size of ROM/RAM occupied by each file?
Current state :Display the address and size of each function of each file.
I would be very grateful if you can help me solve this problem .
best wishes,
JCD
Show LessHello,
I am having a sudden and persistent issue using a MiniProg4 device to connect to PSoC devices. Previously, I was able to use the MiniProg to program PSoC devices without issue; however, the past two days the programmer has been unable to see anything connected to it, leaving me unable to develop.
I am using a MiniProg4 configured for SWD programming; my target device is a CYBLE-416045-02 component.
What is interesting is that this issue seems to be related to my workstation; I am able to program without issue when making use of a colleague's computer, even when using all of the same hardware (computer-to-MiniProg cable, custom SWD cable, PSoC device, etc.).
I have tested using multiple PSoC devices, multiple MiniProg4 devices, multiple computer-to-MiniProg cables, and multiple MiniProg to PSoC connectors. I have tested continuity of my custom SWD connector wires, and know that they are being received by the PSoC device. I have completely uninstalled and reinstalled all Cypress programs and drivers (PSoC Creator 4.4, ModusToolbox, PSoC Programmer 3.29.0, MiniProg4 and MiniProg4 UART drivers), and none of these have solved the problem.
I had a similar issue occur about a month ago where my computer was unable to identify the attached MiniProg 4 device; however, following the steps listed here solved that problem. My current problem is unique in that I can see the programmer but cannot see any chip connected to it.
I have attached a photo below of my PSoC Programmer 3.29.0 setup and accompanying error when trying to erase the PSoC 63 chip.
Please advise what steps I should take to fix this problem.
Thanks.
Show LessHi,
I'm setting up a PSOC6 timer using PDL functions in ModusToolbox. The timer is preconfigured using DeviceConfigurator 3.0 and then initialized and started using the definitions created in the generated code. The timer generates an interrupt on terminal count to have a periodic event, initially set to 1 second, that will trigger other actions.
So far so good, but I need to dynamically change the timer's terminal count to alter the frequency of the periodic event. But calling Cy_TCPWM_Counter_SetPeriod() alone doesn't change it. Stopping or disabling the timer before calling ..SetPeriod() doesn't make any difference. Investigating further I found out that the companion Cy_TCPWM_Counter_GetPeriod() on first call returns FFFF FFFF FFFF FFFF (that is -1). On subsequent calls it returns the period set in the prior call to Cy_TCPWM_Counter_SetPeriod(), however, the timer remains fix at the same initial period of 1 second.
The only way to successfully change period is to de-initialize and reinitialize the timer as follows:
uint32_t _Timer_1_clock = 100000U;
void Change_Timer_1_Frequency(uint32_t _new_frequency)
{
uint32_t period = 0;
/* validate frequency ranges */
if (_new_frequency < MIN_FREQUENCY || _new_frequency > MAX_FREQUENCY)
return;
period = Cy_TCPWM_Counter_GetPeriod(Timer_1_HW, Timer_1_MASK);
if (period == 0 ) // the only reason for this test is so period is not optimized away!
return;
cy_stc_tcpwm_counter_config_t T1_config;
/*Timer_1_config is CONST, we need to make a copy to change it*/
memcpy(&T1_config, &Timer_1_config, sizeof(cy_stc_tcpwm_counter_config_t));
Cy_TCPWM_Counter_Disable(Timer_1_HW, Timer_1_MASK);
Cy_TCPWM_Counter_DeInit(Timer_1_HW, Timer_1_MASK, &Timer_1_config);
T1_config.period = _Timer_1_clock /_new_frequency;
Cy_TCPWM_Counter_Init(Timer_1_HW, Timer_1_NUM, &T1_config);
Cy_TCPWM_Counter_Enable(Timer_1_HW, Timer_1_MASK);
}
Whether CY8C5888AXQ-LP096 and CY8C5888AXI-LP096 has only variation in temperature or any other parameter gets varied for these two part numbers like Speed or Test Conditions
Show LessHello,
I want to create a simple project in offline mode, download modustoolbox-offline-content.zip according to the guide, create a hidden folder of .Modustoolbox, and decompress the files, then the following problems occur:
How can I solve this problem ?
best wishes,
JCD
Show LessMy device is the slave, that is being connected (not always in the same order) by 2 masters.
I would like to create two different connection ways/points to distinguish between the masters.
MASTER1 will always connect through "way1." MASTER 2 will always connect through "way2."
And I could map the connection handles according to the way they connected.
I was thinking about changing the MAC address/Name I am advertising periodically, by that creating 2 connection points.
First master will always connect through MAC-1/NAME-1.
Second master will always connect via MAC-2/NAME-2.
My question is how do I know through which mac they connect?
I can't rely on reading the advertise data upon connection as it may change.
Hi ,
We are using the cy8c4128lqi-bl543 as our uP. due to the worldwide chip shortage , we need to use other chipsets also such as the cy8c4128lqi-bl553 or the cy8c4128lqi-bl573 (we are not using the functionality that doesn't exist in all chips).
We are using the bootloader in order to upgrade our FW with OTA ,and we have couple of projects which associated with this bootloader. It seems that we cannot compile different MCU with the same bootloader : for example - if the bootloader is complied with cy8c4128lqi-bl543 , we cannot compile the application in other option other than cy8c4128lqi-bl543. we know that there is not real effect on functionally or compatibility, but we cannot flash and program it. is there any way to bypass it ?
Amir
Show LessHi,
Are there any ways to slave boot the psoc 63 series via uart (or usb)?
does any of the part-no's come with a pre-flashed boot-loader/rom?
(i.e. so that swd flashing is not a mandatory step in production)
Thx
Show LessHello, I currently benchmark a linear support vector machine on the PSOC63. I trained the model offline and stored the model coefficients directly in the C code. Now I examined the follwing behaviour:
When executing the prediction on the PSOC I can record different execution times for different model data (but still same dimensions). The differences are about 2% of the execution time.
How is this possible? Are there any numerical effects that are important?
Thanks in advance.
Show Less