PSoC™ 4 Forum Discussions
Is Infineon going to continue production of the PSOC 4200L series of chips? There seems to be a supply issue.
I first make bin file in PSOC 4. then this file load in android phone and my personal android app. can make possible to load bin file in microcontroller via android app? Basically I use communication between microcontroller and android phone is USB to TTL converter.
Show Less
hi infineon:
we know SimpleFOC library is popular to develop the BLDC motor ,CY8CKIT-042 is support Arduino, so can you develop the SimpleFOC with both CY8CKIT-042 & CY8CKIT-037? TKS;
Show LessDear Sir:
We are currently evaluating the RAM&ROM size of CY8C4149AZS-S595(RAM 32KB, Flash 384KB) + FreeRTOS
The result is only using the hello word program built in ModusToolbox 3.0, without adding Freertos, the Heap memeory uses 30.55KB, and it is impossible to add peripherals, such as GPIO to control LED, CAN bus/UART driver.
I have the following question
1. Is this large heap size a problem with ModusToolbox3.0?
2. How to analyze where RAM (heap/stack) is used? (By file show heap size ? How to configure this function in GCC compiler ?)
3. Does PSOC creator 4.4 not support CY8C4149AZS-S595? Because I can't find this paerts when creating a new project
Show Less
Dear Sirs and Madams,
An offline package was provided in ModusToolbox 3.0, and it was possible to use it completely offline.
I tried to use the newly released ModusToolbox 3.1, but it seems that ModusToolbox 3.1 does not support offline packages.
I searched about "The new local content storage feature", but it seems that I have to connect in the Internet environment once.
/* ModusToolbox™ Local Content Storage CLI user guide */
If the company's security policy prohibits ModusToolbox from accessing external sites, does this mean that ModusToolbox 3.1 cannot be used offline too?
Regard,
Show LessHello,
I am trying to measure the pull-down resistor in PSoC-4 by connecting an iDAC to the pin configured as resistive pull-down and measuring the resultant voltage on the pin using ADC.
The problem: I use an iDAC value of 100uA. Considering that the resistor is around 5K, the voltage should be 0.5V. However the ADC results in a count of 511.
I am using PSoC-4 in CY8CKIT-149 for my experiments.
More details (including the schematic and code of psoc creator) in the attachment.
Show LessHello everyone,
I have the following problem: My colleague has built a small box with 3 switches for demo purposes. An off and on switch and two switches that trigger an interrupt. This works, but the problem is that sometimes interrupts are triggered by some kind of disturbance impulses.
In order to avoid an accidental activation, I simply wanted to build in a counter that, for example, only runs the demoprogram when pressed for 500ms.
I had something like that for another project:
Pin9 was connected to a switch and defined as input and drive as resistive pull up. I then built up these blocks and was able to define a threshold with the timer counter, from when it accepts the keystroke as a press. This works fine.
This was for the PSoC 4200D , now I have an PSoC 4100S. (CY8C4126AXI-S433)
Okay, the PSoC 4100S doesn't have a debouncer, but it doesn't matter for now. I want to measure the duration of the pressed switch. But when I want to select the drive mode resistive pull down, I get the following error message:
Invalid Parameter:
Error 1: Pin 0: Use of drive modes which are not High Impedance with a hardware-routed input requires a port adapter, but the selected device does not have one.
When I change the drive mode to high impedance digital, I don't measure anything and the ISR won't occur.
If I use the pin without HW connection, then it also works as a pull down pin and I can trigger ISR with it, but I don't know how I can realise it with the longer button presses if I can't use the HW connection.
I used the document to see if I had missed anything somewhere:
Best Regards
Michael
Show Less
Dear Sirs and Madams,
We have two question about ECO settings in PSoC Creator.
Set the ECO settings in PSoC Creator as follows:
When We confirmed for ATRIM and WDTRIM in cyfitter_cfg,c file after build, the settings were as follows.
/* Configure ECO trim */
CY_SET_REG32((void CYXDATA *)(CYREG_CLK_ECO_CONFIG), (0x00000002u));
CY_SET_REG32((void CYXDATA *)(CYREG_CLK_ECO_TRIM0), (0x00000017u));
CY_SET_REG32((void CYXDATA *)(CYREG_CLK_ECO_TRIM1), (0x0000001Fu));
Since 0x17 of CLK_ECO_TRIM0 register means 10111b,
ATRIM = 0x05 (101b)
WDTRIM = 0x03 (11b)
However, PSoC4200L Architecture TRM does not have ATRIM = 0x05 and WDTRIM = 0x03 combination.
[Q1]
The PSoC4200L Architecture TRM mentions the combination of ATRIM 0x05 and WDTRIM 0x02, but not the combination of ATRIM 0x05 and WDTRIM 0x03.
Are the ATRIM = 0x05 and WDTRIM = 0x03 settings correct in PSoC Creator 4.4?
Below is the description of ATRIM and WTRIM in PSoC4L Registers TRM.
[Q2]
Does the meaning of ATRIM = 0x05 and WDTRIM =0x03 mean that the watchdog function works at 0.6Vpp, which is 0.2V below the amplitude of 0.8Vpp?
Since the relationship between ATRIM and WDTRIM is unclear, would it be possible for you to either explain it or send me a document that shows the relationship between them?
Regards,
Show Less