PSoC™ 4 Forum Discussions
I am using CYBL10161 for one of the project, which require to get PWM output on 16 pins but, at a time only one pin will output PWM others will be a logic 0. The PWM output will shift from one port pin to another after a fixed interval.
I directly connected 16 pins to PWM block output in PSoC Creator schematic. After compiling, only 2 pins are green says "TCPWM.line_out is directly connectable", while other pins are yellow colored says "TCPWM.line_out is reachable through digital routing fabric".
My question is, can I use above approach for the solution? And if yes, can I just use PRTx_DR register to control OE for pins as given in below link for controlling that only one pin gets PWM output?
I am a college student and my engineering team has decided on the CY8C4126AXI-M443 MCU, We all have a good deal of experience with PSoC Creator as all of our robotics projects use them. We are a bit confused though as how we are supposed to program the MCU. If we have the CY8CKIT-043 and break away the USB programmer what is our next step if we have a breakout board for the MCU's. Thanks in advance to anyone who can point us in the right direction.
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?
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 Less
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.
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 Less
I 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 Less
For 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 Less
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 Less