PSoC™ 4 Forum Discussions
Hi,
in my design I initially set the Local Name to a string which is 9 characters long in the configuration GUI (GAP Settings -> General -> Device Name). In my Advertisement packet I want to transmit the name shortened to 5 and in the Scan Response packet shortened to 25 characters.
When I try to set the "Short name length" of the Local Name in the Scan Response packet in the configuration GUI (GAP Settings -> Scan response packet) to 25 it always jumps back to 9 (because my inital Local Name is 9 characters long).
I implemented a feature to change the Local Name via a custom service, which works quite well.
The only problem is, that when I set the name to something longer than 9 characters (longer than the initial name), the Local Name will still be shortened to 9 characters in the Scan Response packet.
How can I update the Scan Response packet, so the Local Name will always be transmitted with a maximum length of 25 characters?
Hey, I'm trying to use the Accelerometer and the Gyroscope on the LSM6DS3 Sensor. Is there a way to read a register directly with the psoc library? I'm unsure of how to poll for a specific addresses stored info.
Thanks in advance!
Show LessI had problems using a 115200 baud UART on different states of the BLE Stack Event Handler. I have debug messages in every state and in some state I need to send some info over the UART. Sometimes when I write about 10-15 bytes, one character sent is changed by another one. Making a step by step debugging I can see that there's not corrupted memory. Also I know that it's not noise over the tx line of the UART. This issue is fixed adding a 1ms delay on the main infinite loop. Any idea of what is the cause of this behaviour and why this delay fixes it?
Thanks in advance.
Show LessFor a project we use the CABLE-222005-00 on a custom designed board. On some boards after changing the GATT DB in PSoC Creator by adding Services or Characteristics I can't see these changes in the CySmart App after flashing the module. Flashing another board with the same FW, I am able to see these changes. This already occurred on 2 boards.
I already tried erasing all the flash via PSoC Programmer and afterwards flashing it with the FW. Same results here.
Hope you understand my problem and are able to help me.
Show LessHello,
I have been looking at the example USB Audio example project for the CY8CKIT-042 and, looking at the schematic, it looks like DMA can be connected from tr_out to the 'count' input in a timer counter. I tried to do this myself in a different project but got the error:
E2806: Failed to place fixed-function blocks. See the report file for details.
I also tried copying and pasting the components from that project to my project. The device I have for my project is CY8C4248LQI-BL583 so I was wondering if there would be a difference based on the device used.
Show LessHello all,
I'm trying to drive multiple servos using a single PWM block and DEMUX. Normally, I have enough PWM blocks to drive 4 servos. However, there are some applications that we require to use nearly all TCPWM/UDBs. So I'd like to know if it is possible to drive multiple pins with PWM using a single PWM block and DEMUX.
The idea is as follows:
PWM frequency is 50 Hz. Duty cycle on time is around 0.5 ms to 5 ms. So, I thought that I could start pwm on pin 1, wait for a falling edge interrupt. After that, switch to pin 2 and start PWM again with counter reset and new compare value. Same stuff for pin 3 and 4. After we get a final falling edge on pin 4, I write the total elapsed on time to PWM counter and let it generate an interrupt on TC. After TC is reached, the processes loops. So, this should in theory, make me able to use 1 single PWM block and vary its compare match value to drive multiple pins. However, the project does not work as expected. There is much jitter on the servos. Can anyone help me with this issue?
Thanks, in advance.
Attached is the example project that I've been working on.
Show LessHi All,
I would like to know if the BLE modules (PSoc4 and PRoC4), which comes with BLE CY8CKIT, can run independently without using the Base Board. From the schematic point of view, if we provide supply and program through UART then this would work. Please confirm.
Thanks in advance.
Regards,
KCNGP
Show LessHello
I am working with the PRoC 4 system and am trying to set the TX power level in code using the CyBle_SetTxPowerLevel() function and it doesn't seem to be working. For testing I have a Android application that is continually reporting the RSSI level from the connected PRoC system. I can see in the CyBle_eventHandler.c that the TX power level is set to 0dB which matches the settings in my BLE configuration under Connection TX power level. With this setting and with the distance of one meter between the Android device and the PRoC device I am seeing -38dB RSSI. When I set 'bleSsPwrLvl.blePwrLevelInDbm = CYBLE_LL_PWR_LVL_NEG_18_DBM' and 'bleSsPwrLvl.bleSsChId = CYBLE_LL_CONN_CH_TYPE' and then call CyBle_SetTxPowerLevel(&bleSsPwrLvl) after my Ble_Init() I see no decrease in RSSI dB on the Android device. Does anyone have any ideas on this issue?
Thanks
Show LessHi everyone,
I'm working with a CY8CKIT-042BLE. I'm trying to send data from a BNO055 shutle board (I2C connected) to a Dongle. As you can see from the project attached, there are a I2C module for IMU communication and a UART module for BLE transmission. After many attempts, serial communications between Peripheral (EVAL module) and Dongle becomes extremely low, and in some cases doesn't communicate any char value. The systems start slowing down when I start to add components (eg UART_PutString etc..). It is possible to optimize communication in both directions?
Once I've created the uint32 values to send via BLE, what is the best command to implement the sending to the Dongle?
I've attached both the Kit project and the Dongle one, hope will be helpful.
With sincere thanks for your time,
kind regards
Giovanni
Hello,
i have to sense the 5 amp current in my circuit . i connect 0.01Ohm resistor across the batter that i am getting 50mV~100mV that i have to configure as current ...
i saw one article about Trans-Impedance Amplifier -- Link
https://www.element14.com/community/thread/26739/l/psoc-4-pioneer-kit-community-project087-gas-sensor-example?displayFullThread=true
i got confuse about the connection and how much current we can sense .. becoz that project need updation ...
Best Regards
Deepak Aagri