PSoC™ 6 Forum Discussions
Hi all
I am struggling with my CY8CKIT-062-BLE kit code example. What I am trying to do is graph on the EPD display the thermistor value, which I believe there is an example of
However I can't find this example code
Could anyone send a link if they know where this example code is?
Thanks
Show Less
Hello,
When I use ic2 for writing and reading date to slave chip, I met a problem as follows.
When I write data to slave chip and in the processing of writing, read function be called. In this situation,
read process should not be executed because i2c bus is busy.
Question 1:
Is there any possible that when BUS_BUSY of SCB_I2C_STATUS is 0 and SR_VALID of SCB_TX_FIFO_STATUS is 1?
Question 2:
Is is necessary to set CLEAR of SCB_TX_FIFO_CTRL to 1 to clear TX FIFO and shift register?
Thank you very much!
Show LessHello,
I have attached my project. I would like to display the voltage of pin 3. Can someone please check if the formula is right?
Thank you,
Ali Issa
Show LessHello,
I would like to display the voltages for pin_3 ,temp_sens and battery-level . Can someone help with the code please? I have attached the project.
Thank you
Show LessDear All,
I am trying to use code example CE223368 PSoC 6 MCU: USB CDC Echo Application on my CY8CKIT-062-WIFI-BT dev kit using PSoC Creator.
I use the provided USB cable and plug it in J10 (KitProg3 USB) and successfully build and program the board. Then I use the same USB cable, remove it from J10 and connect to J28. So according to the documentation, the computer is supposed to see it as a Virtual COM port. However, in Device Manager under Ports (COM & LPT), it appears as USB Serial Device. The driver is the default driver from Microsoft. I tried to install the driver in application's root (\CE223368\CE223368_USB_CDC.cydsn\win_drv\USBUART.inf) but I can only browse to the win_drv folder; it does not let me go inside the folder and select the .inf file. In the Events tab inside Properties there are three events:
1. Driver Management has concluded the process to add Service usbser for Device Instance ID USB\VID_04B4&PID_F21D\12101010 with the following status: 0.
2. Device USB\VID_04B4&PID_F21D\12101010 was not migrated due to partial or ambiguous match.
3. Device USB\VID_04B4&PID_F21D\12101010 requires further installation.
I am using Windows 10. Am I missing anything or doing something wrong? I would very appreciate it if anyone could help me. Thank you in advanced.
Show Less
Hi there, hope you're all doing well.
I am working on a project on the CYBLE 416045-02 on PSOC creator 4.3, where I am using the psoc 6 as a BLE peripheral to send data acquired from the ADC and send it periodically using an RTC or MCWDT interrupt. I am also using RTOS in my code.
Till now, I got to the point where I can succefully transfer data to the BLE central device (an ESP32) but could not get around on how to send it periodically and go into deep sleep mode when not advertising.
I attached my code on the post for reference.
Are there any example codes or documentation that feature RTOS, BLE, RTC/MCWDT and deep sleep mode all together (I know it's a lot to ask for), if so please let me know down below.
Thank you!
Fellow Psoc 6 developer
Garen
Show LessHi, I configured http and mqtt in ModusToobox library, and get the compiling error of "fatal error: core_http_config.h: No such file or directory".
I tried the solution suggested by the forum, the compiling error is still there.
I tried to use
DEFINES+=CYBSP_WIFI_CAPABLE CY_RETARGET_IO_CONVERT_LF_TO_CRLF CY_RTOS_AWARE HTTP_DO_NOT_USE_CUSTOM_CONFIG MQTT_DO_NOT_USE_CUSTOM_CONFIG in my makefile but
still got same errors.
Is there any way to solve the problems? Thanks.
Hello, I'm using a CYBLE-416045-02 to read out two ADCs (ADS1260) over SPI and send the data via BLE to a computer. For that I'm using FreeRTOS with a task for each ADC and a task for BLE.
When I run the programm everything works as espected. However, when I unplug either the ADCs or the PSoC, the programm does not run anymore. With the help of the debugg function in PSoC creator I found out that the programm gets stuck in a while loop, that waits for the data ready line. By flashing at first a random program (e.g. blinking LED) and then reflashing the actual program, the problem a be fixed. Directly reflashing the actual program does not resolve the issue. Pressing the reset button when the problem occurs does also not help.
Does anyone have a suggestion where the root of this problem might be? I hope someone has an idea without having a look into the code. Unfortunately, I would have to change a lot since I'm not allowed to make it public.
I am not aware of the usage of any functions in my program that manipulate the eeprom. Also the registers of the ADCs do not store anything without power.
Show LessHello,
I am currently working on a project where we want to receive data from a USB device and read it in with a PSoC6.
Therefore it would be ideal to program the PSoC6 as USB host.
In older articles there was no USB host support. What is the current project status. Is there a USB Host Driver available ?
If not, is there a way to exchange data between two USB devices ?
Thanks a lot for your help.
Best regards
Snumeli
Hi,
Regarding PSoC6 SCB I2C slave mode with multiple address matching, I want to confirm what is indicated in the documentation: selection of Device Configurator option “Accept Matching Address in RX FIFO” precludes use of the receiver FIFO for data and an interrupt is required for each received byte.
thanks!
Show Less