PSoC™ 4 Forum Discussions
I want to interface Adafruit Neopixel Ring 12 (Datasheet attached below) with CYBL10563(PROC BLE) MCU, which require nanoseconds delay generation for data transmission. I am able to generate delay of 1 micro second but if I increase clock frequency of timer above 1MHZ it does not function as per requirement.
Please help me with the delay generation as I am in very critical stage of firmware development.
Show LessHello,
I have been having concerns about the sleep modes on PSoC. How do I know if a device is ready to be put to sleep? I tried calling CySysPmSleep() but the current still reads about 18mA.
The current reading if I call CySysPmDeepSleep() reads 0mA (have not gotten an accurate reading but at least this seems in the ballpark of what is written in the documentation) but I am unable to wake up the device from deep sleep. If I use debugging, then the device does not seem to go into deep sleep and is back at 18mA.
I am trying to trigger the interrupt through an I2C slave device which sends a pulse when certain conditions are met. I can confirm that the pulse is being sent because I have read the pulse using an oscilloscope. I tried to read the pin that it goes into the PSoC but am consistently getting a value of 0V and no sign of a pulse.
I have also tried using a switch instead of the I2C but am still getting a problem.
Any help would be appreciated. Thanks.
Show LessHi all,
In our BLE application, I am facing a weird disconnection issue.
In general, the peripheral is working good, it is connected with the central device and it sends notifications.
After several seconds it disconnects. It could be 10sec or a few minutes the time until the disconnection happens. The weird thing is that no disconnection events are propagated to the event stack handler function and as a result, I have no idea why it disconnects. Furthermore, since the disconnection event is not handled, the peripheral does not start advertising after disconnection so the central cannot re-establish connection.
The rest functionality of the application is continued normally after disconnection and all interrupts, analog-to-digital conversions, UART/I2C transactions are working good. Only the BLE functionality stops operating. I would like to mention that notifications are sent very frequently. We send a notification packet every 50ms. I do not know if this has to do with the disconnection issue (availability of internal buffers or anything relative).
Are there any ideas what could have happened?
Best Regards,
Yiannis
I'm trying to bond several mobile phones with the same cypress BLE device but when I reach 4 of them I'm not allowed to bond any more. I'm trying to clear the list of bonded devices with the CyBle_GapRemoveDeviceFromWhiteList function. Am I doing the right thing? I'm always getting a CYBLE_ERROR_INVALID_OPERATION error, which means that the whitelist is already in use. May be I'm calling this function in the wrong state of the stack's state machine. Thanks in advance.
Show LessHello Everyone
I am interfacing with an 8-bit bus with read/write capability, so I'm using an 8-bit port with Output Enable. There is as well a SCB UART. The prototype I implemented with the CY8CKIT-042 works perfectly.
For the prototype, I switched to a bigger chip: CY8C4245LTI-M445. When compiling the same project (after remapping the IO of course) I now get the following errors:
Pin guidance unavailable: CD(0) cannot be configured for Output Enable or Input/Output Synchronization while connected to \UART_1:SCB\'s rx terminal.
Pin guidance unavailable: CD(0) cannot be configured for Output Enable or Input/Output Synchronization while connected to \UART_1:SCB\'s cts terminal.
...
I have attached a screenshot of the errors. CD(0) is the bit 0 of the data bus. CD(0) is mapped on P1.4.
P1.4 ctb0.oa1.inm tcpwm.line[6]:1 scb[0].spi_select1:1
Although the UART is not using scb[0] but scb[1].
Of course, disabling the Output Enable for the 8-bit port gets rid of the error, but that's not an option for my application.
Any idea why I'm getting this conflict?
Thanks!
Can someone clear this up for me? On the Timer component there is an interrupt pin. If I want to generate an interrupt every time the timer reaches terminal count I can enable the interrupt by checking the check box. Then I'd put an "Interrupt" component on that pin. How is that any different then leaving the interrupt check box clear and putting the interrupt component on the OV pin? Is this the difference between a hardware and software interrupt?
Show LessHi,
How could manage "TX FIFO empty" and "RX FIFO not empty" interrupt sources, for example, if I only have one external interrupt output ?
Must it be checked any flag inside "CY_ISR(MyUart_ISR){}" for determining which interrupt was who produced interrupt ?
Thanks,
Asier.
Show LessHello, I am new learning BLE and now I'm using the CY8CKIT-042_BLE PIONEER KIT, the question that I´ve
How can I create a piconet between 5 devices as slave and one master? I've read already that it's possible up to 7 connections. If someone knows about documentation that I can read, it'd be so usefull.
Thanks
David Caraveo
Show LessCan I use an external microcontroller to connect CYBLE-012011-00 over I2C? What digital communications can be used to have an external MCU master and the CYBLE-012011-00 as the slave? Thanks very much!
Show LessHi ,
Does this kit has on chip debugger..?
Is there any limitation for putting break points and debugging?
does it heave any soft device like Nordic which stops debugging functionality?
Show Less