PSoC™ 4 Forum Discussions
I want to control bonding by enable/disable and need change security mode from "Authenticated pairing with encryption" to "Unauthenticated pairing with encryption".
How to do this ? What a functions exist ?
Show LessHello,
i am using CY8C4247AZI and i want to alternatively start and stop line and line_n.
In my project invert signal is require for that i am using both line and line_n. but i don't know
how to stop line_n while line is running or generating PWM .
in next step i have to close line but line_n must be turn on and generate invert PWM..
Best Regard
Deepak Aagri
Show LessI use psoc4 the bootloader and bootloable components, to upgrade a device when it is successful, but to upgrade a number of equipment, then it is not possible.I use the communication is 485 communications.
Show LessPSoC 4 BLE
So in the KB article "PSoC® 3, PSoC 4, and PSoC 5LP Flash Memory Organization and Array ID Parameter - KBA84740" <http://www.cypress.com/knowledge-base-article/psoc-3-psoc-4-and-psoc-5lp-flash-memory-organization-and-array-id-parameter> flash memory organization is discussed.
I'd like to know the flash organization for the PSoC 4 BLE parts.
How many bytes does each row contain? The KB article says "Refer to the Ordering Information section of the family datasheet" but is isn't apparent from looking at that table <http://www.cypress.com/file/137466/download> what the row length is?
Show LessHi all,
I have a master and a slave on an i2c bus. I need to give an address to this slave by bit-banging the sda pin. On the slave, I want to detect an interrupt on the sda pin and read the address. Then the master will communicate with the slave using the i2c. My questions are the followings:
1) How can I detect an interrupt on the sda pin and then start the SCB component?
2) How can I link my CY_ISR() function to this interrupt?
It's easy with a pin that you put on the schematic, but I don't have access to the sda pin on the schematic. My slave device is a cy8c404lqi-422 and I'm using PSoC Creator 4.0.
Thanks in advance.
-Antoine
Show Lessi want to set 8-digit seven segment display in Timer Interrrupt.
iteration time for every interrupt is 6 ms.
i done this in psoc-1 in past.its working fine there.
so i want to make it same on psoc-4 but when i set same setting on psoc-4 then its not working correctly.
can you tell me is that psoc-1 and psoc-4 Timer configuration are different??
Show LessI'm still stuck on a couple of things with my project. This is a project to add SD storage and BLE communications to a 1982 pocket computer. I'm trying to interface the PSoC to LH5801 CPU by emulating RAM. I am able to write data from the MCU to the CPU, but things are breaking down when I try to read the data bus and use the R/W signal.
Right now, I have a decoded CS on P0.5. This has an interrupt on falling edge that triggers the main routine to read the address bus and see what needs to be done. The R/W line goes to P0.4, and is also ANDed with the inverted CS signal to control OE of the data bus pins.
Looking at the timing diagrams for the PC, it seems that R/W pulses low after address and data are set up when writing to memory. So, I would like to have an interrupt on R/W that gets enabled when CS goes low, and disabled when CS goes high. The W interrupt handler would then read the data bus and write the data to MCU memory.
The problem I'm stuck on is that I can't find how to enable interrupts for both P0.4 and P0.5, and, when I tried to move R/W to one of the remaining available pins (P4.0-1, or P5.0-1) the designer tells me that the function is not reachable from those pins. I can't use anything on P1, P2, or P3, because those ports are fully allocated for address and data lines.
I thought there was a way to have more than one interrupt per port. Can someone tell me more about this, or how I can use P4 or P5?
Thanks,
Paul
I am using unauthenticated pairing with encryption and bonding in server mode. When I connect an iOS device to the peripheral the first time everything is happy and the bonding works great. However, once I update the firmware on the peripheral, I cannot connect to the iOS device anymore unless I go into the iOS settings and forget the device (ie erase the saved encryption key). How do I recognize that the encryption key is not correct and request a new key to be shared? Or is there some other issue I am missing? Thanks!
Show LessHi
I am using CY8CKIT-042_BLE(PSoC 4 BLE), and I am using Cap Sense Slider LED project to learn, I want to monitor BLE data (from Cy smart App to CY8CKIT-042_BLE device)on UART terminal. I have tried including UART(SCB mode) module in the schematic.
I have tried seeing the output on PC terminal program with baud rate of 115200, but the message is garbeled (I think there is some issue with the clock.) also there are some errors which are shown below.
Show Less