PSoC™ 4 Forum Discussions
Hi everybody,
is there a way to transmit just one packet for each connection interval? Or more generally is it possible to control the number of packets that are going to be transmitted in one connection interval?
Any help is appreciated, thanks in advance.
Marco
Show LessHello guys
I was confused on what pins they were using to program the Psoc and which protocol was used for the same. could someone throw some ligth on it
Show LessHello forum,
I struggle with solving the build error: 'SCB_SCB_IRQ__INTC_NUMBER' undeclared.
The setting
For my implementation I need to use SPI & UART, but once in a while also the CapSense tuner GUI, but the PSoC42xx BLE does only offer two SCBs. My solution was to disable the UART SCB and enable the EZI2C SBC if needed and adopt the Code with #if/#else.
I can successfully run the UART and EZI2C in different projects with the same code (but with different parts of the #if/#else enabled), so my code should be fine.
The Problem
When I merge the two mentioned projects together (UART and EZI2C in one project on the same SCB number, one disabled) and try to build, I get the quoted error.
Can anybody help?
Show LessHello,
I've been working on a frequency counter project using PSoC4, and it is now nearing completion. It uses feedback via the code to keep the frequency locked to a target value. It is working quite well, but I'd like to be able to capture in detail what is going on when the code is correcting for frequency error.
Of course I can, and have, used the normal debug facilities to halt execution and display the current value of selected variables, but this is of little help in understanding the operation of a feedback loop.
What I really want is to capture some variable values on the fly without halting execution, or at least without causing too much execution delay. Given that an SWDIO/SWDCLK link is in place for debug, I feel that this should be possible. At the PC end the PSoC Creator program would need to capture values and write them to a file so that I could analyse them later. I would limit execution to a few hundred loops, so the file would not get too large.
I have done this kind of thing with other programs in the past, but running on the PC itself, just by inserting a Write to File command at required places in the code. So I am wondering if something similar would be possible with an external microprocessor.
Does anyone have suggestions or ideas on this?
Or perhaps it's just not possible ?
Thank you for any advice. Ken.
Hi everyone,
Can I insert user code in the SCB SPI on the internal interrupt mode?
Like UDB UART can insert user code in the UART_INT.C
Thx
(My English is poor, thanks google translation)
Show LessHi everyone! I have a project about to micro sdcard. I want to communication psoc 4 and micro sdcard 4Gb use spi.
Please tell me?
Thank so much!
Show LessOk so I'm on the CY8CKIT-042 pioneer kit.
I have 5 output pins in the schematic set to Port0[4..0], and I have a Control Reg(toCpldController) connected to the pins. The http://www.cypress.com/?docID=49248 document shows that I shouldn't need it, but if I don't have it the project won't build.
They are set to strong drive, as the pin is connected to an input pin on a CPLD.
Trying to control the pins in software like this
toCpldController_Write(8u);
toCpldController_Write(0u);
Gives me a nice up then down pulse that is about 780~800ns long.
If I do
CY_SET_REG32(CYREG_PRT0_DR,8);
asm("nop");
CY_SET_REG32(CYREG_PRT0_DR,0);
I get a pulse for 20ns which seems impossibly short for a 48mhz cpu especially given a nop op, but then it holds low for 5~8us then start to glitch, as if it is floating. With the Controller methods above I don't see that happen.
What am I missing?
Show LessDear Sirs,
I'll be very grateful if you could review my schematic for the communication between the host uC and the BTLE module CYBLE-022001-00: I wasn't be able to find the related documentation while in a detailed AN for microchip BTLE module RN4020 I've found the necessary signal lines.
The purpose of the application is to communicate with a heart rate chest strap and a smartphone. I think to an UART communication between the host uC and the BTLE module.
Moreover I'd like to use 3 leds for connection status.
Thank you in advance
Andrea
Show LessHow do es the baseboard program the psoc 4 ble module? Which protocol does it use SPI or the UARt protocol .
What pins are allocated for the same and what IC is used for it ??
Show Less