PSoC™ 6 Forum Discussions
I use two types of UART packets.
- Fixed-length 73 byte packet
- variable length packet
If I set up the DMA like below, an interrupt occurs when 73 UARTs are received.
However, in case of variable length (eg 30 bytes), DMA interrupt does not occur.
Therefore, 30 bytes of data cannot be imported into the user buffer.
Since I need to process the uart quickly, the remaining 30 bytes also need to be quickly fetched into the user buffer.
Please tell me how to deal with it.
regards,
-PsocStudent
Show LessDear Receiver,
Could you please tell me about " how to change ModustoolBox from online (library) mode to offline (library) mode ?! " ?!
Thank you so much.
Show LessHi,
I need two GPIO interrupts on PORT0. The pins chosen were 0.4 and 0.2. However, pin 0.2 didn't trigger any interrupt.
Then i found some links (of PSOC4) saying that external interrupts of the same port should be adjacent / contiguous.
Later, when i changed the pins to 0.3 and 0.4 it worked. So -
- Should the GPIO interrupt pins of same port be adjacent ?
- If yes, why does PSOC have such a constrain for interrupt pins ?
- Is there any document referring to the same ?
regards,
VG
Show LessI am getting a build error when I try to measure the temperature using thermistor. It's saying
prjM0120:Build error: undefined reference to Thermistor _GetTemperature'
Can anyone help?
Show LessHello,
We have recently come across an issue in our app where calling Cy_Flash_WriteRow() stops audio playback. When inspecting the I2S DMA channel struct I observed that .CH_CTL is set to disabled, and .CH_IDX is set to 0 after calling the flash write function.
Any help with this would be greatly appreciated. I cannot share our whole project but I can share certain files and parts of our code if need be.
Thank you.
Edit: After more testing the issue seems to appear when I2S is running at 512 kbps. I have attached our top design and design wide resources for you to investigate. Our app is built on the CE220960 example code (Bootloader_BLE_Upgradable_Stack PDL 3.0).
Show Less
Hi,
For PSoC 6, in order to bump the capacitance of our custom sensor to be above 5 pF which could be optimized for 4th Gen CapSense, we were trying to parallel a fixed value SMT capacitor (5pF) to our sensor(2.5pF Mutual-cap). Would this method work since measuring only our sensor using CSX seem quite insensitive? If so, would the method we showed in the image be the correct way to do that?
Also, is it possible to determine the best IDAC value other than auto-calibration if the baseline capacitance and resistance of our sensor are known?
Thank you so much!
Show Less
Hi, 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
still got same errors as:
./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/include/core_http_client.h:39:14: fatal error: core_http_config.h: No such file or directory
Compiling libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source/core_mqtt.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_FreeRTOS_app -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_FREERTOS -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DCOMPONENT_WLBGA -DDEBUG -I. -I../mtb_shared/BMI160_driver/bmi160_v3.8.1 -I../mtb_shared/abstraction-rtos/release-v1.4.0 -I../mtb_shared/abstraction-rtos/release-v1.4.0/include -I../mtb_shared/abstraction-rtos/release-v1.4.0/include/COMPONENT_FREERTOS -I../mtb_shared/abstraction-rtos/release-v1.4.0/include/Template -I../mtb_shared/bluetooth-freertos/release-v3.4.0 -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform/common -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform/debug -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform/include -I../mtb_shared/btstack/release-v3.4.0 -I../mtb_shared/btstack/release-v3.4.0/wiced_include -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/clib-support/release-v1.1.0 -I../mtb_shared/clib-support/release-v1.1.0/TOOLCHAIN_GCC_ARM -I../mtb_shared/command-console/release-v3.2.0 -I../mtb_shared/command-console/release-v3.2.0/include -I../mtb_shared/command-console/release-v3.2.0/source -I../mtb_shared/command-console/release-v3.2.0/source/command_console -I../mtb_shared/command-console/release-v3.2.0/source/command_console/COMPONENT_PSOC6HAL -I../mtb_shared/command-console/release-v3.2.0/source/iperf -I../mtb_shared/command-console/release-v3.2.0/source/iperf/include -I../mtb_shared/command-console/release-v3.2.0/source/iperf_utility -I../mtb_shared/command-console/release-v3.2.0/source/wifi_utility -I../mtb_shared/connectivity-utilities/release-v3.2.0 -I../mtb_shared/connectivity-utilities/release-v3.2.0/JSON_parser -I../mtb_shared/connectivity-utilities/release-v3.2.0/cy_log -I../mtb_shared/connectivity-utilities/release-v3.2.0/cy_string -I../mtb_shared/connectivity-utilities/release-v3.2.0/linked_list -I../mtb_shared/connectivity-utilities/release-v3.2.0/network -I../mtb_shared/core-lib/release-v1.2.0 -I../mtb_shared/core-lib/release-v1.2.0/include -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0 -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0/COMPONENT_CAT1 -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0/COMPONENT_CAT1/include -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0/COMPONENT_CAT1/mbedtls_MXCRYPTO -I../mtb_shared/display-eink-e2271cs021/release-v1.0.1 -I../mtb_shared/display-eink-e2271cs021/release-v1.0.1/configs -I../mtb_shared/display-eink-e2271cs021/release-v1.0.1/configs/emwin -I../mtb_shared/emwin/release-v5.48.1 -I../mtb_shared/emwin/release-v5.48.1/GUI -I../mtb_shared/emwin/release-v5.48.1/GUI/Include -I../mtb_shared/freertos/release-v10.3.1 -I../mtb_shared/freertos/release-v10.3.1/Source -I../mtb_shared/freertos/release-v10.3.1/Source/include -I../mtb_shared/freertos/release-v10.3.1/Source/portable -I../mtb_shared/freertos/release-v10.3.1/Source/portable/COMPONENT_CM4 -I../mtb_shared/freertos/release-v10.3.1/Source/portable/COMPONENT_CM4/TOOLCHAIN_GCC_ARM -I../mtb_shared/http-client/release-v1.2.0 -I../mtb_shared/http-client/release-v1.2.0/include -I../mtb_shared/http-server/release-v2.2.0 -I../mtb_shared/http-server/release-v2.2.0/include -I../mtb_shared/http-server/release-v2.2.0/source -I../mtb_shared/http-server/release-v2.2.0/source/port -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix/arpa -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix/net -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix/sys -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/stdc -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip/apps -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip/priv -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip/prot -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/netif -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/netif/ppp -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/netif/ppp/polarssl -I../mtb_shared/mbedtls/mbedtls-2.25.0 -I../mtb_shared/mbedtls/mbedtls-2.25.0/include -I../mtb_shared/mbedtls/mbedtls-2.25.0/include/mbedtls -I../mtb_shared/mbedtls/mbedtls-2.25.0/include/psa -I../mtb_shared/mbedtls/mbedtls-2.25.0/library -I../mtb_shared/mqtt/release-v3.4.1 -I../mtb_shared/mqtt/release-v3.4.1/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/drivers/include -I../mtb_shared/retarget-io/release-v1.2.0 -I../mtb_shared/secure-sockets/release-v2.5.0 -I../mtb_shared/secure-sockets/release-v2.5.0/include -I../mtb_shared/secure-sockets/release-v2.5.0/include/COMPONENT_FREERTOS -I../mtb_shared/secure-sockets/release-v2.5.0/source -I../mtb_shared/sensor-motion-bmi160/release-v1.0.1 -I../mtb_shared/whd-bsp-integration/release-v2.0.0 -I../mtb_shared/wifi-cert/release-v3.4.0 -I../mtb_shared/wifi-cert/release-v3.4.0/include -I../mtb_shared/wifi-connection-manager/release-v2.3.0 -I../mtb_shared/wifi-connection-manager/release-v2.3.0/include -I../mtb_shared/wifi-connection-manager/release-v2.3.0/source -I../mtb_shared/wifi-connection-manager/release-v2.3.0/source/COMPONENT_4343W -I../mtb_shared/wifi-host-driver/release-v2.3.0 -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/inc -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/clm -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/clm/COMPONENT_4343W -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/firmware -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/firmware/COMPONENT_4343W -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/resource_imp -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/src -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/src/bus_protocols -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/src/include -I../mtb_shared/wifi-mfg-test/release-v3.3.0 -I../mtb_shared/wifi-mfg-test/release-v3.3.0/include -I../mtb_shared/wifi-mfg-test/release-v3.3.0/source -I../mtb_shared/wifi-mw-core/release-v3.4.0 -I../mtb_shared/wifi-mw-core/release-v3.4.0/configs -I../mtb_shared/wifi-mw-core/release-v3.4.0/lwip-whd-port -I../mtb_shared/wifi-mw-core/release-v3.4.0/lwip-whd-port/COMPONENT_FREERTOS -I../mtb_shared/wifi-mw-core/release-v3.4.0/lwip-whd-port/COMPONENT_FREERTOS/arch -I../mtb_shared/wpa3-external-supplicant/release-v1.0.0 -I../mtb_shared/wpa3-external-supplicant/release-v1.0.0/include -I./Drivers -I./calibrations -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth -I./libs/aws-iot-device-sdk-embedded-C -I./libs/aws-iot-device-sdk-embedded-C/libraries -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/backoffAlgorithm -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/backoffAlgorithm/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/backoffAlgorithm/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/dependency -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/dependency/3rdparty -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/dependency/3rdparty/http_parser -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/interface -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreJSON -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreJSON/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreJSON/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source/interface -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11 -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency/3rdparty -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency/3rdparty/mbedtls_utils -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency/3rdparty/pkcs11 -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/include -I./libs/aws-iot-device-sdk-embedded-C/platform -I./libs/aws-iot-device-sdk-embedded-C/platform/include -I./libs/aws-iot-device-sdk-port -I./libs/aws-iot-device-sdk-port/include -I./libs/aws-iot-device-sdk-port/source -I./libs/aws-iot-device-sdk-port/source/include -I./libs/aws-iot-device-sdk-port/source/ota
Is there new way to solve it, Thanks.
Show LessHi,
When I was looking at the CSD (Self-Capacitance) Proximity, I noticed a common shift in baseline despite no change in environment. The shift is much larger than the signal and the noise. I am wondering if there is any way to prevent this from occurring.
Thank you!
Show LessHello, I have question about DMA_UART_Tx, I'm using Psoc6 WIFI-BT Pioneer Kit.
Is there an API or register to determine the status of DMA_UART_Tx?
This is to send it again after the transfer is over.
regard. Psoc_Student
Show LessDear Receiver,
I would like to know in what condition user will choose POSC 63 BLE and in what condition user choose CYW20xxx BLE.
Do you meet someone who use PSOC 63 BLE instead of using CYW20xxx BLE ?!
I mean the BLE function of CYW20xxx should be better than PSOC 63 BLE.
Why BLE function in PSOC 63 is still exist ?!
Thank you so much.
Show Less