PSoC™ 4 Forum Discussions
Hi everyone,
I like the PSoC software and I am considering using cypress components just because of it.
I wonder if there is a Psoc 4 or 5 with standard Bluetooth, or if there is a external component library I can import in the PSoC software?
If any of the above is feasible at the moment, could you tell me what would be a feasible approach to have a embedded device to have A2DP and SPP simultaneously?
Thank you for your time and advice,
Filipe
Show Lessbonjour tous le monde es possible de faire un switch case a l’intérieur d'un switch case ??
je travail sur un soft "commande d'une carte cypress psoc 4 a partir d'un port usb ou j'envoie des commande" donc quand je commande par exemple une fonction a l’intérieur de cette fonction je dois encore envoyer un autre code (sous commande) d'où l’intérêt d'un autre switch case
Show LessHello professionals,
I have a question on FOC sensorless Bldc control. Can anyone please tell me what do we need to change in the program or in the parameters if I want to get output of the motor with low speed and with high torque?
Thanks
Show LessHello
I read the return value of SCB_I2CMasterStatus() after executing SCB_I2CMasterReadBuf(). The value is infinitely 0x04, SCB_I2C_MSTAT_XFER_INP. Its mean are "Transfer in progress". It seems that Slave returns Nak.
So even if I try to send next transaction by SCB_I2CMasterWriteBuf(), I2C does not work anything.
Do you think why this is happned?
Thanks.
Show LessHi everyone,
I'm going to implement the pairing of my cypress device both on Android and iOS.
I had no problem on Android, there is an explicit method to call (createBond) and I was able to handle it.
Unfortunately, it's a little problematic on iOS, I'm not able to find any API method in objective C which allows me to request the pairing/bonding.
I need a "just work" pairing, no pin or OOB security checks.
I've downloaded the example source code of CySmart from here but I wasn't able to find anything about pairing, except for some constant.
Someone could help me?
Thanks in advance!!
ps: I hope this is the correct section
Show LessHi,
I am using the CY8CKIT-049-42XX prototype board for my experiments. I am trying to interface a I2C based EEPROM 24LC256 to the board. The SDA pin of the EEPROM is connected to P0[5] pin of the board (also configured as SDA) and the SCL pin of EEPROM to P0[4] pin on the board. The bus lines (SDA and SCL) are pulled up via 3.3K resistors.
I use the following code in the main.c file to read a byte in the EEPROM
void ReadExtEEPROM(uint32 SlaveAddress,uint32 MemAddress){
uint8 ret=0;
I2C_I2CMasterClearStatus();
I2C_I2CMasterSendStart(SlaveAddress,0);
I2C_I2CMasterWriteByte(MemAddress>>8);
I2C_I2CMasterWriteByte(MemAddress);
I2C_I2CMasterSendRestart(SlaveAddress,1);
ret=I2C_I2CMasterReadByte(0);
return (ret);
}
void WriteExtEEPROM(uint32 SlaveAddress,uint32 MemAddress,uint8 MemData){
I2C_I2CMasterSendStart(SlaveAddress,0);
I2C_I2CMasterWriteByte(MemAddress>>8);
I2C_I2CMasterWriteByte(MemAddress);
I2C_I2CMasterWriteByte(MemData);
I2C_I2CMasterSendStop();
}
The problem is I can read the byte correctly for the first time (after power up) after which the reads always return 0. The address to which I read has be written previously (using the above WriteExtEEPROM) with a known value. So I know what value is expected..
Please help...
Thanks
a
Show LessHi guys!
How is the best possible configuration for IDAC (7 or 8 bits) and gain in PSOC-4M, in order to maximize transition speed, considering that manual just mention max 10us? If I consider an external opamp instead of a simple resistor, it may affect the performance of the IDAC?
Thanks!!
Bordi
Show LessHi all. I'm new on cypress PSOC. I'm from PIC24 and PIC32 and i no understand the logic of cypress documents and components.
I'm bought a kit for PSOC 4 BLE, and later, i saw those dongles: CY5677 and CY5670. The schematics and PSOCs on those dongles are the same, but one say BLE 4.2 and the other BLE 4.1. Can i actualice the CY5670 to 4.2 BLE?
Thanks
Show LessI was looking through the ble docs and there does not seem to be an API call to set CYBLE_SCANNING_CUSTOM. How do i go about modifying the scan time for BLE?
Much Thanks,
Nick
Show LessI want to drive my speaker which needs atleast 17 mA current with 2.7V as in input.
but i dont know what is the maximum drive current of a normal output pin of PSoC4200 BLE board.
Can u suggest?
Show Less