PSoC™ 6 Forum Discussions
Hola, estoy iniciando con Modus Toolbox, ya que compre una placa CY8CPROTO-062-4343W PSoC6 y no encontré ejemplos de proyectos que utilicen un display LCD genérico. Estuve usando unas librerías adaptadas para PSoC5LP con PSoC Creator que funcionan muy bien y utilizan el módulo I2C, pero no me sirven para usarlas en ModusToolbox con PSoC6.
Necesito si alguien tiene alguna librería adaptada para ser usada en Modus Toolbox como la que mencioné arriba o algún proyecto desarrollado para Modus Toolbox PSoC6. No encontré en el material que pone a disposición Infineon, por eso pregunto por aquí.
desde ya muy agradecido con la comunidad por la buena predisposición.
Show Less
Hi,
I am trying to use cy8ckit-064s0s2-4343w to drive WS2812b LED strip.
I have found ws2812 library in iot_expert github repo (1) and it works fine.
But my application is performance critical so I would like to use DMA to output data to SPI.
I have found DMA version of that library (2) and also the article about it
The problem is that it does not work.
I remember using same library on PSoC 4 and it worked ok.
To narrow down the problem i have combined non DMA version (link (1)) with dma configuration from link (2).
The result is as follows:
When cyhal_psi_transfer() is used to output the data everything works fine.
When WS_DMATrigger() is used the LEDs does not light up.
The code can be found here .
I have spent several hours and still was not able to find the problem.
I would greatly appreciate some help.
Thanks.
Show LessTCPWM have Period register and Period buff register . How to determine which register is used now,Period register or Period buff register! thanks!
Show LessHi,
I am using both CSD and CSX to sense proximity with our sensor made of elastic carbon composites. With no environmental change, it will have a sudden downward shift. The shift happens within 5 minutes after booting up, but the exact timing is not predictable. The attached graph shows CSD raw count value on the y-axis and sample points on the x-axis. I am wondering if there is any solution for this.
Thank you so much!
Show Less
I'm using a CYBLE-416045 and I'm sending keystrokes from a custom keyboard to devices.
I am using the SendKeystroke() that I copied from the hids.c in the CY8CPROTO-063 demo board.
The keys keep sticking, not because the switch is stuck but because the BLE HID Report requires you to send a cancel keyboard_data = {0,0,0,0,0,0,0,0}. That Send runs into a CyBle_GattGetBusyStatus() == 0x1, so the cancel Report doesn't get sent and the Repeat Delay on the keyboard setting somewhere times out as if the key is stuck in the down position.
Is there a way to set the keyboard repeat-delay setting to off, or to disable down-key repeat? My keyboard will never need the hold-down repeat function.
In the mean time I'm desperately sending multiple cancel requests, but that can't be the right solution.
if(protocol == CY_BLE_HIDS_PROTOCOL_MODE_BOOT) { apiResult = Cy_BLE_HIDSS_SendNotification(connHandle, CY_BLE_HUMAN_INTERFACE_DEVICE_SERVICE_INDEX, CY_BLE_HIDS_BOOT_KYBRD_IN_REP, KEYBOARD_DATA_SIZE, keyboard_data); } else { apiResult = Cy_BLE_HIDSS_SendNotification(connHandle, CY_BLE_HUMAN_INTERFACE_DEVICE_SERVICE_INDEX, CY_BLE_HUMAN_INTERFACE_DEVICE_REPORT_IN, KEYBOARD_DATA_SIZE, keyboard_data); } cancelRepeatResult = Cy_BLE_HIDSS_SendNotification(connHandle, CY_BLE_HUMAN_INTERFACE_DEVICE_SERVICE_INDEX, CY_BLE_HUMAN_INTERFACE_DEVICE_REPORT_IN, KEYBOARD_DATA_SIZE, cancel_repeat_data); int retries = 0; while(cancelRepeatResult > 0 && retries < BLE_RETRY_COUNT){ retries +=1; cancelRepeatResult = Cy_BLE_HIDSS_SendNotification(connHandle, CY_BLE_HUMAN_INTERFACE_DEVICE_SERVICE_INDEX, CY_BLE_HUMAN_INTERFACE_DEVICE_REPORT_IN, KEYBOARD_DATA_SIZE, cancel_repeat_data); DBG_PRINTF_LINE("cancelRepeatResult == 0x%X", cancelRepeatResult); Cy_SysLib_Delay(BLE_RETRY_DELAY_TICKS); }
Show Less
Hello,
I am trying to program PSOC 6 BLE PROTOTYPING KIT(CY8CPROTO-063-BLE) and it keeps saying that the device is not compatible with target device selected even though I am choosing PSOC 6 and PSOC63. Can anyone help please?
Show LessWhen I start debugger using kitprog3 I get debug prints before I enter into free run mode. It happens with debugging only.
hello.
After setting up USB CDC (using USB configurator), a modus build error occurs.
There was no error before setting USC CDC, and the example (USB_CDC_echo) was used for setting.
I attach the usb configuration file and modus project.
There are several parts that need to be corrected, but first, I would like to ask why this is the case.
thank you.
Show Less