PSoC™ 6 Forum Discussions
Hello,
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 LessHello,
I discovered a nasty bug in the cyhal_spi.c implementation.
In some places, it is not taken into account, that the element size of the buffer is 2, in case the bit width is > 8.
The data corruption would have been immediately apparent if anyone ever tried to use this, which weirdly doesn't seem the case...
Anyways, please see attached the fixed cyhal_spi.c for mtb-hal-cat1 release 1.5.0 (btw, I have to stay at this version, because for the used TARGET_CYSBSYSKIT-DEV-01, the SPI clock selection does not work properly in version 1.6.0... It selects the 16.5 bit divider and then returns an error because of that...)
Also I checked that the bug is still present in version 2.0.
Best regards
Boris
Show LessI am trying to program CYBLE-416045-02 using Flasher ARM in Stand-alone mode. It turns the red led on, when I press the [PROG] button. Here, the use cable from the flasher is connected to a power source but not a PC.
Flahser log shows:
ERROR: Failed to download RAMCode.
SN: 0 - Failed
I could successfully program the target device using J-Flash software. Flahser project set up is as follows:
Does anyone have some clue on this issue?
Thank you!
Best regards,
Show LessHello,
Does the CY8C6136FDI-F42's flash have ECC (Error Correction Code)?
I'm trying to detect if there is an error when writing and reading data to flash.
I wonder if there is something like ECC on the STM32L412RB.
I attach the relevant content.
Best Regards,
YS