PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi community,
I'm currently implementing a BLE OTA upgrade feature with an upgradable stack based on the examples provided in PSoC Creator on my custom designed board.
In these examples it is possible to switch between the applications by pressing button SW2 during startup of the chip. At my custom designed board I got no input buttons to perform this operation.
What would be the best solution to switch between the applications without buttons?
Best
Philipp
Show LessHi all,
I have a server peripheral device and I need to use authenticated pairing with encryption and bonding requirement. I have a code in my device working fine with iOS devices (several HW versions with different OS versions). But with android devices, depending on the OS version, sometimes I have to write the pairing key (Android 4.4.4 and 6.0.1) but with Android 5.0.2 I can connect and bond without writing any key. It's like if the OS jumps over authenticated pairing situation. I don't understand why it is. Any idea?
Thanks in advance.
Show LessHai,
I am here for a help, I am using cyble-0120120-10 BLE MCU. I have problem in notify, I have created custom Service and added 3 Custom Services, Each service would contain different Values of Floating. I tried to Send notification to the NRF connect application, I failed to send notification. When i tried adding Battery service characteristics it works fine, but while adding custom Services i face issue in notifying.
I tried with the DEV board, by importing the cap sensor Ex code, I have added 3 custom Services , to it, i tried to send notification, it works fine with the DEV board.
I request you to help out of this issue, As i am new to BLE stack, Please guide me.
Regards
BOB
Show LessHi,
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 Less