Could you please answer some newbie questions
1. It is my understanding that paring is a process in which 2 devices communicate over a connection that is established after a passkey has been exchanged. Bonding is a process where the passkey is saved so next time devices connect they don't have to exchange the passkey and the connection is established quicker.
Here is where I have a disconnect: The GAP settings tab of the BLE component has options to disable pairing/bonding and yet it's possible to establish communication with various services that a device has and read and write data to/from various characteristics.
So am I correct in assuming that pairing and bonding are only for security purposes?
What about advertising (i.e beacon functionality) ?
How does pairing/bonding affect advertising?
1. How many unpaired/unbonded connections can a client ( i.e iOS and Android ) can have?
2. How many paired and bonded connections?
3. Same question regarding the BLE component itself
Hi, when I debugging Cortex M0 from STM32 I can see the changing of program variables in debug session in "real time" without stopping the program. Thanks to SWD. In case of PSoC4 Pionerr Kit 042 in debug session I do not see the behavior of program variables. And only if I stop by any of breakpoints the states of all variables in watch window will be updated.
So is it correct behavior of PSoC Creator IDE? Is it possible to see the behavior of any variable in memory in "real time" without halting executing of program ? As I know it is a possibility of CortexM0 architecture and should be available in all CortexM0 SoC.
Thank you.Show Less
I want to store data that is defined as a large array that is about 20K in flash using const.So can I use the CyBle_StoreAppData? Or should I calculate the store address and use the CySysFlashWriteRow() . Thanks!Show Less
Hi, I have new Pioneer Kit CY8CKIT-042-BLE-A. I can build any examples and program the BLE PSoC chip without any problem. All is work as expected. Excluding the debugging. When I try to run debug session I get next error:
Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again.
Output listing of building and debugging :
Programming started for device: 'PSoC 4200 BLE CY8C4248LQ*-BL583'.
Device ID Check
Programming of Flash Starting...
Device 'PSoC 4200 BLE CY8C4248LQ*-BL583' was successfully programmed at 04/22/2017 21:41:24.
Continuing target program
Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
At the same time using the same USB cable on the same computer and the same PSoc Creator I do not have any problem with debugging session of other not BLE PSoCs.
I did even turn off sleep mode for using USB port but with zero result.
Also I did try to debug on another computer and did get the same error.
I cannot start debug session and with PRoS module (black, is second in kit).
And of course I have updated firmware of base plate.
I am absolutely new in Cypress PSoC so do not have any ideas about resolving this situation.
Thank you for help.Show Less
My goal is to store 16 byte message that comes from an ESP8266 module via UART (so data in AT command format). I am using a PSoC 4 Pioneer board, and my resource use requires that I use the SCB block for UART communication. The example code/project provided for working with the UART SCB block, seems to gather data one char at a time and isn't very helpful if you need to do other tasks.
The method that makes the most sense to me is to utilize the RX-FIFO-not-empty ISR (seen in the advanced tab on the UART configuration) when data is detected to store the RX buffer and check it for the message. However, when I change the RX buffer size to something large enough to grab the message in one go, the SCB block changes to an internal interrupt only mode. From what I have read this is basically because the resources are needed to stitch together the buffer from the 4 bit at a time FIFO.
I am not sure how to trigger a custom ISR using CY_ISR_PROTO(), (I think it would involve the UART_RX_FIFO_STATUS_REG somehow) The datasheet for refers to the function SCB_SetCustomInterruptHandler() but I am not sure that it wouldn't mess up the automatic functions required to move data from the rx FIFO into a large buffer.
Any help connecting the dots, or resources on internal interrupts with PSoC 4 would be appreciated.
Also, storing the data from a buffer seems like a fairly common task, so if anyone can point me in the direction of a better/more efficient technique, or beginner friendly resource it would be much appreciated.Show Less
I'm trying to implement a project that connects the BLE through a secured pairing method instead of an open connection. The Cypress examples in the 100 projects in 100 days seem to not use Key pass Authentication when it comes to the Android Implementations. Has anyone managed to do something with key pass authentication with the BLE and an Android Application?
I have a temperature sensor LM74. It has 3-wire spi. I want to communicate it with PSOC.
It would be very nice if you can guide me, how i can do this.
Looking forward to hearing from you.
I'm using the PSoC CY8CKIT-145-40XX Prototyping Kit. It has a PSoC 4 CY8C4045AZI-S413 IC.
I have been trying all week just to use the tuner application. I have used the example code that was already available through the PSoC creator. I have followed all the steps correctly, even double checked (more than double) that the configuration parameters are the same for both the Tuner and EZI2C.
I have attached the MINIMAL workspace bundle. Any Advice would help. WHAT AM I DOING WRONG?Show Less
I got some troubles with PSOC4 ble kit,and need some help.
Q : Cause of the low speed of write flash directly with "spi serial communication block", we have decide to use the DMA component,but i am puzzle with the struct "cydma_init_struct".
the "addressIncrement" field witch comment as: /* Specifies whether the source and/or destination address will be
* incremented after the transfer of each single data element.*/
i donn't know how to configure with it where i actually need the source address increased but does not the destination address.
what's more ,could you post me the detail of this struct ,or the sample driver of 'S25FL128' will much more better.
thanks a lot!Show Less
I want to use the c# example to program psoc4 chip, the console example work, is it possible to get the miniprog3 state(connected or disconnected) using the reference PP_COM_WRAPPER? Or should I use openPort everytime when I execute program?Show Less