Recent discussions
Hello Forum/Cypress,
I am trying to receive incoming data at the fastest possible speed.
1) I am using 2 x CYBL11573-56LQXI chips with the HCI/DTM example code.
2) The UART is set at max speed = 1Mbit.
3) The CPU clock is max speed = 48Mhz.
4) Packet Data Length extensions are enabled on both ends and packet length is MAX.
5) When receiving packets at max speed, it can be observed in-air that the device is NAK'ing packets by not incrementing the packet counter. Approximately every second packet is NAK'ed. This is usually a sign that the device cannot offload the incoming data fast enough.
This results in appox. half the speed that should be possible yielding ~15KB/sec instead of the expected ~30KB/sec.
The physical offloading of the packets to the UART does not seem to be the problem, as it never spins in the BLE_HAL_Uart_SpiUartWriteTxData() function, meaning that it never waits for room in the UART TX buffer.
However, one thing seems odd. BLE_HAL_Uart_SpiUartPutArray() is always called with 1 byte which seems inefficient. Does the whole system generate events based on 1 byte? Seems odd. I cannot see the full call stack however, as everything below is closed-source.
Anyway, is this a bug in the software or a limitation in the chip? If it is the latter it would be a pitty as Data Packet Length extensions cannot be fully utilized then.
Thanks,
/pedro
Show LessHello All,
I am using CYBL10161-56LQXI in my project. The pin 56 of the chip is designated as in Table 1
56 | VCCD | POWER | Regulated 1.8-V supply; connect to 1-μF capacitor
So, does this mean this pin need not be connected to 3.3V supply of my board and should be left unconnected with bypass cap as mentioned in the datasheet?
Also, There are 2 TCPWM blocks in the chip and I need line_out and line_n_out of both the blocks on output pins but only one TCPWM block is allowed to have pins on MCU port. How can I make PSOC creator use both TCPWM outputting from both line and Line_n outs on the pins?
Thanks
Ashutosh
Show LessI'm using the PSoC pioneer kit as both central and peripheral. I have been detecting the presence of various advertising devices(mobile phones) when the kit is in Central mode. I'm reading the address of the peripheral devices (mobile phones) to distinguish them and store their instances (presence). But each time the address generated by the phones are different so i'm unable to hard-code the addresses in the PSoC. Secondly, how can i read the advertisment packet received at the PSoC which is sent by the phones (peripheral) ? Do I have to make any custom service to read the advertisment packet?
Show Less
I have been facing issues lately when exporting PSoC creator projects to uvision. For the exact same projects that used to compile and run fine before are not working anymore. One of the symptoms that happened is that the cursor does not run to main although it is setup to do so when in debug mode (in uvision). The cursor would remain stuck in the reset routine. It seems to be an issue due to the latest MDK update. I am using the CY8CKIT-042-BLE Bluetooth Low Energy (BLE) Pioneer Kit. I have been following the step by step export instructions in the Cypress reference manual but I am still facing the same issue. Some of the steps don't seem to map one to one, it seems that they are targeted for previous versions of MDK. I did also try a full reinstall of all tools and uvision drivers to no avail.
I would appreciate your help on the issue.
Dear all,
I want exchange message B BLE module between C BLE module, but the B BLE module smart phone connection and received C BLE module message at the same time, have any method ?
Hi all!
I am having trouble configuring my adc to my current sense circuit. I don't know what my sample rate should be and how the Acquisition time affects the sampling rate. I want to measure current from 0 to 2.7 Amps with a 24 Vac 60 hertz power supply. I know nyquist states the sampling rate must be twice the sampled signal (120 Hz)??? I have attached my circuit and adc configurations to this post if anyone has any suggestions.
Thanks,
Rick
Show LessCan a Psoc4 BLE device be awaken from deep sleep mode by Cap Sense detection?
Hello!
I was trying to adapt the original InterIcSound Project (for PSOC3/5LP) to a similar project for PSOC4. The problem here is that the DMA components are totally different from those in PSOC3/5LP and I tried to configure the DMAs as precise as possible according to the methods DmaRxConfiguration(); and DmaTxConfiguration(); in main from InterIcSound Project, but without any success.
I've attached my project and I am hoping that a someone can see what the problems are and maybe correct them; I have read the datasheets, but still I can´t get nowhere...
Thank you in advance for your time!
Show LessHi,
I need a little help here.
I use a UART component in a PSoC4 project and I would like to save incoming bytes to RAM without CPU intervention.
I do not know what I am missing but it does not work to me.
I attach a simple example of using DMA and UART RX facing my issue. It can run directly in the Pioneer kit.
The examples for DMA and UART RX use the SCB blocks, which is not an option for my application since the SCBs are reserved for other serial communication blocks. My only option is the UDB UART mode but IU cannot make it work.
Any ideas?
Thank you very much in advance.
Best Regards,
Yiannis