PSoC™ 6 Forum Discussions
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
I'm setting up protect contexts on a PSoC63 MPU and I noticed references to a "Test Controller", but I can't find any documentation or information about the "Test Controller".
What is this thing? What does it do?
Thanks,
Dean
Show Less
Hi Cypress forum,
We need to add the DFU module to our application to make firmware changes in the field with our application. I am using the PSoC6DfuBasicApp0Uart project on the CYBLE-416045-02 43-SMT evaluation board with the kitprog2 in PSoC Creator to run the example project with the intent of learning how the DFU module works to incorporate in our design. The chip in our application will be the CY8C6247FDI-D32 80-WLCSP.
I've had no issue building the project, debugging, and programming the project to the board. The only modification to the project I made is changing the device to the CYBLE-416045-02 43-SMT and reassigning the LED outputs so that the correct port blinks the led. This seems to be working correctly and I did the same for the app1 sister program for the example. Both sample programs can be programmed with SWD with the kit prog and the light blink as indicated in the included application instructions.
My issue is that when I open the Bootloader Host program and try to load app1 I repeatedly get this error:
09:03:20 AM - The bootloader reported error 'The flash row is not valid for the selected array.'.
I'm not sure what to do here as I have not be able to successful load app1 into the chip with app0. I have studied the code and the module flash organization in the sample project and I don't see the conflict. The memory organization defined in dfu_mdk_common.h looks good, and I confirmed this with a flash read from the programmer. I was also able to debug app0 and set a break point to trigger when the Boot Loader failed, but I am not able to see the failure status. I also compared the memory reads to App0 and app0 after a failed read to see if the flash memory was modified after the failed boot load. There was no difference.
I am open to any other suggestions. I need a working DFU UART reference system so that I can start integrating the DFU into our application.
Show Less
I’d like to move the vector table away from the default starting address.
When the vector table is relocated, the debugger can’t figure out where to start.
Is something hard-coded in the debugger to point to a specific code starting address?
If starting address is not hard-coded, where is it specified?
Greg
Show Less
Hello all,
I am trying to send continuous data in an interval of 30ms to the CySmart app. The data I am acquiring is through the ADC port. I know there is a connection interval limitation for the phone, I have taken care of that, and my algorithm is based on that constraint. However, I am using Cy_BLE_GATTS_WriteAttributeValueLocal(&serviceHandle) to send data to CySmart app, however it is not continuous and need to press the Read button every time to read the data.
Is there a way to make that continuous, like I saw one for Heart rate somewhere on the internet where it is possible to plot the data also in the app?
Can someone guide me in this?
Also, I would like to know whether the CySmart App has been taken down from the App store, I download it from some APK present in the internet.
Your help is much appreciated.
Thank You,
Anik Sengupta
Show LessHello,
I have this development kit CY8CKIT-062-WIF-BT. I can program and debug in Modus toolbox just fine. I want to follow the BLE tutorials in PSoC Creator. When I try to program the device, the board does not show up as a target to select.
I have updated the board to kitprog3.
Show Less