PSoC™ 4 Forum Discussions
Hello 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 LessHi,
I already created a small device with the red BLE module (CY8KIT-142-BLE) standalone (without the proto board) and connected the pins VDDD,VDDA and VDDR directly to my main 5V (USB) power supply. Just today I noticed a small note on the flyer which comes with the module, there it states "To apply power to the module, use the VDD pin and GND pin", additionaly on a picture of the module there are two connector holes on the bottom edge of the module which are bolded and described as VDD and GND?
What does it mean exactly? Do I need to use this method? My device is working already without this dedicated connector powered.
Another question is this. Powering the VDDD,VDDA and VDDR pins directly, do I need to apply the recommended (for the chip) 0.1 and 1 uF filtering capacitors or are they applied by the red module already?
Thx.
Hi everyone, i have BLE 012-011 Module.
I want to learn BLE communication system of Cypress.
I can send to data CySmart Application.
But i want to send data another Android Application.
Which configurations should i do at my Cypress code?
How to do handshake between Cypress Bluetooth Module and Android Application ?
Show Less