PSoC™ 4 Forum Discussions
I have run out of ideas on why my SPI is not working, just will not function, I have tried so many ideas, none seems to work.
In the code attached, I am simply trying to read the ID register address 0x00 which should read 0x20, all I get is 0xFF. This device has an ID register, and the EE_READ_ID function is supposed to just read that value for now.
I could really use some help, any suggestions would be appreciated. I reviewed the SPI Master example and coded my SUBR ST_EE_PROM.C based on the instructions. I just do not see why it will not read the register.
Herb
Show LessIn the CYBLE_GAP_RESOLVING_DEVICE_INFO_T structure, there is the peer identity device address. The system need only resolve the peer resolving address with peer IRK. What is the identity device address use?
Show LessHello,
I would like to have Arduino send short commands to PSoC 042 BLE (like "start" , "sleep" etc) via SPI communication.
If someone has done something similar before, I would be extremely grateful if he could provide me with hints or some kind of guidance. Is there something particular I should be aware of?
The Arduino code is as simple as that:
#include <SPI.h>
void setup()
{
SPI.beginTransaction (SPISettings (4000000, MSBFIRST, SPI_MODE0)); // 4 MHz clock
}
void loop()
{
digitalWrite (SS, LOW); // assert Slave Select
for (const char * p = "Hello" ; c = *p; p++)
{
SPI.transfer (c);
}
digitalWrite (SS, HIGH); // de-assert Slave Select
delay(1500); // wait a bit before sending it again
}
For the PSoC part, I have used a SCB SPI Slave component and I have assigned the pins P0.0...P0.3.
How can I make the PSoC understand that the time has come to receive a message, and how to receive it?
Any thoughts, insights or hints are gratefully accepted.
Kind regards,
Nikos
Show LessI just design a pcb based on cyble10563 referenced CY5672 PROC remot controll. but it worked very well when the supply voltage is 1.8V, but the cyble10563 can not start whe the voltage regulator chip provides 3.3V. the chip are AP7333-18 and AP7333-33.
Show LessHi,
I've got an application firmware in CY8C4247FNI-BL483 which uses both BLE and I2C and sometimes I notice that the firmware "freezes" stopping his execution. Since I can't trace the cause for this problem, there are known issues concerning the contemporary usage of these components? Anyone has encountered the same issue?
Thank you,
Simone
Show LessHello,
I use a CY84247AZI-M485 for a LIN-Master application.
So I have some questions:
How can I set the LIN-Break Signal Lenght to 13 Bits?
How can I send a Break Signal?
How can I evaluate the Break Signal? if (LIN_INTR_RX_BREAK_DETECT) ... ?
// UART Name = LIN
CY_ISR(LINRxIsr)
{
uint8 rxStatus,errorStatus;
uint8 rxData;
if (LIN_GetInterruptCause()==LIN_INTR_CAUSE_RX) {
if (LIN_INTR_RX_BREAK_DETECT) {
}
}
int main(void)
{
LIN_SetCustomInterruptHandler(LINRxIsr);
CyGlobalIntEnable; // Enable global interrupts.
}
Regards,
Michael
Show LessI am considering the following BLE modules for development. My use case is I want the module to sense/scan identify the presence of another broadcaster module with a specific name/identifier. In case it does not identify one, then this one (the one currently scanning) should start broadcasting. To meet this requirement, I want to know if I can swap between BROADCASTER and OBSERVER during runtime.
In short, Scan for broadcaster -> If no broadcaster with specific name identified -> Start broadcasting. This is the algorithm.
Please guide. Thanks in advance.
Show Less