PSoC™ 6 Forum Discussions
Hello
Is there any intention to develop a version of Creator for the Mac
cheers Bill
Hi,
I want to write data to the external flash using the dev. kit CYW9P62S1-43438EVB-01.
QSPI is inited and XIP is enabled (linker .ld script is ok and WiFi firmware is running out of the QSPI flash with success. I want to read and WRITE my applciation data to an unused area of the QSPI flash. Is it possible to do that and how? I checked: direct writing to addresses (in runtime, using pointers in C code) of the mapped memory does not work in my code.
This is how I configure the QSPI:
const uint32_t bus_frequency = 50000000lu;
result = cy_serial_flash_qspi_init(smifMemConfigs[0], CYBSP_QSPI_D0, CYBSP_QSPI_D1,
CYBSP_QSPI_D2, CYBSP_QSPI_D3, NC, NC, NC, NC,
CYBSP_QSPI_SCK, CYBSP_QSPI_SS, bus_frequency);
result += cy_serial_flash_qspi_enable_xip(true);
Thanks in advance
Show LessHello,
I have been referring to some thread related to how a non-dedicated pin can be used for ADC.
I would like to route the Non-Dedicated Pins (P8[0:7]) as SAR ADC Inputs through AMUXBUSA/B for PSoC 6 MCU in MTB2.2.
I see some useful code snippets here
but I'm not clear on how the macros are used (eg: MUX_SWITCH, CONFIG_CHANNEL, etc). Also I would like to see how one can close the route and reopen it for another set of pins (I have to use 8 pins through AMUXBUSA/B). Also how do I read the ADC value on these pins. It would be better if you could share with me a working sample code. Thanks for your help.
regards,
Suresh
Show LessBDOTO as an Electric vehicle producer company starting a new project going to create a produce a gateway which talk with wall(grid) with (PLC) power line communication and connect with his own battery management system with CAN line and alternative product of QCA7005 we want to use CY8CPLC20-48LTXIT. Can you suggest if is your PSoC has this capacity. If not can you suggest me an alternative.
Show LessHi,
I am testing my new PSoC 6 Wi-Fi BT Prototyping Kit (CY8CPROTO-062-4343W) with an example project (as well as blank empty project), and it does not allow me to program the board with the message: "Port Acquire Failed - Can't open CMSIS-DAP port".
It also says, "This device was recognized, but Psoc Creator doesn't support using it at this time"
PSoC Creator 4.4
PSoC Programmer 3.29.0
CMSIS-DAP Version 2.0.0
Firmware Version 2.10.878
Please support! Thanks!
Show Less
I'm trying to program a Psoc6 using "Cypress Programmer 3.0".
When I try this software with a PROTO-062-4343W it works fine, but on my board, it doesn't. My board has a different MCU.
After I connect the KitProg3 to my board. I do a "Reload Regions" to eliminate some of the errors. I can do a "Verify" and it works fine (effectively find differences or success if I change the file).. but when I do "Program" I get this errors:
Info : cyp status: OK
Info : ** Verified OK **
Info : cyp_get_mpn
Info : ** Detected device PN: CY8C6247BZI-D54 SiliconID: E206 Revision: 23 FamilyID: 100 DIE: PSoC6ABLE2
Info : program_device "/Debug/mtb-example-psoc6-hello-world.hex" "0"
Info : ** Program image /Debug/mtb-example-psoc6-hello-world.hex offset:0 **
Info : kitprog3: acquiring PSoC device...
Info : target halted due to debug-request, current mode: Thread
Info : xPSR: 0x01000000 pc: 0x00001f34 msp: 0x080477a8
Info : ** Device acquired successfully
Info : ** psoc6.cpu.cm4: Ran after reset and before halt...
Info : target halted due to debug-request, current mode: Thread
Info : xPSR: 0x61000000 pc: 0x1600400c msp: 00000000
Info : ** Programming Started **
Info : auto erase enabled
Info : Flash write discontinued at 0x10001894, next section at 0x10002000
Info : Padding image section 0 at 0x10001894 with 364 bytes (bank write end alignment)
Info : [ 53%] [################ ] [ Erasing ]timeout waiting for algorithm, a target reset is recommended
Info : SROM API execution failed. Status: 0x080008B4
Info : failed erasing sectors 0 to 12
Error: cyp status: ERROR
Info : Program device failed
Error: C:/Program Files (x86)/Cypress/Cypress Programmer 3.0/./scripts/cyp_base_default.tcl:38: Error: ** Programming Failed **
Error: in procedure 'program_device'
Error: at file "C:/Program Files (x86)/Cypress/Cypress Programmer 3.0/./scripts/cyp_base_default.tcl", line 38
Info : cyp_get_mpn
Info : ** Detected device PN: CY8C6247BZI-D54 SiliconID: E206 Revision: 23 FamilyID: 100 DIE: PSoC6ABLE2
Seems like an error on a script:
scripts/cyp_base_default.tcl", line 38
If I use ModusToolbox, I'm able to program my device with no problems... I just want to use "Cypress Programmer" so that someone else can program my boards without needing the source code and having ModusToolbox.
Thanks!
Show LessHi Modus Experts,
I got some build error with downloaded project file from github. please see what it is.
1. I downloaded mtb-example-psoc6-dual-cpu-empty-app from Cypress github as zip file. then unzip it in my local space.
2. In MTB2.3, File>Import>Modustoolbox>Modustoolbox application import > select unzip folder > finish
3. then there are two project files show up in project explorer which are mtb-example-psoc6-dual-cpu-empty-app-master.cm0p_app and mtb-example-psoc6-dual-cpu-empty-app-master.cm4_app.
4. I tried to build each project but error message showed up that is ".../ModusToolbox/tools_2.3/make/startex.mk:380: *** Build support for the target device not found. Run "make getlibs" to ensure all required build and code dependencies are present.. Stop".
Could someone guide me what is problem on this? or how to fix it
thanks in advance -Sung Hyun
Show Less
I have a pin set to high impedance digital and an external pull up resistor of 10k ohm to 3.3V. For some reason the pin stays at 2.35V instead of going to 3.3V.
It almost seems like the pin has some internal pull down that I am fighting.
I am using chip CY8C6347LQI-BLD52, pin P7.2
Any ideas why it isn’t going to 3.3V?
Show LessHi,
I need to use the same pair of pins to either terminate them in a UART:rx/tx (P6.0/6.1) or to (disconnect them from the UART and) connect them to an internal HW block, let's say a multiplexer, and I need to change this in run time. Everything I read and all the examples that I have gone through (for instance this: https://community.cypress.com/t5/Knowledge-Base-Articles/Controlling-UART-Tx-and-Rx-Pins-through-Firmware-for-PSoC-4/ta-p/251033 ) are not exactly what I want to do.
In production this will be done in Modus Toolbox, but to start with can you please explain and provide an example for PSoC Creator?
Thank you
Show Less
Hi,
On paper, it seems that PSOC6 is eligible for receiving TinyML framework. But I could not find any implementation out there. Is there any port of TinyML on PSOC available or is there any vision that Cypress port it onto PSOC?
Thanks
Show Less