PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
hi,
i am have been working on psoc-4. my flash is almost full.its about 99.1% and Sram is around 43.5%.
when i starting the program right now then its not working perfect.
but when i commented some of module and take Flash below 90% then remaining module working perfect.
so can anyone suggest me what is problem??
is that we can not use flash above 90% ??
Show LessHi all,
I'm a newcomer to the PSoC 4 world, trying to learn the architecture reading the TRM (and again, and again...). One thing I don't quite get is Parallel Input / Output modes of the Status and Control Module. My understanding is as follows:
- datapath's parallel input/output signals are available for DSI routing
- Status and Control Module main use is to provide 8-bit registers to/from CPU part (let's ignore counter mode and interrupts for now)
- S&C Module signals (sc_out[], sc_io_in[], sc_io_out[]) are also connected to DSI
What I don't get is: why there is a need for "parallel output mode" (po[7:0] routed to sc_out[7:0]) and "parallel input mode" (sc_io_in[3:0] and sc_in[3:0] router to pi[7:0]). Surely one of my assumptions (probably about both pi/po and sc_* freely routable via DSI) has to be wrong...
Is there any application note explaining it in more details? Any example project using this mode?
BR,
Przemyslaw
Show LessHello
I am trying to get the Bootloader and Boootable modules to work for Fixed Stack OTA Bootloader with the CYBLE-202007-EVAL board and the BLE radio does no appear to be working when the device is put into program mode. Below I have listed the steps I have taken.
All work is done using PSoC Creator 3.3 DP1 which supports the CYBLE-202007 module and has been used to develop our existing application which uses the CYBLE-202007-01 module.
I have followed the step by step directions listed in application node AN97060 to get the Fixed Stack OTA Bootloader project working using the CYBC4247LQI-BL483 EVAL board working with the CY8CKIT-042-BLE pioneer kit. I am using the Android Cysmart mobile app to upload new firmware to the module. This is working fine.
1. Installed the CYBLE-202007-EVAL board on the CY8CKIT-042-BLE pioneer kit main board.
2. In the Device selector for the BLE_OTAFixedStack_Bootloader01 project and for the PWMExample01 project set the current device to CYBLE-202007.
3. Modified the linker scripts in the BLE_OTAFixedStack_Bootloader01 project and the PWMExample01 project to reflect the 256K ROM and 32K RAM memories.
4. Run the mk.bat from the scripts folder of the BLE_OTAFixedStack_Bootloader01 project.
5. Added the necessary code to the BLE AppCallBack to support the CYBLE-202007 module switching of the PA/LNA hardware control pins.
6. Changed the pin assignment in the BLE_OTAFixedStack_Bootloader01 project for the Bootloader_Service_Activation pin from p2.7 to p1.0 to support the hardware IO changes between the CYBC4247LQI-BL483 EVAL board and the CYBLE-202007-EVAL board.
After these steps the project builds and runs with the green LED pulsing correctly.
The problem is that when SW2 is pushed and the unit is put into program mode and the red LED comes on and flashes the Cysmart app does not see the device. It is acting like the BLE component is not advertising or the BLE radio isn't coming on. I have include the zipped work space with the example projects I am using.
Show LessI have two cyble022001-00 module.with reference to how to create custom ble profile (rgb led) i created one custom profile with one cherecterestic having only one data as a value and try to write that data from cysmart on mobile and its successfully. now i want to program other device as client so i got reference from heart rate collector project and reached up to level device is connected now i want to read cherestricts value and want to change for that i don't know how to register function like "void HeartRateCallBack(uint32 event, void* eventParam)" is there any document for "how to create custom ble profile as a client"????
i try this " apiResult=CyBle_GattcDiscoverAllCharacteristics(cyBle_connHandle,handelrange);" but got invalid parameter error.
here i attach project
design01 is as server peripheral.
design03 is as client central.
Show LessHi 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 LessGood day all,
I am working on project using the UART component for serial communication with the NEOWAY M590E modem. In my project i wait till the ISR receives +PBREADY before it sends any AT command.
The issue am have is upon sending my AT command using PutString, the command is written into my array which i use to receive response from the modem. Based on my perspective the PutString function is using my isr which was connected to Rx_Int of the UART component.
Please how do i fix this bug?
attached is a copy of my project.
Show LessHello, Community.
I have designed two CSD sensor fields.
I need round sensors, one as an endless slider like an rotary encoder.
And the other to move in menues.
Outgoing from the 10mm round buttons, I designed the two sensor fields.
So what do you think about them? Are they practicale?
Or shall I change something?
Best regards!
Jurgen
Show LessHello everyone,
I am using Cypress chip CYBL11172-56LQXI for BLE.
I get the following 2 errors and I am not sure how to debug it.
Build error: section .cy_checksum_exclude loaded at [00023200,000234ff] overlaps section i.smp_tbx_encryption_complete loaded at [000231d8,00023257]
Build error: section i.smp_tbx_rand_complete loaded at [00023258,000232bf] overlaps section .cy_checksum_exclude loaded at [00023200,000234ff]
This is the bootloadable project where I use the manual application image placement (if this info helps)
Any tips or advice to solve this error would be a great help.
Show LessHi,
We are implementing the firmware update feature in our product using PSoC Creator 4.0.
We were able to successfully run the example in Fixed Stack mode using the CY8CKIT 042 BLE PIONEER kit.
We also succeeded in running this example by making a little change at custom linker script to run over the part number and memory we use in our product (CYBL10573-56LQXI, Flash 256K and 32K RAM), based on the script generated by PSoC itself.
All projects using the BLE 4.2 v3.20, Bootloader v1.50 and Bootloadable v1.50 components.
We then add the Bootloader project to our official firmware workspace.
Some changes were made in the code so that the application could see the functions we are using from the BLE that was moved from the application to the Bootloader, following the procedure described in the Cypress app notes. That is, we are using the original BLE component settings of our project. But to it was added a copy of the example Bootloader service.
The bootloader compiles correctly and we can run it in our device, but we are facing a difficulty in the moment of linking the bootloadable with the following error:
ERROR: section .cyloadablemeta loaded at [0003ffc0,0003ffff] overlaps section .cy_checksum_exclude loaded at [0003ff00,000402ff]
Collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
It seems that there is a confusion in the allocation and size for the exclude checksum region that is even going beyond the size of our flash.
This happens whether or not we enable application validation.
We need an urgent help because we do not know how to solve this, the script seems correct and works well when using with the example application.
Best Regards,
Maicon Cesar
Show LessHello,
I'm an electrical engineering student at Arizona State University, working on a project with a team of fellow students. We choose to use PSoC in our design and have ordered the CY8C4126AXI-M443. We are implementing 3 separate MCUs in our design and we're having issues when it comes to programming them for the first time. After soldering them to our custom PCBs and doing continuity checks we power the chip with the cypress programmer from the CY8CKIT-043. On almost every chip we have tried, the select debug target window comes up. It shows the KitProg, below that instead of showing the PSoC chip it shows Cortex-M0 and gives an error on the right saying, "This device was recognized, but PSoC Creator does not support using it at this time". One of our chips programmed on the first time and had no issues, my MCU is finally being recognized and programming after updating the components in the project. We're down to our last board and we can't seem to get this one be recognized even after following the same steps we attempted that made the last chip work.
Has anyone had any issues with soldering and programming a bare chip on a custom PCB? We originally thought we fried the chips with ESD, but after de-soldering and re-soldering, we're still getting the same results. We've made new PCBs as well and thoroughly checked them for any errors in the traces and know the boards are good. At this point, I believe it's something we're not doing correctly to initialize the chip for the first time or it's something we are doing that we shouldn't.
I'm not sure what other information I can give to help. If you need any information to better help me with this issue please ask and I'll provide it as quick as I can.
Thank you,
Robert Goby
Show Less