PSoC™ 6 Forum Discussions
Hello,
would like to have an very simple example how to share variables between CM0 and CM4 cores.
variable "a" should be used in cm0p.c and cm4.c
I have already read about IPC, but dont understand yet how it works.
It is a lot of code in examples, i am confused
There is no project to upload, because i have just started an new schematic with 1 LED from cy8ckit-062 kit.
I want toggle varible a i cm0p.c and act in cm4.c.
Can please anyone help?
Thanks and best regards
Alex
Show LessWe are working with psoc 6 and zigbee to receive data. We want to configure two uarts i.e. one for the zigbee (xbee pro s2b) and other for displaying data on tera term. We are unable to print the received data on tera term using psoc 6. We have tried writing programs on both softwares i.e. PSOC CREATOR and WICED yet there is no data on tera term. Please provide the necessary code and hardware changes if required.
Show Lesswhen I try to enable debug_uart when experimenting CE224856_BLE_Low_Power_Beacon_with_Hibernate_RTOS, it does not work, I have added UART TopDesign.cysch, and uart_debug.h uart_debug.c to project.
here is what's added into main()
/* Initialize the hardware used to send debug messages, if debug is enabled
in uart_debug.h header file */
DebugPrintfInit();
/* \x1b[2J\x1b[;H - ANSI ESC sequence to clear screen */
DebugPrintf("\x1b[2J\x1b[;H");
DebugPrintf("PSoC 6 MCU: Beacon Hibernate (RTOS)\r\n");
but did not see anything printed on terminal. can anyone help take a look at the code?
Thanks
Show LessI am using a PSoC 6. I have a CM4 system defined that is running out of memory (stack overflow). I want to neglect the CM0 processor use of memory and use the memory saved in CM4 processor. How do I do this?
At compile time code:167508 sram:128152 is reported. There is only 9K more memory for the CM4 system. I have a screen buffer for a 600x800 display. I have the buffer as Booleans, so the actual buffer is 600x100. However, font data and other FreeRTOS task requirements is using all of the memory resource (i.e. 288K bytes). I have only 10K defined as heap. That is the minimum setting I can use.
It would be nice to fine more memory borrowing it from the unused CM0. It this possible?
Show LessI'm using PSoC Creator 4.2 with a CY8CKIT-062-BLE. After updating the KitProg firmware (as requested by PSoC Creator 4.2) using the PSoC Programmer 3.28.0 I am no longer able to connect to the board.
The error message I get (in PSoC Creator) is "Warning: Can't Open CMSIS-DAP port".
PSoC Programmer 3.28.0 gives a similar error message.
Until now everything has worked flawlessly - please advise...
Regards
Nis Adelby Clausen
Show LessHello,
I have a couple of technical questions:
1)
I couldn’t find the equivalent of the application note AN58304 “PSoC® 3 and PSoC 5LP – Pin Selection for Analog Designs” for PSoC6. To what extend are the information of this AN transposable to PSoC63 ?
More specifically I would like to know wether the architecture is similar (i.e. analog section in the upper left and upper right quadrants) and which ports are best for analog applications (for PSoC3 and PSoC5LP it is said that P0[7:0], P3[7:0], and P4[7:0] have a performance advantage). What sort of signal to noise ratio do these ports have compared to the other ports ? I am trying to determine wether using other ports than P0, P3 or P4 would be a problem for my application or not. I am sampling 20 analog inputs at 100Hz (ideally 1kHz).
2)
I am planning to use the EZ-BLE module (CYBLE-416045-02). The Datasheet page 6 paragraph “Analog blocks” reads "The SAR is connected to a fixed set of pins” but it does not say which ones ? How many “true” analog ports (i.e. P0, P3 and P4) are available in the module ? It seems to me that only P0.0 (pin 5), P0.1 (pin 6) and P0.4 (pin 41) are available. P3 and P4 do not seem accessible. Which means that only three true analog pins of PSoC63 would be available in the EZ-BLE module… Is that correct ?
Many thanks !
Matt
Hi:
I am looking at the Psoc62 datasheet: Document Number: 002-18449 Rev. *F
Table 1 on starting on Page 10, I am not sure if these rows are just duplicated by mistake or are there missing rows?
The following are samples of duplicated rows
124-BGA column: G3, L4, A12 to list a few.
Can someone at Cypress verify this table please. I
Thanks.
Giri
Show LessHi everyone!
I need to use PSoC 6 BLE kit as a programmer for PSoC 6 MCU; however, I am wondering if the kit can program the PSoC 6 MCU which has its own 2.2V power supply.
Thanks
Using the above kit. Initial application involves UART, CAPSENSE, I2C, SPI devices, quite complex. In 2 configs that I have been developing, after a period of time the program stops working. I am now using FREERTOS to run tasks but this issue happened before FREERTOS as well.
I don't have any specific counters etc that might be overflowing, that I know of, but after about 5-10-15 minutes, the program just freezes. I am after suggestions as to what I should look for as a cause. It is perhaps going to sleep, but in most cases there is activity in the process (sending Lora signals for example) which show me that the program stops.
If it might be a "sleep" mode, how would I disable??? The system runs OK if I hit the reset. I am expecting the application to run forever when power is applied.
Show LessI have a 32M sample/second signal coming out of a sigma-delta ADC (1-bit signal). I need to apply digital filtering to reconstruct. Is this possible in a PSOC? if it is, which part?
Regards,
Steve
Show Less