PSoC™ 6 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi
I have issues programming PSOC6 board CY8CPROTO_062_4343W .
I have 3 sets of boards and give same errors . I can program it for first time but 2nd time it gave errors.
Error: Failed to read memory at 0xe000ed00
I tried upgrade the kitprog3 to latest version fot the other earlier 2 board but it gave errors as well and the file attached is the 3rd board errors.
error1st.pdf is first time programming and error2nd.pdf is 2nd time programming
Hope you can help me asap. Thank you
Show Less
I am using a CY8C6247BZI-D54 and PSoC Creator 4.4. Trying to configure the ADC and am getting strange results. I am using single-ended inputs and configured to Vdda and Vssa. The voltage range says 0 to 3.3V and dialog says 12 bits. But, the SE bit range shows 0 to 0x7ff. I would expect 0 to 0xfff. I have experimented with different settings and get the same results.
Thoughts?
Thanks,
Todd
Show Less
Hi,
I have encountered this problem.
When I call scan_to_get_security() in my AP connect function, it gets stuck in CY_ASSERT line inside the function
__WEAK void vApplicationSleep(TickType_t xExpectedIdleTime) in cyabs_freertos_helpers.c from calling function of with the calling function cy_wcm_stop_scan()
I have attached screen capture of 3 shots showing scan_to_get_security(), icm connect calling function and cyabs_freertos_helpers.c .
I have tried the suggestion of increasing CY_CFG_PWR_DEEPSLEEP_LATENCY define in cycfg_system.h to ridiculously large number of 50000000UL with same result. I have also try reading up on PsoC 6 power modes but can find no clue as to what is the cause.
This seems to happen randomly with my PSoC6 eval kit and I suspect the previous issue of I2C timeout in M0 processor may also be related to this. (Note: The modified I2C init package by another moderator which moves the entire bsp init over to M0 still shows the same problem described in another post.
Please advise
Thanks and Warm Regards
CW
Show Less
Hi folks,
I'm trying to achieve a half-duplex UART on a single bidirectional pin ideally with an SCB UART component. Basically my question and schematic is identical to this one: https://community.infineon.com/t5/PSoC-6/UART-2-5-and-PSoC-6/m-p/76120#M1963
Unfortunately I can't post on that thread as it is marked as resolved but to the best of my knowledge that's not actually a solution to the primary issue of routing the RX/TX signal. The issue I'm having is that the SCB has fixed pins for RX and TX and the the fitter is unable to route them to a single pin.
I can do this with UDB, unfortunately Cypress no longer supports UDB UART on PSOC6 (which is crazy to me), I was able to find a third party component that works but I'm out of resources. I cannot make any changes to the external hardware and the actual RX pin is unavailable anyway.
Show LessHi All,
I have try to build custom dual CPU application with PsOC62S2 Wi-Fi BT Pioneer Kit.
Both CM0 and CM4 app build ok with no errors.
I encounter following problem when I try to debug one core at a time (Either CM0 or CM4) with ModusToolbox_2.4.0.5972.
I can enter debug window with CM0 core and single step but I always get below error in console window when I start run from main();
===== Cortex-M DWT registers
Error: psoc6.cpu.cm4 -- clearing lockup after double fault
psoc6.cpu.cm4 halted due to debug-request, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0x8008f3ee msp: 0x0000de8c
Polling target psoc6.cpu.cm4 failed, trying to reexamine
Info : psoc6.cpu.cm4: hardware has 6 breakpoints, 4 watchpoints
I cannot debug mode the CM4 app and have below errors. All I get is blank debug window.
===== Cortex-M DWT registers
Error: psoc6.cpu.cm4 -- clearing lockup after double fault
Polling target psoc6.cpu.cm4 failed, trying to reexamine
Info : psoc6.cpu.cm4: hardware has 6 breakpoints, 4 watchpoints
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x8008f3f0
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0xaefbf7fa
I have following questions:
1) Is common COMPONENT_BSP_DESIGN_MODUS device configuration for both CM0 and CM4 device enough? OR do we have to separately create different device config under CYW43012C0WKWBG tab (CM0)?
2) I have attached linker files for both CM0 and CM4 for your review if this is cause of the above problem.
3) Does ModusToolbox_2.4.0.5972 support dual core debug? Say I want to debug CM4 core using retarget.io printf to terminal window in ModusToolBox and separate Serial terminal in windows using UART printf from CM0 via FTDI USB to UART adaptor wired to one of SCB block configured for UART in CM0. Is this ok?
How will each core behave? Say I debug CM0 core. Is the CM4 core running at full speed? and vice versa for CM4 debug?
I am using CM0 for reading sensor data, and CM4 for managing Wi-Fi and/or BLE. Can the sensor data collected in CM0 be shared with CM4 for posting via MQTT?
I am relatively new to Post6 dual CPU and there are not much technical details on the above. Please advise
Thank you.
CW
Show LessHi
I was hoping to use Arduino CAN and GPS shields with the above kit. Because I also want to use the WiFi capability of the kit, I am forced down the path of using Modus Toolbox. Has anyone gone down this path of using Arduino shields with the above kit? If so, can you point me to any documentation that would help me in this endeavor?
Thanks.
Show Less
The whole point of using EEPROM is to retain configuration data after power-down or reset.
PSoC5 with it's dedicated EEPROM does this perfectly, while the emulated EEPROM proided through PDL is useless.
I have tried every "soultion" suggested in your Forum and Knowledge Base, but nothing works: The em_EEPROM is ALWAYS erased after reset or when debugging. To add insult to injury, the documentation for both PDL and em_EEPROM Middleware is abysmal! For example, defining EEPROM size as 256 bytes only provides 128 bytes of storage (easy to fix, but not clearly mentioned in the documentation).
Is there a REAL solution available to this EEPROM erase problem?
Show LessHello,
I'm using CY8C6136FDI-F42 and Modus toolbox.
And I'm trying to output PWM using P8.1 and P8.2. (Otherwise it looks like I should use line(P8.0) and line_n(P8.1).)
1. Both PWM must be started at the same time. This is because the opposite waveform should always be output. (Complementart PWM)
2. I need to change the two PWM duty cycles respectively.
Is it possible to implement using P8.1 and P8.2 as above?
Or if I need to change the port, please tell me how to implement it.
Thanks and Regards,
YS
Dear
I have not find a modus example of psoc6 which a timer measure a pin low or high level last time ,The example show that a timer was tiriger by a pin's rising or falling to start ,could measure the pin low or high level time etc
Thanks
我想找个psoc6的modus例程,通过定时器来测量一个pin的高电平或者低电平持续时间,定时器的计数周期是 1us,由上升沿或者下降沿触发;非GUI,因为我配置的东西比较多:Pin脚选择、定时器触发条件(rise or fall )等等
Show Less
Hi,
I hope you guys are doing well,
I had two questions about PWM on the CY8CPROTO-062-4343W board.
1. How can I set the PWM output to LOW when I stop that using cyhal stop funtion?
2. I have broken all the peripherals from the board except for debugger so my understanding is all GPIOs should be accessible. Now when I initiate PWM programmatically, some of the pins give no output and some others doesn't. for example P10.0,P10.3,P10.4 has the output but P10.2 and P10.1 gives no output. Any suggestions here?
Thanks,