PSoC™ 4 Forum Discussions
Miniprog4 encountered an error while upgrading firmware, causing the device's indicator light to not light up when connecting TypeC to TypeA cable
Show LessAPP_CY8CKIT-041S-MAX, 已经创建工程,怎样选择另外一颗mcu.
Can the component description for a PSoC 4 IDAC be used in conjunction with PDL and Middleware libraries in ModusToolbox to guide a person through an IDAC design?
The Creator based IDAC component for PSoC 4 is @ https://www.infineon.com/cms/en/design-support/tools/sdk/psoc-software/psoc-4-components/psoc-4-current-digital-to-analog-converter-idac7-1.0/#!designsupport
IDAC support in ModusToolbox
- PDL - Peripheral Driver Library
- idacA ß stores the CSD IDACA register value
- idacB ß stores the CSD IDACB register value
- IDAC, USBPD IDAC Control driver
- HAL – Hardware Abstraction Layer
- Nothing related to IDAC
- CAPSENSE Middleware Library 3.0.1
- idacComp
- iDacGain
- idacGainIndex
- idacGainIndexVal
- idacGeainTable
- iDacMod
- idacModVal
Reference similar Community Posts:
- “How to add components in Modustoolbox like PSoC Creator?” @ https://community.infineon.com/t5/PSoC-6-SDK/How-to-add-components-in-Modustoolbox-like-PSoC-Creator/td-p/360370
- “Seeking Ideas -- PSoC Creator Project to ModusToolbox Project importing/conversion” @ https://community.infineon.com/t5/ModusToolbox-General/Seeking-Ideas-PSoC-Creator-Project-to-ModusToolbox-Project-importing-conversion/td-p/217812
Hello,
I’m looking for a device programmer for Cypress CYAT71658-56LWS41 Microcontroller, and I see that you have CY8CKIT-005 MiniProg4 Program and Debug Kit can flash this Micro.
What I need is Programmer for this Microcontroller for a serial automotive production line.
Could you please give me more information if you can provide this kind of product
Thank you so much in advance
Show LessDear Sirs and Madams,
The PSoC4S Plus clock is driven by ECO.
We are having an issue where PSoC4S stops working at low temperatures.
After reviewing the ECO parameters, the problem was resolved by changing the GTRIM register.
When GTRIM is 0x01, PSoC4S stops working at low temperature, but changing it to 0x00 solves the problem.
Can you tell us what kind of problems occur inside PSoC4S when the gm value set by GTRIM is too high?
We recognize that gm is generally of the form
I'm guessing that if the gm is high, it's latching up due to the increased current inside the PSoC4S.
Is this consideration correct?
As I am asking at the following URL, the setting result by the GUI of PSoC Creator was wrong, so it works at low temperature.
Regards,
Show LessHi, All
I got error message 'failed to send packet (Batch) in SWD mode" in the PSoc Programmer with miniprog4.
PSoc Programmer version : 3.29.1
MiniProg4 F/w version 2.21.1005
I don't know why this problem occurred.
please if any idea, let me know.
PS.
also miniprog3 works fine on same environment.
Thanks.
Program Finished at 오후 12:35:32 |
| FAILED! Failed to send packet (batch) in SWD mode
| Programming of Flash Starting...
| Erase Succeeded
Device set to CY8C4025LQS-S411 at 오후 12:35:31 | 32768 FLASH bytes
Device Family set to CY8C40xx-S at 오후 12:35:31 |
| Automatically Detected Device: CY8C4025LQS-S411
| Silicon: 19C7, Family: A9, Major/Minor Rev: BA
Program Requested at 오후 12:35:30 |
Successfully Connected to MiniProg4 (CMSIS-DAP/BULK/120F071D03201400) at 오후 12:33:34 | MiniProg4. CMSIS-DAP Version 2.0.0. Firmware Version 2.21.1005. Hardware Id 05.
Show Less
After the power of the device is cut off, it stops all the activities of the processor and performs the eeprom writing process.
I read the hex inside the processor after I do the write operation and very kindly, ff is written to all bytes.
I am writing 16 data in total. What could be the source of this problem? Why do I get this error?
Can you help me?
Thanks
Show Less
CY8C4024LQI-S411 with Capsense as the only additional feature as I could notice from the Ordering info replace CY8C4024LQI-S401 ?
CY8C4024LQI-S411 is available from ready stock. Hence the query. Please advise
Product details with features comparison shared below for ready reference.
Show Less
Hello everyone,
I am using Cypress Cy8C5888LTI-LP097 micro-controller. I want to send AT commands from this micro-controller to Rak3172 lora module through UART communication protocol. I have return a code, to send the AT commands, and I am checking the response of the lora module. But, on the recieveing side, I am facing problem, The UART_GetRxBufferSize() function in UART lirbrary, it is returning the size zero. Below, I am attaching the code and Top design.
I am trying, like, if I send "AT+ATM\r\n" command to Lora module, I am expecting response as \r\nOK\r\n, So once I recieve this responce I want to turn on the LED.
#include "project.h"
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#define UART_BUFFER_SIZE 256
char uartBuffer[UART_BUFFER_SIZE];
// Function to send an AT command over UART
void sendATCommand(const char* command)
{
UART_PutString(command);
UART_PutString("\r\n");
}
// Function to receive data from UART
void receiveUARTData()
{
uint8_t byte;
uint16_t index = 0;
while (UART_GetRxBufferSize() > 0 && index < UART_BUFFER_SIZE - 1)
{
byte = UART_GetByte();
uartBuffer[index++] = (char)byte;
}
uartBuffer[index] = '\0'; // Null-terminate the received data
}
// Function to check if a specific response is received
bool checkResponse(const char* response)
{
return (strstr(uartBuffer, response) != NULL);
}
// Function to wait for a specific response with the specified timeout
bool waitForResponse(const char* response, uint32_t timeout)
{
uint32_t startTime = CySysTickGetValue();
while (true)
{
if (UART_GetRxBufferSize() > 0)
{
receiveUARTData();
if (strstr(uartBuffer, response))
{
return true;
}
}
if ((CySysTickGetValue() - startTime) > timeout)
{
return false; // Timeout occurred
}
}
}
int main(void)
{
__enable_irq(); // Enable global interrupts
CyGlobalIntEnable; /* Enable global interrupts. */
UART_Start();
// Send AT command
sendATCommand("AT+ATM");
while (1)
{
if (waitForResponse("\r\nOK\r\n", 1000))
{
// Handle "OK" response
// Do something here when "OK" is received
Pin_1_Write(1u);
break; // Exit the loop and move to the next step or state
}
else
{
// Handle timeout
// Do something here when the response times out
Pin_1_Write(0u);
break; // Exit the loop and move to error handling or next step
}
}
}
Can anyone Please help me?
Thanks in advance!
Show LessHi
I am using cy8ckit-042 and cy8ckit-022 for testing, and I would like to ask how the following code implements reading values from eeprom. I did not see any assignment or eeprom operations on this array.
Show Less