PSoC™ 6 Forum Discussions
Dear All,
I am using cyBLE-416045-02 BLE controller on my custom PCB. I connected MOSI and MISO pins to 9.0 and 9.1 on controller (scb2 block). and SCLK and CS pin to 5.2 and 5.3 on controller (scb5 block). Now I cannot use my spi pins since it connected to different scb. Is there any way to configure this in software side. Please help.
Dear experts,
I have a question regarding OPENOCD CLI.
All other functions have been implemented,
but the part related to External Memory Erase & Programming is not working well.
Can I get help on how to use External serial memory (SMIF)?
The below log is excerpted from cypress programmer.
----------------------------------------------------------------------------------
Warn : Adding extra erase range, 0x18019000 .. 0x1803ffff
Info : [100%] [################################] [ Erasing ]
Info : [100%] [################################] [ Programming ]
Info : wrote 604160 bytes from file C:/firmware1.hex in 8.338982s (70.752 KiB/s)
Info : ** Erasing bank 8 **
Info : Using EraseChip API to erase 'psoc6_smif1_cm0' bank, this may take several minutes...
------------------------------------------------------------------------------------------------------------------------------------------
Show LessWe are getting an error trying to initialize our external 32.768 kHz ( Epson FC-135R 32.7680KA-A3) with 22pf caps. Connected to pins P0_0 and P0_1 on the CY8C624AAZI-S2D14 device.
The WCOEnable routine returns FALSE. The Cy_SysClkWcoOkay never returns true.
Show LessI am measuring the sleep current for CY8C6248BZI-S2D44. Anyone can help me how to check how much RAM is retained during sleep mode ?
Hello,
I am trying to use this example https://github.com/Infineon/mtb-example-psoc6-bmi160-motion-sensor-freertos#operation for CY8CKIT-062-WIFI-BT (which is on supported devices list).
As described, I changed the INTERFACE_USED and BMI160_INTERRUPT_CHANNEL values in motion_task.h, but when i program the device and connect through Putty it is blocking after printing the first line (screenshot attached).
Any idea about what could be the issue?
Show LessWe are using cy8c624AAZI-s2d14 and want to use the input PIN to count the pulses uses TCPWM "Count Signal" feature.
What is the best way to lookup which PINs are available for counter input?
The MTB device configurator only shows certain PIN being available as "Count Signal", e.g. only pin 0 and 1 are available for most of the ports as input to the counter.
How can I use the datasheet to identify these PINs?
Based on the pattern, it appears that column ACT#12 of Table 8. Multiple Alternate Functions might be the information I need, but I want an expert for confirm it.
And if that is true (i.e. ACT #12 is the timer count input function), what does peri.tr_io_input mean? It has not been mentioned anywhere in the document.
Show Less
What is the process to Calibrate the ADC in PSoC 6?
Table 29, CSD ADC Specifications, in PSoC 61x7 datasheet notes, "After ADC calibration...". How is ADC calibration performed in a PSoC 6?
I did find methods to calibrate the clock and a note that the Temperature Sensor of the PSoC 6 is calibrated in the Architecture TRM - nothing specifically related to the ADC.
I did find discussion on "Calibration of an analog signal chain" for PSoC 3 and PSoC 5 in "AN68403 PSoC 3 and PSoC 5LP Analog Signal Chain Calibration" @ https://www.infineon.com/dgdl/Infineon-AN68403_PSoC_3_and_PSoC_5LP_Analog_Signal_Chain_Calibration-ApplicationNotes-v08_00-EN.pdf?fileId=8ac78c8c7cdc391c017d0730874f5463&utm_source=cypress&utm_medium=referral&utm_campaign=202110_globe_en_all_integration-application_note
Greg
Show LessI want to use the PSOC 6 BlE using SOLAR CELL providing 1mA and 5V.
Is it possible?
Thanks
Hi,
I am starting out with PSOC 6. I just managed to successfully program my device CY8CKIT WiFi BT TFT Pioneer kit with the TFT example application emWin_TFT_FreeRTOS and saw the example frames on my TFT screen.
However, I would like to control the TFT and for example write basic shapes or text to it with (or without) the emWin library. Is there an API for to access the TFT hardware? I can't even tell if we are communicating with it through SPI or I2C. Can someone point me in the right direction to control the screen?
Thanks!!
Hi,
I am trying to test my CY8CKIT-062-WiFi-BT devkit on modus toolbox. Since I know nothing about this software, I just created a new Modus Toolbox app from the examples on this board: emWin_TFT_FreeRTOS
1. I tried to build once and it failed and told me to run make getlibs so I ran this is the console and now build is successful.
2. Afterwards, I tried programming the device, which is just plugged in via USB on my laptop, by typing make program , but I get this error:
==============================================================================
= Build complete =
==============================================================================
Calculating memory consumption: CY8C6247BZI-D54 GCC_ARM
----------------------------------------------------
| Section Name | Address | Size |
----------------------------------------------------
| .cy_m0p_image | 0x10000000 | 6452 |
| .text | 0x10002000 | 563276 |
| .ARM.exidx | 0x1008b84c | 8 |
| .copy.table | 0x1008b854 | 24 |
| .zero.table | 0x1008b86c | 8 |
| .data | 0x0800228c | 12844 |
| .cy_sharedmem | 0x080054b8 | 12 |
| .noinit | 0x080054c8 | 232 |
| .bss | 0x080055b0 | 41748 |
| .heap | 0x0800f8c8 | 225080 |
----------------------------------------------------
Total Internal Flash (Available) 1048576
Total Internal Flash (Utilized) 584372
Programming target device...
Open On-Chip Debugger 0.11.0+dev-4.4.0.2134 (2022-09-08-13:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
adapter speed: 2000 kHz
adapter srst delay: 25
adapter srst pulse_width: 25
** Auto-acquire enabled, use "set ENABLE_ACQUIRE 0" to disable
cortex_m reset_config sysresetreq
cortex_m reset_config sysresetreq
Info : Using CMSIS-flash algorithms 'CY8C6xxx_SMIF' for bank 'psoc6_smif0_cm0' (footprint 17032 bytes)
Info : CMSIS-flash: ELF path: ../flm/cypress/cat1a/CY8C6xxx_SMIF.FLM
Info : CMSIS-flash: Address range: 0x18000000-0x1FFFFFFF
Info : CMSIS-flash: Program page size: 0x00001000 bytes
Info : CMSIS-flash: Erase sector size: 0x00040000 bytes, unified
Warn : SFlash programming allowed for regions: USER, TOC, KEY
Error: unable to find a matching CMSIS-DAP device
Error: No Valid JTAG Interface Configured.
make[1]: *** [../mtb_shared/recipe-make-cat1a/release-v2.0.0/make/recipe/program_common.mk:64: qprogram_proj] Error 127
make: *** [../mtb_shared/core-make/release-v3.0.1/make/core/main.mk:376: secondstage_build] Error 2
Those are the ONLY things I have done on modus toolbox, its a fresh install, so maybe something is missing? I just find it weird that I can't program an example application out of the box!
Thank you!
Show Less