PSoC™ 4 Forum Discussions
I'm going over some debug steps with a developer and we need to use the CySmart PC application. I have a CY5677 dongle. When I attach the dongle, it is listed as an unsupported device by CySmart. This is my first time using this tool.
I had previously used this dongle for other testing and have programmed it via PSOC Creator, PSOC programmer and via the header pins with a Miniprog4. I figured I'd left it in a bad state, so I:
1. Erased the flash via PSOC Programmer. This visibly changed the LED behavior, so I know the previous program I was testing isn't running.
2. Upgraded the unit's firmware. It was and is 2.21.
3. Attempted unplug voodoo based on web posts.
The unit seems to work fine with PSOC Programmer and Creator, so I'm not sure what check it's failing with CySmart.
Show LessHi there,
I recently evaluated the part CY8C4745AZI-S403 and got most of my needs working.
Unfortunately, I bumped in a limitation that I ran out of PWM pin, so I have to use a GPIO pin P1_4 of the CY8C4745AZI-S403 part but I cannot connect the GPIO pin directly from the PWM component. So I thought of the SmartIO, but it only allows me to user port 2 or 3 only.
Is there any help or suggestion how i can pass this PWM signal to P1_4 with all these limitation?
Please advise.
Thanks!
Show LessHi~
I'd like to know correct BLE version for CY8C4248LQI-BL453
In Datasheet , there is displayed as Bluetooth version 4.1
But I found Psoc4 BLE is certified as 5.1
Which one is correct?
Maybe they are not the same product. But I'm not sure.
Upgraded Declaration ID |
U047234
|
|
Existing Declaration ID | D024755 | |
Referenced Qualified Designs | ||
Company | Cypress Semiconductor Corporation | |
Listing Date | 2019-08-05 | |
Specification Name | 5.1 | |
Wi-Fi Certification ID |
QDID | 136808 | |
Qualification Assessment Date |
2019-08-12
|
|
TCRL Version | TCRL 2018-2 | |
Product Type | Component (Tested) | |
Combined Designs |
|
|
Design Name | CYBLE Link Layer | |
Design Model Number | PSOC4ABLE | |
Design Description | Bluetooth 5.1 compliant Link Layer. The component should be combined with CYBLE Host Component and CYBLE RF-PHY component. | |
Hardware Version Number | 1.0 | |
Software Version Number | 3.6.1 | |
Core Specification | 5.1 | |
Other References | ||
View ICS Details |
First, I just found out what ISR means. I did not create this program, and have little practical experience with interrupts.
I just took out the UART (datasheet), and in its place put the SCB (datasheet).
Now the main.c file has errors (and warnings) in this function:
CY_ISR(InterruptHandlerDMXIn)
{
// Read status, and clear interrupt
int status = UART_DMX_ReadRxStatus();
// Get location of pointer
ptrdiff_t ptrIndex = dmxReadPtr - DMXReadBuffer;
// Check for break
if(status & UART_DMX_RX_STS_BREAK)
{
// Reset pointer
dmxReadPtr = DMXReadBuffer;
// Update TX data
writeFlag = TRUE;
// Clear buffer
UART_DMX_ClearRxBuffer();
}
// If data ready, read data and write to next device with address skip
if(status & UART_DMX_RX_STS_FIFO_NOTEMPTY)
{
// if the pointer is smaller than the size of the DMX packet, process
if(ptrIndex < DMX_SIZE)
{
// Read data
*dmxReadPtr = UART_DMX_ReadRxData();
// Send the data to the next light when the pointer exceeds the address (first four bytes)
if(ptrIndex > 4)
{
UART_DMX_PutChar(*dmxReadPtr);
}
// Increment pointer
dmxReadPtr++;
}
else
{
// Clear buffer
UART_DMX_ClearRxBuffer();
}
}
}
- UART..ReadRxStatus();
- UART..RX_STS_Break
- UART..ClearRxBuffer();
- UART..RX_STS_FIFO_NOTEMPTY
- UART..ReadRxData();
- etc.
There are so many subfolders, I do not know how to go about changing the old program to accommodate the changed schematic blocks. Any pointers, and just general tutorials on how to understand what is going on in the main.c file?
(I can foresee me changing this whole program for a more recent IC.)
Show LessWhen putting finger on the slider Pioneer kit (the one with the slider) after following PSoC 101 lesson 13 there is no response at all. Does anybody have the hex output file so I can just program that and see if it works?
Show LessHi.
I am new with Psoc products and I create a simple project that read voltage from a pin (P0.5) with 10 bit ADC. The micro is CY8C4045LQI-S412.
main.c
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
ADC_1_Start();
while(ADC_1_IsBusy()!=ADC_1_STATUS_IDLE);
ADC_1_ISR_Start();
ADC_1_StartConvert(0);
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
for(;;)
{
/* Place your application code here. */
}
}
ADC_1_ISR.c
CY_ISR(ADC_1_ISR_Interrupt)
{ uint16 voltage;
#ifdef ADC_1_ISR_INTERRUPT_INTERRUPT_CALLBACK
ADC_1_ISR_Interrupt_InterruptCallback();
#endif /* ADC_1_ISR_INTERRUPT_INTERRUPT_CALLBACK */
/* Place your Interrupt code here. */
/* `#START ADC_1_ISR_Interrupt` */
while(ADC_1_IsBusy()!=ADC_1_STATUS_IDLE);
voltage=ADC_1_GetResult_mVolts(0);
ADC_1_ISR_ClearPending();
/* `#END` */
}
The ADC status remain in "converting" (0x40) in the while loop. And also... without while loop check, after clearpending the interrupt routine is invoked continuously.
Whitout interrupt, if I use ADC_1_ReadResult_mVolts or ADC_1_StartConvert + ADC_1_IsBusy + ADC_1_GetResult_mVolts, the voltage is read correctly.
What is the problem in the code above?
Thanks a lot.
Best regards
Show LessI have a working project built and successfully uploaded to a PSOC BLE dev unit. I can interact with it over BLE indicating it's working. I'm attempting to using a MiniProg4 and PSOC Programmer to flash an equivalent HEX file to the unit. All the device versions appear to be detected successfully but I see nothing over BLE indicting something is failing. What steps could I take to debug?
Show LessHi,
while I was working with Psoc Creator 4.4 the IDE closed itself and started an installation of Psoc Creator 4.4. Locked by itself. So I tried to Repair by Psoc installer. I see the message attached. Restarted PC and try to reinstall Psoc Creator 4.4: same message. I have rights of administrator. Whats happened?
Thanks for helps.
Show LessDear Sirs and Madams,
Please tell us about the contents described in the application note AN85951.
AN85951 - PSoC® 4 and PSoC® 6 MCU CapSense® Design Guide URL
https://www.cypress.com/file/46081/download
Section 7.4.2 contains the following :
"You should use flex circuits with thickness 0.01 inches (0.25 mm) or higher for CapSense."
What does the 0.01 inch shown in this sentence mean?
Is it the thickness of the flexible substrate?
Or is it the thickness of the copper foil on the flexible substrate?
We would like to know what 0.01 inch refers to.
Regards,
Show Less