PSoC™ 4 Forum Discussions
We were encouraged by our supplier to make a move from CY8C4247LQI-BL473 (BLE 4.1, 128 kB) to CY8C4248LQI-BL543 (BLE 4.2, 256 kB) due to cost optimization (BLE 4.1 being deprecated).
When changing the device (MCU type) of the project to CY8C4248LQI-BL543 build failed:
"Error: cdf.M0005: CyDsFit aborted due to errors, please address all errors and rerun CyDsFit. (App=cydsfit)"
I isolated the problem to an output pin that is mapped to XTAL32I/XTAL32O pins which are also P6(0-1) digital pins. It seems strange to me since we are not using external oscilator and the project works on all 128 kB 4.1 BLE PROC BLE and PSOC BLE MCUs. Once I disable the output pin, project builds fine.
Is there some specific with the 256 kB 4.2 BLE PSOC MCUs compared to 128 kB 4.1 BLE that would cause the before mentioned problem (unable to use XTAL pins as GPIO)?
Toolchain configuration:
PSoC Creator 3.3 CP2 (3.3.0.7343)
BLE component version: MAJOR: 3; MINOR: 10
Show Lesshello, I am trying to understand the battery level with voltage divider in PSoC4 BLE. As I have found in one project we use a voltage divider with a cap and an opamp with unity gain (buffer). Why do we need a capacitor (and what value must have?) in the voltage divider? Why the ADC configuration as Vref: Vdda/2, bypassing. What does it mean Vref bypassing? Can someone explains the whole procedure? Please take into account that the Vdd is a regulator output...
Show LessI was wondering if the CySmart software to scan and connect the Bluetooth Low Energy peripheral, is available as a source code distribution?
Show LessI am trying to use CapSense and I2C together on a CY8CKIT-145-40xx using PSoC Creator 4.2. Both the CapSense and the I2C work well separately, but when try combine them, it crashes. Has anyone else seen this problem? Can anyone steer me to a project with CapSense and I2C working together?
Show LessHi All,
I recently made my own pcb for PSoC4 and created this fun project with capsense. Other information i will be updating soon..
Checkout the video here
Ashok R
www.ashokr.com
Show LessI'm having issues with a launcher/bootloader project. When the code size goes over a certain threshold, cyelftool throws the following error: "Error: flash row: 1024 is either already used or does not exist."
We are using a cy8c4248LQI-BL573 with 256K flash, and looking at the map file, we are using somewhere around 54% of available flash, so we shouldn't be running out.
The specific command that fails is: "cyelftool.exe -B C:\Users\rfr2\Documents\Dresden\Firmware\Bootloader.cydsn\CortexM0\ARM_GCC_541\Debug\Bootloader.elf --flash_row_size 256 --flash_size 262144 --flash_offset 0x00000000 --flash_array_size 131072 --offset"
If I run the same command without the "--offset" It succeeds, but I'm not sure what the "--offset" actually does.
Any help would be appreciated!
-Rob Rau
Show LessI was wondering if I could use capsense as a high resolution capacitance to digital converter.
The range of the measurements would be below 45 pF, but I would need a measurement resolution of approximately 1fF.
Is it possible to achieve such a resolution with capsense? If not, what kind of resolution/range can I achieve?
Show LessDear Community, the other day I tried to make a linear servo, using the optical position sensor and DC motor of an old printer's ink cartridge carrying mechanism. for debugging, the position was supposed to be transmitted to my PC via UART, which had worked perfectly before.
I also had debugging LEDs involved, one for each of the 2 photodiode channels of the position sensor to tell if each channel was bright or dark. For this, I wanted to use 2 colors of the onboard RGB LED.
I gradually implemented the motor control hardware using an L293D chip powered by external 5V Power supply capable of pulling high currents. Unaware that these Pins also were assigned to the RGB-LED channels, I began assigning one of the Motor control pins to P0.2.
I'm not sure of the chronology but once I had an issue where pins were reassigned automatically, and also many attempts of reassigning the pins manually.
The end result was that the status LED did a green fading blink, around 1 cycle/minute and my terminal emulator did not recognize the Device as a serial Port anymore, while anything else in the routine seemed to function as normal.
This situation kept being the case and still persists for any Project that uses UART and was working perfectly before.
My questions now:
- Did I fry something vital for UART connections?
- Is there a troubleshooting guide somewhere to look up status led blinking schemes?
Thank you very much in advance, I'll provide any available further info as needed!
Show Lesshow psoc4100sp use deepsleep mode and wake up by lfclk or wco or wdt,i can find any code example
Hello everyone,
I'm really struggling to have accurate temperature readings sensed, using a thermistor. I have an evaluation board for the CYBLE-224116-01 MCU that I have attached to the CY8CKIT-042-BLE-A. Externally I have connected a TO103J2F NTC 10k ohm thermistor and a 9.1k ohm resistor to the kit. The connections in place are for V high, V low and V therm.
I've read through all the documents and carried out testing on the outputs of the connections. However, the readings being displayed via the CY Smart app are completely off. 50°C is being displayed or just somewhere under.
Can someone please have a look at my PSoC creator project file and my hardware connections.
I've attached the project file and the Temperature VS Resistance table ( TO103J2F).
I really hope to have this working
Kind regards,
Alisha Khan
Show Less