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 LessI 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 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 LessI have a Psoc 6 I2C master. The desired frequency is 100kHz. The configuration window says the actual frequency is 96kHz, SCB clock 1548kHz. With a scope, I'm measuring 49kHz on SCL.
The symptom is occasionally, there is an unexpected extra byte of data received from the slave. Using a 3rd party I2C tool, the data received is as expected.
What might be wrong?
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
BDOTO 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,
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 LessHi everyone
I currently work with IDE Wiced Studio version 6.6.0.9 and until now I don't have any problem like this, but today when I opened it there no was any Make Target. I try to create something but this option are blocked.
I restart the program, and change the workspace but the problem follow.
Thanks.
Show LessHello, everyone. I am doing a project that I need to detect 36 voltage signals from SensorMatrix(6*6) and send it via BLE to a smartphone or computer. Now I finished the ADC detection part. But I have no idea how to send the data via BLE. From the datasheet, I found there are two ways to using BLE, one is using complete BLE protocol, and defining different services. The other is using HCI over UART. I don't know which one is the better solution. Can you give me some advice?
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 LessEmployee
Employee
Esteemed Contributor
Honored Contributor II
Employee
Expert II
Employee
Contributor II
Honored Contributor II