PSoC™ 4 Forum Discussions
Hi Everyone,
I am currently trying to configure the PSoC 4100S to receive and transmit via CAN. However, I was not able to find any code example regarding this. Doing some digging I found that I am supposed to make the CAN libarries myself. I have written libraries to initialze and use the UART, ADC, PWM, etc and so I am confident i can flip bits in registers and what not but this is a new MCU to me and I have no idea where to start (What are the register names, etc.) I am currently reading over the TRM but would highly appreciate any advice. Thank you
Show LessI have successfully connected the Bluetooth Pioneer Kit CY8CKIT-42-BLE-A with the energy harvesting kit CYALKIT-E04 and was successfully able to implement the example of sending data from the beacon board, receiving it on the USB dongle and displaying it in a terminal program (Tera Term VT).
Now I want to extend that example and use the same setup to send data from the ambient light sensor on the sensor board available in the CYALKIT-E04 instead of the random data sent in the example. How do I do that?
I am very grateful for your advice. Thanks in advance.
Mariam
Show LessHello all,
Im using the miniprog4 programming a CY8C4248-L485 on a PCB i made with it partially populated. All hand soldered so briding is a possibility.
I just got my 4th board to program after ditching my first three which now i will go back to. I am curious as to why i had to make the Miniprog4 power at 2.5v for it to work. It seemed to short out at 5v and was able to detect the chip at 3.3v, but when i hit program it gave me the FF FF 13 A0 error. but at 2.5 v it worked just fine.
Also do i need a .1uf cap from xres to ground or a pull up resistor? The data sheet has a XRES DC Characteristic section and says Rpullup is about 5kohms, does this mean I need to install a 5kohm resistor or it has one internally?
Thanks for everyones time.
Show LessI add another note: to obtain the scope I need to know when transmission frame starts to trigger collision detection and there's no signal output from UART component.
Show LessHello,
I'm learning how to use CY8CKIT-044 kits according to PSoC101 training video.
(https://www.cypress.com/training/psoc-101-video-tutorial-series-how-use-arm-cortex-m0-based-psoc-4 )
I've got a problem in Leason 8:TCPWM.
The problem is that I succeed in configuring LED Red & Green with TCPWM components.
And also I have programmed my kits and proved them works well.
However, I failed to do the same configuration on LED Blue P6[5] and I get the errors as follows:
TCPWM.line cannot be reached from pin P6[5].
I'm confused with this error. Please,Is there anyone can help me?
Best regards,
HU
Show LessTo all,
I've upload to the Community code share forum a set of custom components that should ease the creation of Terminal user interfaces.
Terminal Support Component Library
Here is a list of the components in the library:
- Term - Terminal (UART) replacement that can be configured as UART or USBUART types for the PSoC5.
- String_Funcs - This is an enhancement of the GetString() function. It is easier to use.
- MenuCmds - This feature was included in the GetString demo code I shared earlier. It is now a component with some improvements.
Len
Show LessHi Cypress,
I am developing BLE sensors with CYBLE-212006-01 and using PSoC Creator 4.3, is there any document or online web to let me understand more about the APIs?
For example:
I would like to understanding the usage of start/stop advertising. It's hard for me to find any API doc about this.
I just Google and find below options:
1. Call CyBle_GappStartAdvertisement() or CyBle_GappStopAdvertisement()
2. Call CyBle_EnterDiscoveryMode() or CyBle_ExitDiscoveryMode()
But I want to know the difference or maybe one of the set is deprecated or not suggested for directly use it. Where can I get more details about the APIs?
Show LessHello everyone i am currently working on a project to read a RFID-Tag with the RFID-RC522 module. What i'm basically trying to do is to make a kind of verification system so that when a card with the right UID is scanned i can print a message "verified user" on a I2C lcd display.
The part of the display is completely working however i'm stuck on how i can do the reading part i know it's really easy with Arduino but i want it with my Psoc4. If someone made something similar or anyone that can help me would be very much appreciated.
I put my project in the attachments
Show LessNow I need to use modbus in psoc4, so I need to know how to use the serial port interrupt.It seems that I need to use the function CY_ISR(isr_1_Interrupt), but I'm not sure how to use other functions such as read Tx/Rx status/data and send data in this function.Another problem is the configuration about the UART unit. So could anyone talk about it? Or maybe a code example、helpful blog and other things about it. Thanks a lot
Show LessHi,
I am trying out "Mesh Flood Direct" example on PSoC 4 BLE 256Kb device. I got the example from github.
I modified the code and executed on CY8C4248LQI-BL583 module. When I assigned node address from CySmart windows application I got message like flash operation successful. But Device address didn't get change.
I have changed the following lines of code for 256KB device.
#define USER_SFLASH_ROW_SIZE (256u)
#define USER_SFLASH_ROWS (4u) /* Total number of user SFlash rows supported by the device */
#define USER_SFLASH_BASE_ADDRESS (0x0FFFF400u) /* Starting address of user SFlash row for 256KB PSoC 4 BLE device */
So, My question is about node address.
> Does device address changes if we assign node address or it just gets stored in SuperVisory Flash?
> Is Node address and BLE physical address(address while advertising) same?
> Can we change BLE physical address through application?
Please help me on this as soon as possible.
Thanks,
MKN
Show Less