PSoC™ 4 Forum Discussions
On the Soic8 there is only one OUT and one nOUT,
as I want to provide pwm-half-sine on on pin first then switch it over to another pin to drive a h-bridge.
Can nOUT be selected though PSEL for OUT is not on?
I guess there is no option to not have nOUT inverted?, not a big deal as I just offset the sine-table to compensate for it.
I am following application note AN97060, and am getting lost when I get to the section on Linker Scripts, specifically for the section dealing with Fixed Stack OTA Bootloader (page 16). On Step 8, I create a folder LinkerScripts in my Loadable Version UART_to_BLE_Peripheral.
Step 9 says to access mk.bat through PSOC creator, and I see no suc file referenced. I can find it via Windows Explorer however and modified it as suggested in step 10.
In Step 11, I try to execute mk.bat, but get an error which states that LinkerScipts which I had created cannot be located.
Show Lesshow to realize those timing sequence from below figure?
I created an array, for debugging purposes, to fill with values from a function.
However, when I break the debugger, the array looks locked, and I can't see the values.
I can see other arrays, where I get a + symbol to expand the array to see the elements. why not this one?
I attached sample of what my array looks like, the one I can't expand is DebugArray[].
I'm using a PRoC CYBLE -022001-00 module, and PSoC creator 3.3 CP1
Any thoughts? Thanks
Show LessHalf a year after I built successfully a device with a Cy8CKIT-049-41xx I wanted to edit the code but the build failed saying:
Build error: address 0xc5fc of .\ARM_GCC_493\Debug\PSoC_STM_Modell Prototype.elf section `.text' is not within region `rom'
Build error: .\ARM_GCC_493\Debug\PSoC_STM_Modell Prototype.elf section `.eh_frame' will not fit in region `rom'
Build error: section .cyloadablemeta loaded at [00007fc0,00007fff] overlaps section .text loaded at [00006b80,0000c5fb]
Build error: region `rom' overflowed by 0 bytes
Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
All errors referred to the file C:\\...\PSoC_STM_Modell Prototype.cydsn\Generated_Source\PSoC4\cm0gcc.ld
(PSoC_STM_Modell Prototype is the name of the project)
The bootloadable component has the dependencies to the .hex and .elf files in the "ARM GCC 484" folder. While building the project, a folder with the name "ARM GCC 493" has been created. This new folder doesn't contain the .hex or .elf files. The dependencies in the bootloadable component didn't change.
Any idea where the elves are hiding?
Thanks a lot
Thomas
Hello,
I downloaded the USB-UART example project from 100 Projects in 100 Days, got it built and programmed my CY8CKIT-049-42xx board (using the guide that's attached). In the guide (section 5.4.2) it says when this example is running it should mirror any text I enter, so if I type "hello" it shows up as "hheelllloo", and it does, but for the original project in 100 Projects in 100 Days (http://www.element14.com/community/message/75846/l/psoc-4-pioneer-kit-community-project04--usb-uart-utility#75846) it also says pressing the reset button (or presumably unplugging it and replugging it into my USB port) should display the string "CY8CKIT-042 USB-UART" in the window. On my board it does not. This is troubling to me because I'd like to be able to use this sort of code to write print statements to Putty for debugging purposes. Why does it not display that string?
Show LessHi, I don't want to psoc automatically optimize my code, how should I do?
My code as following,
WORD GetMsCount()
{
WORD tmpCount;
do
{
tmpCount = msCount;
}
while(tmpCount != msCount);
return tmpCount;
}
Help! I'm not getting keypresses after reconnect.
Running the BLE_HID_Keyboard example works well once connected. Turning off Bluetooth on the host and turning it back on also reconnects and sends keys just fine.
But if I unplug power from the device, or I let it go into hibernate mode after Advertisement times out, and I then turn on Bluetooth on my host (both Windows and iPhone behave the same) it appears to connect (the FW says its connected and the host says connected), but no keypresses/data is sent. The only way to get it talking again is to remove device and add it back.
Is there some volatile information that needs to be saved for use upon reconnection? It should reconnect AND send keys.
Thanks in advance!
Show LessHello
My environment is PSoc Createor 3.3, CY8C4245LQI-483
I'm use TCPWM_P4_v1_10 component..
Setting :
Input frequency : 4Mhz, Period :20000, Compare : 3600.
Tehn, I guess output frequency is 200hz, duty side 900us.
But, It is not output duty as expected.
Could you give me advice about this issue?
Regards.
DG.
Show LessI made three PCB board for my custom design which use CY8C4247 as main CPU. But I entered into a dead loop error on a board, and the other two boards didn't have this problem. The three boards had the same firmware. With the oscilloscope, I found the "dead" board's power supply vary from 2.45 to 3.2v which my typical power supply is 2.8v, and the "good" boards' power supply vary from 2.78 to 3.01v. Is the power supply the reason of "dead loop"? How can I debug this problem?
Show Less