PSoC™ 4 Forum Discussions
Hallo Community!
I have a question regarding the bootloading support of the EZ-Serial BLE Firmware Platform (Firmware):
Currently I am working with the development board CY8CKIT-042-BLE (Devboard) mounted with an CYBLE-214009-EVAL board (Appboard).
After loading the Firmware to the Appboard with the PSoC Progammer I can send the Appboard into the bootloader section via CySmart 1.2 by writing "0200" to handler 001C and "2F524446552C4D310A" to handler 001B.
If I now want to update Stack and Application the Stack gets updated as intended but then the automatic connection establishment for the Application update fails. I came to the conclusion, that the Stack is not advertising. It stops in the Function "AfterImageUpdate();".
The Stack and the Application were developed according to AN97060 for Upgradable Stack OTA Bootloader.
If I compile and load the code with PSoC Creator 4.0 directly to the Appboard and carry out a Stack and Application update afterwards everything works.
I hope you can help me on that one 😉
Ben
Show LessHi,
I'm using a Psoc 4200(cy8ckit-042) and a cy8ckit-026 can/lin shield and Creator V3.3 SP2.
My problem is that I can not get the CAN component working, meaning I can't even see it in the components list when I am building the project, only the LIN. In the shield's documentation it's stated that is works with the 4200 baseboard but it does not; apparently the CAN works only with the cy8ckit-044 or I am doing something wrong?
Also, it is unclear to me, can I debug the board via USB while communicating via CAN/LIN, because from what I understand from the documentation I can't because the power is coming from the shield @12V, so I should have the USB disconnected.
Show LessHi,
I am using a PSoC 4 Module (CYBLE-214009-00) and I can't find the Programmable voltage reference component (PVref) on the PSoC creator. ( www.cypress.com/file/274656/download )
I would like to use it in order to measure the VCC (Battery voltage in my case) without an external voltage divider.
I plan to use and ADC with VCC as a reference and to sample the PVref, than back calculating VCC.
why this component is missing ?
* Or If you can recommend on any other known practice to measure VCC without an external voltage divider.
Thanks,
Shai
Show LessHi,
I am learning PSoC Creator. I am using CY8CKIT-042 Development kit. I tried uart to ble app. There are some points that I don't understand.
Uart_to_ble app ---HandleUartTxTraffic
- Is there any circular buffer? In this code using Timeout .
- How does it works circular buffer in PSoC & PRoC BLE.
- Is there a code sample of uart to ble made with ring buffer.
Hi,
I've got a question about deep sleep and GPIO interrupts waking up a CY8C4247FNI-BL483. If a GPIO interrupt wakes up the device the execution of the program is resumed from the main program (early after CySysPmDeepSleep() ) or from the GPIO ISR? If I need to use a peripheral in the ISR I have to wake it up in the service? If I do so, after the ISR execution, recalling the peripheral_Wakeup() function in the main loop would cause any problem? What is the correct routine for this occurrence?
Thank you,
Simone.
Show Lessi want to design 7*7 capsense matrix keypade.as i found in one example matrix button is surrounded by hatch pattern of vss(ground) net on both side.and in capsense document its shown that to implement shield electrode surrounded hatch pattern should be connected to shield electrode pin.so its bit confusing should i connect ground net hatch pattern to shield electrode pin in my design ?
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.
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 LessI am using CY5670 Cysmart USB dongle to scan the bluetooth device of android mobile or wireless printer. I am facing problem with CY5670 Cysmart USB dongle that it is not scanning bluetooth devices other than Cypress BLE modules (ex:- CYBLE-214009 and CY8C4247LQI-BL-483). I have tried to configure the Master settings in Cysmart 1.2 application but no result obtained yet. Can you help me out regarding this problem.
Thanks in advance.
Show LessI have taken PWM example project and compiled successfully. Than open BLE_OTA_FixedStack_Bootloader01 and did proper settings and compiled successfully. After modifying mk.bat file, I got required BootloadersymbolGcc.ld file under required linkerscripts file. Now I created BLE_OTA_fixedstack bootloadable project in another window and from here I copied all the linker files and components to my project. After this, specified the path to bootloader project hexfile and ELF files and applied proper buildsetting to my project. Now compiled successfully. But now whenever I'm trying to connect with cypress app it is showing connection timeout,
I have attached my project here for refference.