PSoC™ 4 Forum Discussions
Hello,
I am using PROC 4 BLE as a central device. I want to exchange data with a peripheral device which is advertising.
The API Cyble_gapcconnectdevice() is returning CYBLE_ERROR_OK. Thus api is successful.
But CYBLE_EVT_GATT_CONNECT_IND and CYBLE_EVT_GAP_DEVICE_CONNECTED events are not generated eventhough api is successful.
What may be the possible faults ?
Thanks.
Show LessHello,
I'm trying to quickly confirm whether or not the BLE module offering from Cypress is capable of supporting more than 2 LL instances. From a roadmap that I have, simultaneous central/peripheral is possible with the WICED-based modules as a standard feature through the EZ-SERIAL platform. I have a need to be able to support up to 2C and 2P LL instances simultaneously.
Is this an out of box option for any of the Cypress modules? If not, is it supportable through expanding the functionality of the EZ-SERIAL firmware or would I need to roll my own firmware?
Show LessHi,
We use PSOC BLE Module in our product, and we would like to test the BLE connectivity of those boards during production build.
And we dont want to use PC for this TEST, I want to accomplish this using the below approach, please let me know if you agree with this.
1. The Software on the BLE MODULE (DEVICE UNDER TEST - DUT) publishes a custom BLE Characteristic that is Read and Write enabled.
2. The BLE USB Dongle is powered from 5V source, the custom software on the Dongle tries to connect to the BLE devices and it looks for the custom BLE characteristic,
Once It finds the specific custom characteristic, then it keeps the connection.
3. The DUT Dignostic software would pass the test once the BLE connection is established.
I need a BLE dongle Firmware to perform these operations, please let me know if you agree with this test or you have any better ideas.
Thanks,
Naga.
Show LessHello,
I use from few month the Cypress Pscoc designer IDE that make use of the Cypress-specific Keil PK51 toolchain.
From today when I launch the IDE, it prompts me to register a new licence:
"The license for the Cypress-specific Keil PK51 toolchain has expired. You will not be able to use the toolchain to build PSoC3 designs. Use this registration dialog to register/renew the license. This dialog has been opened because your Keil PK51 license is expired or nearly expired. You can also open this dialog from the Help ->Register menu. If you don't want to be reminded when PSoC Creator starts, you may disable this dialog in the Tools->Options->Project Management menu."
So I click to go to register licence on: https://www.keil.com/license/install.htm?C=CTJN6-9506D&P=IKA1P-M6Q0E-8W7ST
But the registration form submission fails with this error message :
" Problems were detected with the information submitted. Please correct these issues and re-submit the form.
A problem was encountered with your Serial Number. Please contact Technical Support and report code 9939 for assistance with your installation. They will work quickly to help you obtain the proper license code for your product."
So I ask to the Keil-arm support to help me, they responds me:
"this is a known issue with this free-of-charge Cypress PK51 license. This license has expired recently, which Cypress has not yet renewed the contract with us. More info please refer to this post http://www.keil.com/forum/64003/"
Really this licence expiration would not have been a problem if when I compile my project no error are displayed but when I programm the project on my CYBLE-202007-01 BLE module, the programmation is OK but nothing run in the module. With the same project with the not expired licence all was working properly.
What can I do to be able to compile my project properly again? I don't want to have to purchase a licence from Keil as it's mentionned somewhere on this Keil support posts.
Show LessUsing cypress controller CY8C4247AXI-M485 and feeding internal clock of 48 MHZ with WCO enabled , we could not able to transmits and receive data .
We have tried with example code which given in cypress forum still we can't able to communicate .please share the information if any one worked on it.
1. Currently running baud rate 125 Kbps
2. Do we need to connect the Tr_Enable pin ?
see the below mentioned configuration details
please let us know if any changes required in configurations.
Show LessI've been working with a PSoC4 using PSoC Creator's LIN Slave Component. But I'm having trouble with conditional frame publishing. In my hardware setup, there is a single master and between 1-16 slave nodes. I programmed the firmware for the slave nodes to have automatic addressing support, so that each slave will have its own unique NAD (node address) to communicate with the master.
When the slave subscribes to Frame A from the master, if it sees that the frame contains the NAD of that slave device, it needs to publish its data on the next Frame B that the master starts the header for. This way the master can publish Frame A with NAD 1, then it subscribes to Frame B and only gets data from the slave with NAD 1, and repeats for each slave. The master should get a SlaveNotResponding error for a Frame B if no slave exists that has the NAD that was specified in the previous Frame A.
These are the things I've considered or tried so far:
- Using MRF (Master Request Frame) and SRF (Slave Response Frame), because the LIN Slave Component in PSoC Creator makes it easier to work with them. But unfortunately, the master's frames are already defined and in use by many other slave devices, so I cannot change the frames to use the MRF and SRF. I only control the firmware in each slave, so I'm stuck using the proprietary Frame A and Frame B method that was already defined.
- Adding Frame B into the LIN Slave Component with an Unconditional Publish. But then every slave device is responding to every Frame B, even if Frame A did not request their NAD to respond, so this is incorrect. The master requires not getting a response from a slave for Frame B if the previous Frame A's specified NAD does not exist, but that will not happen if each slave responds to every Frame B.
- I tried using the LIN Slave Component's function: ld_put_raw_LINS(txData) to send the data once from a slave after it sees its NAD in Frame A. However, the function's comment says "The data is sent in the next suitable frame (slave response frame)" but I can't use the SRF header, I need to use a custom Frame B header. I tried it anyways, and as expected it didn't work.
- I was looking at the slave changing Frame B's Publish / Subscribe direction, depending on if it should send data or not. For example, like this: "LINS_pidInfoTable
But this requires changes in the LIN Slave Component's automatically generated code, so my changes would be overwritten every time. It might work if I make a copy of the generated file, but it would be harder to maintain, so I'm hoping there's a better way.= (LINS_FRAME_DIR_PUBLISH | LINS_FRAME_DATA_SIZE_8 | LINS_FRAME_TYPE_UNCOND);"
Is there something I'm missing for how to make a slave only publish a frame under certain conditions? Or is this just not currently supported by the LIN Slave Component and I need to write my own LIN interface?
Show LessHi,
- Is it possible to run power mode 1 (powering the psoc with a 4-5V supply), and get the IO voltages to be 1.8V
- How much current can VCCD provide (assuming we use this 1.8V tap to power some low-current peripheral IC's)
From the datasheet below:
Mode 1: 1.8 V to 5.5 V External Supply
In this mode, the PSoC 4000S is powered by an external power supply that can be anywhere in the range of 1.8 to 5.5 V.
Show Less
I want to use an external 24Mhz crystal for the main oscillator on 4246AZI-L423 (attached to pins P7.0 and P7.1).
What settings do I need in the clocks section to use this as master clock?
Also, I want to generate a 31.25 kHz output continuously (derived from the master clock), do I just drop down a clock component and set F = 31.25Khz and attach it to a digital output pin? (I need an accuract clock for external device)
Thanks
Show LessHello everyone:
I have a question for you,When using the chip cy8c4025azi-s413, our company needs to use the batch burner to produce a product。However, I do not know the type of offline burner that supports batch purchase of this chip.Is there a model and purchase method that you can help provide?Thank you very much!
Show LessHi Everyone,
I'm trying to reduce the Area of effectiveness of the blue tooth for medical purposes. How can I reduce the range using the PSOC creator and a CYBLE-222014-01 Module.
Thanks!