PSoC™ 4 Forum Discussions
On a PSOC 4000s, 2 x SCBs are available. However I have a need for 3 x UART bi-directional interfaces. SCB1 is mappable to 2 different ports (P0, P3), SCB0 to a single port (P4).
Is it possible, during run-time in an application, to multiplex SCB1 between P0 and P3? I'm thinking build/synthesis only allows a fixed SCB-to-port mapping, but that would make a world of difference if this can be dynamic!
If not possible, I'm open to alternate approaches. UART is not a requirement, slow baud rade is okay (e.g. 9600) but flash memory is tight. SW UART component is Tx only. I feel writing my own Rx or protocol would be a time sink.
Thanks!
Show LessI work with a CY8C4248BZI-L489 (PSoC 4200L) with the following top design:
- SCB block configured as I2C (Mode Master, Data rate 50, Slew Rate Fast)
- I2C_SCL assigned to Pin 12.0
- I2C_SDA assigned to Pin 12.1
- Both lines are pulled-up with external resistors (1.5k) to 1.8V
I found out that I cannot use the I2C with this setup as it expects a bus voltage of 3.3V (default). Is this correct? At least I2CM_scl_Read() returns 0 although it should be pulled-up.
Then I tried to change the bus voltage to 1.8V in the I2CM block settings. The docs say (top of page 21 SCB datasheet) that it's possible only with slew rate set to I2C FM+ and a data rate above 400. So I changed the data rate to 1000 and the slew rate to I2C FM+. It allowed me to set the bus voltage to 1.8V. The fitter then returns an error complaining that Pins 12.0 and 12.1 do not support OVTIO.
The pins are fixed - I cannot relocate them at the moment. I guess pulling-up to 3.3V would work but are there any solutions to using 1.8V?
Many thanks in advance.
Show LessHi,
- Is there a ready made template project for making a CY8CKIT-046 shield?
basically just position and port-names for utilizing all the IO headers
- Does anyone happen to have converted the ev-kit project (CY8CKIT-046) .brd and .dsn files into Altium format?
- Finally, is there a .xls or file somewhere handy that outlines which GPIO's that are "free" on the kit, i.e. not tied to other IC's or parts.
Show LessHi, I've developed an application using the CY5671 PROC BLE MODULE, using the Pionner kit, it works withthe FindMe profile and also sends notifications for the battery value. It was tested with a mobile app and they are both working. After testing it I have changed the target to the CYBLE-022001-00 (using the Project/Device Selector) and changed the pins used (the application is using 3 output pins and one ADC input pin), in order to match the hardware design using the CYBLE-022001-00. I have currently no access to the CYBLE-022001-00, because the test is being done elsewhere, but I have been informed that they were able to see some advertising messages but they try to connect to the device and it fails, and also observe a strange behavior in the power supply, it is regulated to 4.2V, and with the software I sent it drops to 3.8V, but keeps at 4.2 with other firmware. My initial suspicion was that I might be using wrong pins (especially output pins) that could be causing some short circuit, but this isn't the case, we are only using 4 pins that have been confirmed...
Any idea of what could be the problem? Any particular care when migrating working code from the CY5671 module to the CYBLE-022001-00 module?
Best regards
Fernando
Show LessHi,
I'm using EZ-Serial in binary mode and I'm unable to set the Device Name (it works flawlessly in Text Mode using "SDN,N=TEST"). My packet looks like this:
0xc0 0x04 0x04 0x0f 'T' 'E' 'S' 'T'
and, of course, the checksum. What am I doing wrong here?
Thanks,
Andreas
Show LessHi,
I would like to know what's the cheapest PSoC4 device with CAN support, so far i know 4200 doesn't have CAN, i guess 4000 doesn't have it neither. I know 4200M do have CAN support.
Tha purpose of this is develop a CAN node for learning purposes, so i will try to keep it as "cheap" as possible for ~5 prototypes.
Thanks in advance
Carlos
Show LessHi,
I am using cyble-224110 as node 1 which i the master/main node. I have 4 different cyble-224110 module which will send the data to node 1. I thought about how I can realize this. I am confused how can I proceed.
Node 1 will be connected to PC via UART. And by command I can ask for data from one or two or all other ble module.
Should I made node 1 as Central and then others as peripherals? or something else?
How can I proceed?
Can anyone give me a brief idea?
Thanks
Show LessI am new to PSoC 4. I have the CY8CKIT-042-BLE pioneer kit. I literally just took it out of the box about two hours ago.
I tried to create and download a project in PSoC Creator. The download failed because of a firmware mismatch. So I ran PSoC programmer. Sure enough, it says I need to update the firmware. So, I clicked on "Update Firmware" as ordered. I get the following error message:
" | FAILED! Can not initialize Bootloader. Please replug KitProg device."
I do not know what to do from here.
Show LessHello
I have a custom CYBLE-022001 board with a piezo beeper (see attached portion of the schematic)
What do I need to do in PSoC creator to turn it on and off?
Thank you
Show Less