PSoC™ 6 Forum Discussions
Xin chào các bạn!
Mình đang tìm hiểu về PSoC 063 BLE Prototyping kit về các vấn đề như: chế độ hoạt động, chế độ nguồn điện thấp, cấu trúc, chức năng ngoại vi, Bluetooth tiết kiệm năng lượng, dòng cấp, dòng tiêu thụ,... Tuy nhiên mình chưa tìm được tài liệu nào đáng tin cậy! Có bác nào có tài liệu về cái này không?
Cảm ơn!
Show Less
Hi everybody!
I am working on a project where I use PSoC 063 BLE prototyping kit and modus toolbox software to read sensor and read condition from sensor to control water pump motor. I I don't know if I can use PWM it in this case or not! and how it should be done! i found some examples of PWM led, is it useful for this case?
Thank you!
Currently I am started to design firmware of PSOC6 CY8C6245AZI - S3D72 . But that PSOC not available in Both PSOC creator and Modus Toolbox. Do you know how to add that PSOC in modus software.
Show LessHello,
Now I am using "cy8c6xx7". When i add code in "startup_psoc6_01_cm4.S" as follows:
.section .debug_version /*define only, not used*/
I see that the hex file generated after build had been changed from the address 0x10092C24 to the address 0x10092F34.
I didn't use the address between 0x10092C24 and 0x10092F34,
can you tell me the reason why after adding ".section .debug_version", the content of address 0x10092C24 ~ 0x10092F34 had been changed?
Follows is my build information.
------------------------------------------------------------------------------------
----------------------------------------------------
| Section Name | Address | Size |
----------------------------------------------------
| .bootloader | 0x10000000 | 70144 |
| .boot_judge1 | 0x10011200 | 8 |
| .boot_judge2 | 0x10011208 | 8 |
| .version | 0x10011210 | 12 |
| .upd_version | 0x10011220 | 4 |
| .text | 0x10011400 | 525136 |
| PROGBITS | 0x10091750 | 252 |
| .boot_judge3 | 0x100ffff0 | 8 |
| .ARM.exidx | 0x1009184c | 8 |
| .copy.table | 0x10091854 | 24 |
| .zero.table | 0x1009186c | 8 |
| .data | 0x0800028c | 5828 |
| backup | 0x08001950 | 7 |
| .cy_sharedmem | 0x08001958 | 12 |
| .noinit | 0x08001968 | 148 |
| .bss | 0x08001a00 | 93956 |
| .heap | 0x08018908 | 188024 |
----------------------------------------------------
Thanks,
Best Regards
Show LessHi,
I want to set up the cm0p to read some sensor data. This sensor has an internal buffer (512 bytes) so I'll just have to empty/copy the buffer to the cm0p RAM when it is full but I need to give the cm4 access to this data because I need to do some floating math with it before saving it to external flash memory.
I was reading the TRM: DMA and IPC. It looks like DMA transfer data within a core. I hope I'm wrong. There is IPC which seems to be what I need to use to transfer the data between cores. I'm not certain.
Could someone shed some light into sharing data between cores like this?
Thanks
Show LessHi Guys,
I am currently working on the 'Wi-Fi Web Server' Application on modustoolbox. I connect my PC to the SoftAP and open the web server homepage through the designated IP address with no problems. On the home page i try to enter the APs ssid and password but it wont connect. I try to scan for Wi-Fi Access points but the SoftAP is not showing up.
Could anyone help with a possible solution or what could be going wrong? The SoftAP is showing up for my PC and phone but not in the Web Server home page.
Any help would be much appreciated, thank you!
Show LessHello,
I am developing a dual-core project on a PSoC62, and there are functions, definitions, and data in a shared memory portion that are used by both cores. Now, it's about time to tidy up the source code.
I am using ModusToolbox and Eclipse for ModusToolbox. I am new to this MCU, but I am learning quickly thanks to the great documentation by Infineon. I am used to Eclipse, but here there is something tricky.
As soon as the dual-core project is created the properties of the project and the make files are generated by the project creator, and in the project properties/build options, I see that the make file is not auto-generated. That makes sense, but what if I want to include my own external library? Usually, in Eclipse I have to add the folders/files to be included in the project within the "Tool settings":
But this tab only appears when the make file is auto-generated. OK, but if I enable the auto-generation the make files generated by the project creator are overwritten, and the compilation fails.
That said, I have to add includes and sources inside the make files, one by one (I mean, really?), and add more when I write new ones inside my library.
Unfortunately, the great auto discovery feature doesn't work for paths outside the project folder.
My question is if there is a smart way to include a folder with includes and sources in a dual-core project.
Is there the possibility to create my own library and add it to my project through the Library Manager? Or manually in the mtb_shared folder?
Show LessHello Everyone
I am using the PSoC 62S4 pioneer kit, and i am looking for an example that will implement a message pipe between the M0+ & M4 cores
I found one, Infineon/mtb-example-psoc6-dual-cpu-ipc-pipes on this repo, but it has not been updated for 2 years and i cannot figure out how to import it into modustoolbox 3.0? I cannot use the library manager to update the folder? as the ModusToolbox 3.0 user guide indicates in section 1.7?
By reading the ReadME.md file, this example looks like what I'm trying to accomplish. If there are other examples or ideas, directions on using upgrading this example to MD 3.0, would be a great help
Any help or advise would be greatly appreciated.
Regards
Steve K
Show Less
Hi,c
I have potentially detected a Cy_SysTick_GetCountFlag() Issue.
Problem: Cy_SysTick_GetCountFlag() inconsistently reports a SysTick counter reached 0 count.
Attached is a MTB project highlighting the issue.
Project summary:
- Targeted for the CY8CPROTO-063-BLE although any PSoC6 board will suffice.
- Uses retarget-io to the standard debug terminal @ 115.2Kbps.
- Sets up a SysTick with:
- CLK_LF as the source (CLK_LF routed to WCO)
- Reload = (1<<16)-1 = 65535. This is to have the wrap-around for the SysTick every 2 secs.
- Callback is Set.
- Cy_SysTick_GetCountFlag() called in for(;;) loop
The code is very simple.
If the systick_wrap variable is incremented in the Callback ISR, "SysTick counter wrapped!" is printed to the terminal.
If the getcount_flag variable is incremented in the Callback ISR, "GetCount_Flag received!" is printed to the terminal.
Expectations:
The optimum result is that every 2 secs the terminal should have:
SysTick counter wrapped!
GetCount_Flag received!
Actual Observations:
Every 2 secs, either "SysTick counter wrapped!" OR "GetCount_Flag received!" is printed.
Modified code:
If I comment out lines 133-136 in main.c (disabling the Cy_SysTick_GetCountFlag() call and leaving the Callback enabled)
I get "SysTick counter wrapped!" EVERY 2 secs!
If I comment out line 112 in main.c (disabling the Callback but enabling the Cy_SysTick_GetCountFlag() call)
I get "GetCount_Flag received!" erratically.
I realize some SysTick API calls clear the Count flag as a side-effect. Once in the for(;;) loop, Only the Callback and the Cy_SysTick_GetCountFlag() is called.
Len
Message was edited by: Len This issue has been reproduced in PSoC Creator as well. Project Attached.
Show LessHi,
I am using the development kit CY8CPROTO-063-BLE.
I am using the example PSoC™ 6 MCU: Switching between power modes as is.
When I do a long press (sending the system to deep sleep state), the red LED is turned off.
However, in that state, the average current consumption I measure is ~2.8 mA, quite a bit higher than the 7 to 9 uA stated in the datasheet.
Am I doing something wrong?
How can I achieve the power consumption stated in the datasheet?
Thanks!
Show Less