PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
How many Current Consumption of PSoC4 4200 BLE chip?(I think using CY8C4248FNI-BL553)
By data sheet, I know active mode current is 1.7mA(3MHz),
but I want know current @ M0 Core running Max Frequency 48MHz.
I want total (max) current consumption(BT + M0 + Programmable block), and I can't find 'M0' current.
->where should I read?
->Any one measure real device? Please teach me the reference value?
Thank you.
Show Less
Hi,
i'm trying to implement OTA on our custom PCB.
We are using the S25FL116K non-volatile flash over the SPI.
I've modified the example project "external memory bootloader and bootloadable" by re-implementing the following functions:
EMI_Start()
EMI_writeData()
EMI_ReadData()
but i can't understand the purpose of the EMI_setPointer() function.
It appears that it is writing the dataAddr variable to a location where this data already resides.
Also the maximum page write for the flash is 256, but in the WriteData function, two bytes are appended to the start of the array which would push this above the maximum.
Some help would be appreciated on how this should be changed.
kind regards,
Damian
Hi Everyone,
When I'm trying to connect my device with Cysmart either in android or IOS, I'm getting disconnected frequently.
In android getting the msg Bluetooth Disconnected, whereas in IOS I'm getting "Connection Timed out unexpectedly".
How to achieve consistency in connectivity and what are the parameters which are affecting the connectivity.
Regards,
Jatin
Show LessI'm using the PSoC pioneer kit as both central and peripheral. I have been detecting the presence of various advertising devices(mobile phones) when the kit is in Central mode. I'm reading the address of the peripheral devices (mobile phones) to distinguish them and store their instances (presence). But each time the address generated by the phones are different so i'm unable to hard-code the addresses in the PSoC. Secondly, how can i read the advertisment packet received at the PSoC which is sent by the phones (peripheral) ? Do I have to make any custom service to read the advertisment packet?
Show LessI working on program to send text message using a NEOWAY M50E modem and PSoC4. When i test run my code it works perfectly, but when i connect the modem to PSoC4, the controller doesnt receive its input asin no message is sent to the mcu. The modem is working properly cos i sent AT command to it using HTERM n it works properly. What i feel is the problem is that problem the modem is receiving or understanding its signal....
What can i do please?
Show LessHi there,
I've been (slowly) making progress on reading and writing between the CY5674 module and a Raspberry Pi 3B. I'm able to read the PRoC buffer fine, but no matter what I do I can't get the Pi to write to the PRoC module.
I'm using the python smbus library, and I've tried all of these commands with no luck (my slave address is 0x2D with a 3 byte buffer):
- write_byte(int addr,char val)
- write_byte_data(int addr,char cmd,char val)
- write_word_data(int addr,char cmd,int val)
- write_block_data(int addr,char cmd,long vals[])
- write_i2c_block_data(int addr,char cmd,long vals[])
I'm using 0 for cmd. The single byte commands don't return an error, but don't write anything predictable.
The block commands give me an error 121 (remote i/o error).
After some research, this 3 year old post noted a problem with repeated start and Rpi:
The last comment gives a solution for explicitly turning on repeated start support, but this is for the bcm2708 which is deprecated. The Pi I'm using is brand new and has a bcm2835, for which I can't ind any parameter settings.
Does anyone have experience with this, or have any ideas to point me in the right direction? Help would be greatly appreciated.
Thanks!
Show LessHi,
I am using on my project the CY8C4247LQI-BL483 chip, and the I2C real-time clock DS3231.
Well, The DS3231 has an integrated temperature- compensated crystal oscillator (TCXO) and I want to see the temperature using Tera Term.
On the desig, I put an I2C Master and the UART [V2.50].
I can read the temperature in the register using the debugger but I want to send this data to make it visual with the terminal and I don't know which function should I use.
Here is my code :
--------------------------------------------------------------
#include <project.h>
#include <stdio.h>
static uint32 SetDSAddress(uint8_t DSAddress)
{
uint32 Result;
Result = I2C_I2CMasterSendStart(DSAddress,I2C_I2C_WRITE_XFER_MODE);
Result = I2C_I2CMasterWriteByte((uint32)(DSAddress));
return Result;
}
//*******************MS***************************************************
int main(void)
{
//uint8 TEMPLSB = 0x12; LSB of Temp
uint8 TEMPMSB = 0x11; //MSB of Temp
uint8 DSAdd = 0x68; //DS3231 Address
uint8 Result; //Result
volatile uint32 opresult;
I2C_Start();
CyDelay(100);
UART_Start();
I2C_I2CMasterClearStatus();
UART_PutString( " Testing UART " ); //testing the transmission
while(1)
{
Result = I2C_I2CMasterSendStart(DSAdd,I2C_I2C_WRITE_XFER_MODE);
Result = I2C_I2CMasterWriteByte(TEMPMSB);
Result = I2C_I2CMasterSendRestart(DSAdd,I2C_I2C_READ_XFER_MODE);
opresult= I2C_I2CMasterReadByte(I2C_I2C_ACK_DATA);
UART_PutChar(I2C_I2C_ACK_DATA);
Result = I2C_I2CMasterSendStop();
CyDelay(100);
}
}
----------------------------------------------------
Thank you very much for your help!
M. SABAN
Hello Guys and Gals,
I'm wondering if theres a way to interface with an SD Card using SPI alone? There doesn't seem to be a nice way to do this in PSoC4.
Thanks in advance!
Show LessHi
Suddenly, I found CY8CKIT-042-BLE PIONNER BASEBOARDs LED2 is blinking,
and I could not connect to USB interface from windows PC.
What does this mean?
Best regards, Yoshizu
Show Less