PSoC™ 4 Forum Discussions
I use PSOC4100M. When wake up from hibernate for a while one GPIO configured as output goes low, which is not acceptable for my system. I tried to freeze it before go in hibernate but this does not help. While the MCU wakes up, the pin goes in tristate for a while again. Is there any way to keep its high logic during reset
Show LessI have a pioneer board CYBLE-042 and it works just fine with the PRoC module that came with the demo kit, ( the black board) and also with a 022001 PRoC, but if I switch to a PRoC 222014-01 the FRAM or I2C stops working, it is not the board or Ram as I can swap back the modules and FRAM works fine. is there some kind of Symbol or some kind of conditional compile thing going on that looks to see what silicon is being used and then stops code generation? I ask because the 22014-01 is a 256K module and the other ones mentioned are 128K and the FRAM is 128K.
I had to switch to a larger module because I ran out of code space. If I turn on optimization I can fit in 120K but in full debug it has 170K
I tried using that demo project, OTA bootloader, and the project compiles and runs fine. but fails the transfer file in cysmart dongle.
I know this is FRAM not working error, I can run the my full embedded code if I comment out any access to FRAM,
Show LessHello ,
i wanted to send a data packet from server to client. Because there were two different data types, the uint32 and uint8. I've defined a uint8 array, which had the length 5:
uint8 sendDataPacket[5];
in the first 4 array's units, i've saved the uint32: firstly i separated the uint32 into 4 uint8s, and then saved every uint8 in each array unit. The last data type uint8, i saved it in the last array unit of sendDataPacket[5].
After the sending from the server and receiving of the Client, i readed them by using 'CYBLE_GATTC_HANDLE_VALUE_NTF_PARAM_T RX_data = (CYBLE_GATTC_HANDLE_VALUE_NTF_PARAM_T *) eventparam; ' and then saved them in another uint8 receiveDataPacket[5] on the client side.
Unfortunately, i could not read the last uint8 from the receiveDatapacket[5]. The data there was not what i expected.
Could anyone tell me, what was going wrong?
Show LessHello, I confirm about CY8C4014LQS-422Z (24-QFN) of Automotive PSoC.
I can confirm GPIO# which is up to 20 from this data sheet. and I want to use CMOD(P5), I2C(P21/P22), SWD(P21/P22) as other individual IO.
How many Caps button can it use? max 17 buttons is correct?
Show LessHi !
I try to make that device after disconnect going to deep sleep and wake by switch interrupt.
But BLE is don't wake (not start advertisement)
My design is attached .
Show LessHi !
I want to put PSOC4-BLE to DEEPSLEEP but because I have RTC that keep time I need make interrupt each second.
Time to wake-up of BLE is ~0.5 sec so less 50% is used to sleep (some additional task exist).
So I think how to increment RTC not each sec but 5 sec ?
Are it's possible ?
Show LessI want to build a system that communicates over BLE. I used AN91162 to learn to configure and use BLE. It works well, but I see the following memory usage:
Flash used: 80271 of 131072 bytes (61.2 %).
SRAM used: 10896 of 16384 bytes (66.5 %). Stack: 2048 bytes. Heap: 128 bytes.
This has been reported by PSOC creator 4.1.
Below are the details about my setup and tools:
Environment:
PSoC Creator 4.1 Update 1 (4.1.0.3210)
Culture: English (United States)
OS Version: Microsoft Windows NT 10.0.14393.0
CLR Version: 4.0.30319.42000
BLE component version: 3.40
Prism component version 2.20
Please help me reduce the ram and flash usage.
Thanks,
Aditya
Show LessI use a KitProg2 and KitProg3 programmers to program BLE modules, and that BLE capsense mouse: The programming hardware connector on the end device (mouse or BLE module has this connection)
My Question is: Is there any signals connected to pin 6 and pin 8 inside the programmer? I want to tie my Debug UART_RX and UART_TX back to these pins on my end application hardware so I have a one connector interface (my target hardware is potted for industrial use so I only want one connector) I can not find any documentation on the MiniProg3 at the hardware circuit level. just user manuals on how to configure an use the programmer. I dont want to sizzle the programmer or sizzle my end hardware if I tied the uart back to pin6 and pin8.
Show LessHello,
I have a question about the iDAC on CY8C4024LQI-S401.
There is the explanation that two IDACs can be put in parallel to form an 8-bit IDAC in IDAC7 Component Datasheet.
What that mean like below?
and can I set the different range like below?
Best regards,
Yocchi
CY8C4024LQI-S401
Show LessHi Bob,
I am using the CYC8KIT-049 (42xx) plugged into my own board, which has three SPI devices sharing the same SCB SPI Master. The one at SS0 is a LED matrix which speaks Motorola with 16 bit data. At SS1 and SS2 are two Microchip CAP1128 capsense button controllers, which also speak Motorola, but with 8-bit data. SCB is initialized as Unconfigured. My code works with the LED matrix and the CAP1128 at SS1, and I have identical code to operate that at SS2. I also have a UART that spits debug info over the USB serial, showing button activity. My problem is that the PSOC will not operate the SS2 pin, it just sits high. I used a logic analyzer to catch this culprit, and to ensure that it wasn't interference on my board, I unplugged the 049 board and still no waveform on SS2. My code is attached. I've commented out the calls to interact with the LED matrix and the working CAP1128, to simplify. Any advice would be much appreciated.
Show Less