PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Simple Test - Trying to send String data over UART to Raspberry Pi. On the PSoC side I can see the results of ...
UART_UartPutString("12345678901234567890123456789012");
CyDelay(1000);
... in putty connected to my virtual com port. My Pins are Rx: P1[4] Tx: P1[5]
Is it fair to say that if i can see the output in putty that from the PSoC side everything is good?
The connection to the Pi are just the two leads going from PSoC Tx to Pi Rx, and PSoc Rx to Pi Tx.
My concern is that my uart output is getting redirected to the virtual com port and not the pins.
Any help is appreciated.
Show LessI'm designing both sides, Server and Client, and want to setup the bonding similar to what's show in the 100 days Privacy example.
The issue I'm having trouble understanding is that neither device has numerical keys for authorization.
The way I would like to work around this is, internally on the Peripheral/Server side, I'll use a formula to create a key using internal data, and on the Central/Client side, I can use the same formula and advertisement or scanned response data to create the create key to bond.
I've looked at the Privacy example because it will be a one-to-one setup, so no other devices will need to be bonded.
How can I set this up to setup the link with little user interaction? An idea would be that once the Central scans the unbonded peripheral, an LED flashed and waits for a single button press on the Central to complete/confirm bonding with that peripheral.
Thank you in advance for any direction on this.
Show LessWe are evaluating using the PSOC in our motor application. The kit is quite nice and well built. We'd like to test higher current and the power supply is only 24v @ 2.1amp. The mosfets look pretty heavy duty and should handle a lot more current. Seems like fuse F2 is the limiting factor being 60V @ 2.5 amp. Would swapping this fuse be the only thing needed? Looking at the schematic F1 is unpopulated. I assume this is so you can buy a holder and put a bigger fuse in and remove the PCB fuse F2?
Also I'd like to ask about the design choices on this board. The mosfets are IRFU3607PBF which should handle 75V @ 56Amps. This is a pretty beefy choice for the 2.5amp fuse. Are there other mosfets that can be recommended? The problem with IRFU3607PBF seems to be it requires special mosfet drivers like the IR2101. These IR2101 mosfet drivers then require a 12v power supply which from LM5005MHX/NOPB seems to be a big portion of the overall component count.
Are there any mosfets with built in drivers that can handle around 10amps or drivers that don't require the extra 12v supply anyone can recommend?
Show LessHi,
I have a BLE low power application running on a PSoC 4. When you connect you can change various attributes and these values are stored in an I2C EEPROM. The initial handling of this is done in the BLE Callback. Then the applicationPower control is set to WAKEUP_DEEPSLEEP. And another global is set for the particular attribute. On return from the Callback the ManageApplicationPower() routine is called and if WAKEUP_DEEPSLEEP is set the I/O devices are awakened from sleep. And applicationPower is set to ACTIVE.
At this point a switch statement is entered looking the global for the particular attribute. Then the EEPROM write is set up. The I/O lines should be active and applicationPower is now ACTIVE. The EEPROM write is called and it uses SCB_I2CMasterWriteBuf() to ouput the value to EEPROM. The status from this is checked and should be SCB_I2C_MSTR_NO_ERROR and it is. But I have a scope on the I2C lines and most of the time there is NO I2C activity. But the status is always SCB_I2C_MSTR_NO_ERROR. Also I have placed a delay after the write of 1 second so the I2C is done before the applicationPower control is set back to DEEPSLEEP.
It is like the I2C is still turned off but stepping through SCB_I2CMasterWriteBuf() there are no errors.
Can you suggest any thing else to find out why there is no I2C activity.
Thank you
--jim schimpf
Show LessHi
Is it possible to locate a static const array to the start of a flash row (that is, to a 128 byte boundary)?
I'm using a PSoC4BLE (that doesn't support emulated EEPROM) and have a 1k byte array which I'd like to be in flash. If it was located over an exact number of rows that would make my life a little easier.
Show LessAccording to the Psoc 4 "Using GPIO Pins" document Ports 4 and higher (P4, P5, P6, P7, etc) cannot be used for routing through the DSI. To be used they must be directly controlled in firmware.
I don't see specifically how to do this, if I assign those pins in the topdesign window as a port of pins, then go to the pins assignment window, it complains that P5 (for example) can't be used for routed connections. That would suggest to me that using these windows to control the pins auto use the DSI to route the connections - so how then do I bypass this. I got the impression I have to use these windows so that the uC knows it can use those pins....
Can I just use the " GPIO_PRTx_DR " command to directly control those pins? (from the technical manual)
Show LessHELLO firends and colleagues
to start my own PSoC4M based Project ( CY8C4247AXI_M485) i need to have
a TQFP-64 (0.8mm pitch) part and landpattern for EAGLE 6.6.0 . (cadsoft)
can anyone help ? ( by converting the supplied CAD-files to EAGLE ?).
I only have 48-pin and 100-pin design (library) models of cypress chips.
.lbr file is preferred.
best regards
Markus
Show Lessi have psoc-4 (CY8C4245-482) stanlone ic.
i give external 5 volt between vdd and ground and i check voltage across vdd & ground pin with multimeter then it show only 2.6 volts.
And when i give 3.3 volts then it show only 1.051 volts .
why voltage is lower than given??i cant understand.
can anyone explain me.
Show LessI'm used to msp430 counters with set/reset or toggle settings.
But on proc-ble could this be done using just one tcpmw counter, or is two needed?
Or I should use one timmer-isr? and toggle the pins in software, as a stepper motor rpm is pretty low.
on a PSOC the OV & UN using up/down mode could been routed to flipflops, to create this 90deg signal?
Attached is the picture of counter wise stepping on in1 and in2 (ic is a LB1848MC)
Hello,
can someone tell me how from this kit + arduino
http://www.cypress.com/documentation/development-kitsboards/cy3280-mbr3-capsense-mbr3-evaluation-kit
I can have a final product which will look like for example:
http://www.nexwell.eu/sites/default/files/images/www-duze-ikonki.jpg
Should I look for a company which will produce front for development kit ?
thanks in advance
Show Less