PSoC™ Creator & Designer Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I am working on multiple custom components, which have same property field (e.g. Display_Name). So in the "Types..." section of each component I have to declare same custom type "Display_Name_Type", which is quite tedious and strange, since it is same type, shared by many components.
On the other hand, the drop-in menu in Parameters Definition shows many pre-registered parameter types (e.g. AMux_AMuxType, etc.), which registered somewhere once and can be used for all components.
Q: How to declare a custom property type (e.g. "myTestType" ) and register it with Creator, so it would show up in the drop-down menu, and could be shared among multiple components?
/odissey1
Show Less
So I want to use UART to write code that program won't run until I type in a character in UART.
my code looks like this
for(;;)
{
while((UART_ReadRxStatus()& UART_RX_STS_FIFO_NOTEMPTY) ==0 )
{
data.command = UART_GetChar(); //put input character as command
}
while((UART_ReadRxStatus()& UART_RX_STS_FIFO_NOTEMPTY) ==0 )
{
data.size= UART_GetChar(); //put input character into size
}
}
and it is not working correctly after I type in first character. It never stuck in while loop after UART received first character
Show LessHi,
I would like to create an embedded mySQL client running on PSoC (PSoC 6, to be specific). I will connect to the Internet via a Ublox SARA module.
I've found a few Open Source mySQL connectors for Arduino, and these could be adapted, but I wonder if anyone has already done this for PSoC, or general 'C', especially if they've already done the glue to the UBLOX AT command set.
Thanks!
Larry
Show LessWill I need to have a special terminal to show the data I have in SPIS?
Hi,
We use PSoC Creator version 4.2 now.
We needed "Enable wakeup form Sleep Mode" feature.
So, I tried to assign pins using I2C(fixed),
Both P12[0:1] and P12[4:5] are listed as I2C[0].
I confirm for the PSoC 5LP data sheet,
P12[0:1] is I2C1
P12[4:5] is I2C0
I reported it because I think it is misdescription in PSoC Creator.
Regards,
Show LessI am working on a PSoC 5LP realted project, for a specific reason i need to use Miniprog3 to program/ debug the 5LP device. It was working fine before i replaced the device driver with libusb, now i am unable to use it because PSoC creator is not recognizing this device even after changing it.
I have attached few images of device manager how its visible in the system when its working and how its listed in the system when its not working, can any body please help me in resolving this issue.
One thing i observed from the below image is,
---> when its working its listed at Universal Serial Bus Controllers.
---> when its not working its listed at Universal Serial Bus Devices.
1. Device manager image when its working fine.
2.Device manager image when its Not working.
3. PSoC creator port recognition issue.
Show Less
The practice is: on same chip. I will send data from SPIM and read data back from SPIS.
I know SS line is controlled by SPIM, only when SPIM Tx FIFO NOT EMPTY, SS line will go low and allow transmission from SPIM to SPIS.
By default, it will force the SPIS "Interrupt on RX FIFO Not empty" to be on. After one byte is send from SPIM into SPIS RX FIFO , interrupt will be triggered, SPIS Rx will read data in Rx FIFO and move it into SPIS Rx Buffer, then SPIS Rx FIFO is empty now. All other processes are blocked during this interrupt.
My question is:
Now I am sending 10 bytes using SPIM_writeData(), I want slave to send back data starting from the 6th charater it receives in Rx Bxffer.
in the SPIS_Rx_Not_empty ISR, in /* User code required at end of ISR (Optional) */ section, if I add SPIS_Write_data ('a' ) in it, why I cannot send data back to master?
Simon
Show LessHello,
I am using PSOC creator for PSOC 5LP and I need to connect analog inputs to two components but I am getting errors from the compiler.
How do I overcome this?
Show Less我在 PSOC4.2 中编译时,遇到如下错误
arm-none-eabi-gcc.exe -mcpu=cortex-m0plus -mthumb -I.\include -I.\rt-thread\include -I.\rt-thread\components\finsh -I.\rt-thread\libcpu\arm\cortex-m4 -I. -IGenerated_Source\PSoC6 -IGenerated_Source\PSoC6\pdl\cmsis/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ip/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/crypto/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/device/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/efuse/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/flash/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/gpio/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ipc/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/lvd/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/profile/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/prot/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/scb/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysanalog/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysclk/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysint/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syslib/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syspm/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/systick/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/trigmux/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/wdt/ -IGenerated_Source\PSoC6\pdl\utilities/ -Wa,-alh=.\CortexM0p\ARM_GCC_541\Debug/cy_device.lst -g -D DEBUG -D CY_CORE_ID=0 -D CY_PSOC_CREATOR_USED=1 -D CY8C6247BZI_D54 -Wall -ffunction-sections -ffat-lto-objects -Og -c Generated_Source\PSoC6\pdl\drivers\peripheral\device\cy_device.c -o .\CortexM0p\ARM_GCC_541\Debug\cy_device.o
arm-none-eabi-gcc.exe -mcpu=cortex-m0plus -mthumb -I.\include -I.\rt-thread\include -I.\rt-thread\components\finsh -I.\rt-thread\libcpu\arm\cortex-m4 -I. -IGenerated_Source\PSoC6 -IGenerated_Source\PSoC6\pdl\cmsis/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ip/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/crypto/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/device/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/efuse/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/flash/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/gpio/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ipc/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/lvd/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/profile/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/prot/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/scb/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysanalog/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysclk/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysint/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syslib/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syspm/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/systick/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/trigmux/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/wdt/ -IGenerated_Source\PSoC6\pdl\utilities/ -Wa,-alh=.\CortexM0p\ARM_GCC_541\Debug/retarget.lst -g -D DEBUG -D CY_CORE_ID=0 -D CY_PSOC_CREATOR_USED=1 -D CY8C6247BZI_D54 -Wall -ffunction-sections -ffat-lto-objects -Og -c Generated_Source\PSoC6\pdl\utilities\retarget_io\retarget.c -o .\CortexM0p\ARM_GCC_541\Debug\retarget.o
arm-none-eabi-as.exe -mcpu=cortex-m0plus -mthumb -I. -IGenerated_Source\PSoC6 -IGenerated_Source\PSoC6\pdl\cmsis/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ip/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/crypto/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/device/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/efuse/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/flash/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/gpio/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ipc/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/lvd/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/profile/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/prot/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/scb/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysanalog/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysclk/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysint/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syslib/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syspm/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/systick/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/trigmux/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/wdt/ -IGenerated_Source\PSoC6\pdl\utilities/ -alh=.\CortexM0p\ARM_GCC_541\Debug/context_gcc.lst -g -W -o .\CortexM0p\ARM_GCC_541\Debug\context_gcc.o rt-thread\libcpu\arm\cortex-m4\context_gcc.S
rt-thread\libcpu\arm\cortex-m4\context_gcc.S: Assembler messages:
rt-thread\libcpu\arm\cortex-m4\context_gcc.S:110: Error: selected processor does not support `vstmdbeq r1!,{d8-d15}' in Thumb mode
rt-thread\libcpu\arm\cortex-m4\context_gcc.S:119: Error: thumb conditional instruction should be in IT block -- `moveq r4,#0x01'
rt-thread\libcpu\arm\cortex-m4\context_gcc.S:140: Error: selected processor does not support `vldmiane r1!,{d8-d15}' in Thumb mode
rt-thread\libcpu\arm\cortex-m4\context_gcc.S:148: Error: thumb conditional instruction should be in IT block -- `bicne lr,lr,#0x10'
The command 'arm-none-eabi-as.exe' failed with exit code '1'.
--------------- Build Failed: 06/17/2019 17:27:55 ---------------
请问如何解决?
Show LessOften when I save a project, sections of the .cysem file get re-arranged, even though they're identical content, which makes the revision control difficult to read:
Can PSoC Creator be improved to not do this? maybe sort these lines alphabetically?
(Also it would be best if there were no .cysch binary files at all, and everything were just stored as plain text, so changes from different branches could be merged.)
Show Less