PSoC™ 4 Forum Discussions
Is it possible to connect a I2C configured SCB Block to two different output ports?
I know it makes not much sense in terms of design, however I made a routing mistake on the PCB and now two I2C Slaves are not connected to one port but to two different ones. As I'm running out of SCB's and UDB's my only chance right now is to make a connection between the both by manual hardwires which I'd like to avoid.
In detail: I'd like to connect P7.0/P6.4 as SCL and P7.1/P6.5 as SDA on a CY8C4245AXI-M445
Regards,
Andreas
Show LessI've spent many hours looking for a simple example that shows how to read the value of two capsense sensors. If this example also showed the data being sent over ble to the Cysmart program all the better. Just looking to see how it's done! PSOC or PROC 4 if possible.
Thanks,
Kevin
Show LessHello, I am working with CY8CKIT-042-BLE, it´s the BLE Pioneer Kit.
The problem, I have, is to create a Central GAP role, using the USB dongle 56LQXI , I did already a Server GAP Role project and it works when I used CySmart.
I read some tutorials about how to initialize the StackEventHandler but when I developed the code
the connection between the USB dongle and the PRoC BLE Module is not possible, according to my code. However, using the Cysmart the connection is posible.
Also I´m having problem how to write on my server, I´m using the function CYBLE_GATTC_WRITE_REQ_T
but I dont know how get the attrHandle
I´ve attached the file with the Peripheral and Central projects.
Thanks you for your help
David Caraveo
Show LessHello All,
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?
http://www.cypress.com/knowledge-base-article/output-enable-psoc-4-digital-output-pin-kba203666
Thanks
Ashutosh
Show LessHello all,
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.
R/S
Maxwell
Show LessHi 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 Less