PSoC™ 5, 3 & 1 Forum Discussions
I found CY8C5488LTI-LP093 is obsolete. Is CY8C5688LTI-LP086 a direct replacement? Is all I have to do to regenerate downloadable HEX file with the same project with a new microcontroller pointed?
Show LessHi,
I designed my own board using a CY8C5287AXI-LP095 100 pin TQFP but am having problems using the programmer from an 059 kit to program it with a hello world type program. It doesnt respond.
I discovered (after powering it !!!) that I had left off the 5V connection to VDDA. Is this likely to cause irreparable damage?
Also pins 57-62 are marked as NC. Are they electrically isolated internally, or used for internal testing, as I used some of them to extend my ground plane under the chip, and could this explain my problems.
I'm not aware of any other deliberate mistakes Ive made, but does anybody have any further ideas why it might not program?
Thanks
Stevewidg
Show LessI have a project, about to make major changes so I copied it, created a new (empty) project, pasted the old project in there and renamed it.
When I build (made no code changes yet) I get this error:
Build error: cannot find -lemWin_nosnts_cm3_gcc
No pointer to where the error might be.
Can anyone help with this one?
My project is attached.
Show Lesshello, i want to bootload the psoc5lp from esp32 using SPI, for that i have implemented HOST in esp32 as like psoc5lp and target is psoc5lp,also i have followed the application note and example code given by cypress
now i want to know does it possible to implement in ESP32?
Show LessHello,
I'd like to use the UART+DMA to talk to a coriolis sensor via modbus.
All things are work okay, but sometimes after 1-3 minutes I lost one byte of the answer.
Every 100ms a measurement value is querried from the sensor. The answer of the senser should be 37 bytes long.
With the help of an RS485-USB adapter I control the response of the sensor. There you can always see all 37 characters. In the input buffer (MB_inbuffer), which is filled by UART via DMA, there are sometimes only 36 characters!
Additionally the data stream was analyzed by an oscilloscope and no (big) deviations were detected. The sensor transmits with 38661 baud (according osci) and the measured (checked on HSO_0 pin) clk frequency of the UART divded by 8 result in 38460baud. So there is a 0.5% deviation between this two frequencys, which should be okay.
Therefore I cannot explain the missing byte.
Mostly a 00 byte is missing if several are sent in series. (but not always)
USB-Adapter:
01 03 20 47 7D 3C 8A 00 00 00 00 74 BF 41 C8 00 00 00 00 00 00 7F A0 00 00 7F A0 00 00 00 00 00 00 00 00 9A 6B
PSOC-Inputbuffer variable:
01 03 20 47 7D 3C 8A 00 00 00 00 74 BF 41 C8 00 00 00 00 00 00 7F A0 00 00 7F A0 00 00 00 00 00 00 00 9A 6B
In this case on the oscilloskop there is no deviation in the byte length of this 8 '00'-bytes. All 8 bytes are identical. So I have no clue why in the input buffer one is missing...
the dma is initialized with the following code:
For each query following code is used:
char send_modbus(T_MODBUS *p)
{
RS485_OUT; //macro to set sending pin on RS485 transceiver
CyDmaChDisable(dma_Coriolis_RX_ChannelHandle);
CyDmaClearPendingDrq(dma_Coriolis_RX_ChannelHandle);
CyDmaTdSetConfiguration(dma_Coriolis_RX_ChannelHandle_TD, p->count_rec, CY_DMA_DISABLE_TD, dma_Coriolis_RX__TD_TERMOUT_EN | TD_INC_DST_ADR );
CyDmaChEnable(dma_Coriolis_RX_ChannelHandle, 1u);
CyDmaChDisable(dma_Coriolis_TX_ChannelHandle);
CyDmaTdSetConfiguration(dma_Coriolis_TX_ChannelHandle_TD, p->count_send, CY_DMA_DISABLE_TD, dma_Coriolis_TX__TD_TERMOUT_EN | TD_INC_SRC_ADR );
CyDmaTdSetAddress(dma_Coriolis_TX_ChannelHandle_TD, LO16((uint32_t)&(*p->message)), LO16((uint32)UART_Coriolis_TXDATA_PTR));
CyDmaChEnable(dma_Coriolis_TX_ChannelHandle, 1u);
}
*p is a pointer to the send/receive structure.
p-> count_rec is 37 for a normal measurement query.
Is there something wrong with the DMA configuration?
Thx,
Stefan
Show LessHello,
I have issue with UART block. (Is new knowledge of my previous question regarding UART+ DMA. Now I have been able to isolate the error on the UART.)
Dependend if a debug pin is connected on RX ISR line, the UART works correctly or lost after some minutes a byte!
(sometimes 30sec. after startup, but no longer than 3minutes)
On UART there are every 100ms 37bytes are received.
PSOC UART: Master_CLK:20Mhz / 65 = 307.692kHz / 8 = 38461 baud (measured on oscilloskop it looks like 38480 baud)
The queried sensor has a meassured (on oscilloskop) baud rate of 38661 baud. (so no more then ca. 0.7% deviation between this two involved clocks)
Working configuration (runs 24h without byte failure):
Non working configuration (only the HW connection of Pin P1_7 is removed):
In both configurations the timing report does not report an error. So from compiler point of view both should working. But the second one has an issue because of other partitioning of UDB/PLD. (in the .rpt file there are changed things shown)
For me this looks like a malfunction of the UART, but how can I get support in this case?
Unfortunately, I can't provide a simple project to show this behaviour. The whole project I do not want to post publicly in the forum. (In addition the sensor which is queried by UART is needed)
Does anybody has a clue what could I do? (as far I saw on web page there is no support case anymore only community....)
Show LessHi,
We are using fixed function I2C component of PSoC5LP.
Therefore, Datasheet (v3.50) p.36 has the following description.
/***********************************************************************************/
Fixed-function implementation does not support undefined bus conditions.
Avoid these conditions, or use the UDB-based implementation instead.
/***********************************************************************************/
We have the following questions:
1. When using fixed-function, is the Undefined state when the I2C bus transitions from High to Low?
2. If it becomes Undefined, will it be a bus busy error?
3. Is it possible to avoid bus busy errors by turning the I2C component off and then transitioning the bus to Low?
4. Is fixed-function block reset when returning from Hibernate / Sleep?
As a reason, it is assumed that BUS_CLK supplied to the fixed-function block stops once.
Regards,
Show Lesscan someone help in implementing a signal generator waveforms like sine , square, triangular , sawtooth using VDAC and UART in psoc 5lp . seti am struck at setting the frequency of waveform and how to vary fine and coarse frequency so that whatever the frequency entered through UART is generated and displayed on the Oscilloscope?
Show LessWe are designing a new product based on CY8CKIT-033A PSoC 3 MFI architecture.
Hereafter two questions:
1) On the Lightning Connectivity Board there's a MFi C11A Lightning Connector (J307), where to buy it? On the MFI.avnet are available C68H and C12H type, Could they replace the C11A?
2) In the next future Apple announce to migrate on USB-C connector: is CY8CKIT expected to upgrade to this new connector?
Thank you
Mario
Show LessHello
Please tell me about USB UART Driver.
I am using Windows 7 32bit.
Install "Microsoft Certified USB UART Driver"
I tried connecting the PSoC module and trying to update the driver from the device manager,an error is displayed, "Driver not found."
Is Windows 7 32 bits not supported?
There was no problem in running on Windows 7 64bit.
Show Less