PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I'm deep into the UDB and need to create a component with a dynamic PI aimed at PSoC5LP. I am creating the guts of the design in verilog by hand, but am using the Datapath Config Tool to setup the ALU instructions.
When creating the component I target the PSoC5LP rather than crating a generic design.
As a result the PI DYN bit in CFG15-14 is greyed out and I cannot invoke it.
Reading the following post:
Datapath ALU input from Parallel Input (not A0 or A1)
I see that there was an issue with PSoC5 that means dynamic PI does not work, but later comments suggest this is fixed in PSoC5LP. So I am presuming that the datapath tool is incorrectly under the impression that I want to use PSoC5 and not PSoC5LP.
I have some 'defines in my code that I assume defines which devices I am targetting:
'define CYDEV_CHIP_MEMBER_5A 3
'define CYDEV_CHIP_MEMBER_5B 2
'define CYDEV_CHIP_MEMBER_USED 2
More searching suggests that CYDEV_CHIP_MEMBER_5A = PSoC5 and CYDEV_CHIP_MEMBER_5B is PSoC5LP, and so it implies that the correct device is selected, but I can't find a description of how these should be defined, and random tweaking has not helped the situation.
Any guidance on how to get DYN PI for PSoC5LP enabled or pointers to the correct documentation would be much appreciated.
Regards
Zig
Show LessI am working with Psoc5 as a slave and Renesas controller(s7g2) as a master.
I am write the one byte data from master to slave sucessfully.
i am not able to to read the data from slave to master previous byte..
i am using the mode 1.
can anyone help me.......................
jayaramulu.T
Show LessHello Team,
For one of our project, we are using Cy8ckit-001 EVK Board and CY8C5868-LP035 module. We are using PSoC creator for generating API and developing firmware. While configuring CAN IP, we are confused with timing tab, which option to select for settings(BRP/Tseg1/Tseg2/SJW) for better performance. How will these settings affect CAN performance?
Please help us with selecting the good option which will give better CAN performance.
Thanks and Regards,
Abhishek Naik.
Show LessI want to know that what is the minimum sampling time using EOS option for SAR or Delta Sigma ADC for sampling rate of more than 250K, i am unable to find this info in the datasheet. Moreover, how much is the tolerance window for end of sampling time i.e. how much time variation every time end of smapling signal is generaed. i want to sample at exact time intervals. so i want to know the time difference/variations for same interval sampling.
Kindly also tell me what is the maximum slew rate of DAC in PSoc 5LP, how much is rise and fall time of DAC voltage appeared at output, i want to generate a square waveform at DAC output with minimum rise and fall time and higher output rate.
Show Lesshi team
i read the data from master but i am unable to write the read data,please find the below code.
please help me as soon as possible
/* ========================================
*
* Copyright YOUR COMPANY, THE YEAR
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* CONFIDENTIAL AND PROPRIETARY INFORMATION
* WHICH IS THE PROPERTY OF your company.
*
* ========================================
*/
#include "project.h"
#define BUFFER_SIZE (10u)
uint8 rxBuffer [BUFFER_SIZE];
uint8 txBuffer [BUFFER_SIZE];
int main(void)
{
uint8 i;
CyGlobalIntEnable; /* Enable global interrupts. */
SPIS_Start();
SPIS_WriteTxDataZero(0x00);
while(!(SPIS_ReadStatus() & SPIS_STS_TX_FIFO_EMPTY));
SPIS_WriteTxData(rxBuffer);
while(!(SPIS_ReadStatus() & SPIS_STS_TX_FIFO_EMPTY));
LCD_Start();
while(0u == (SPIS_ReadTxStatus() & SPIS_STS_SPI_DONE))
{
}
for(i=0u; i<BUFFER_SIZE; i++)
{
rxBuffer = SPIS_ReadRxData();
LCD_Position(1u,0u);
LCD_PrintHexUint8(rxBuffer);
}
//SPIS_WriteTxData(0x13);
for(;;)
{
/* Place your application code here. */
}
}
/* [] END OF FILE */
Show LessHi All,
I hope to know how to create a special component that isn't listed on the cypress component catalog. I think it should include building libraries, drivers and so on.
Thanks in advance.
Jim
Show LessI tried to change the amplitude of the sine signal using the WaveDac8_setvalue API (uint8), this does not work, I tried a solution that I found on the Internet with a strobe record, but it did not work.
How can I change the amplitude of the sine signal generated by the WaveDAC module?
Thank you
Show LessHello Team,
For one of our project, we are using Cy8ckit-001 EVK Board and CY8C5868-LP035 module. We are using PSoC creator for generating API and developing firmware. We need around 4Gpio for controlling external LED. Following are I steps I followed for Gpio programming.
1> I dragged and dropped Digital output pin from the catalogue to TopDesign.cysch.
2> Opened Configure tab and did following configuration.
3> Opened pin assignment tab and assigned the pin number to all 4 pins.
4>Finally, Build my project.
But API for digital output pins(Pin_Read, Pin_Write, Pin_ReadDataReg, Pin_SetDriveMode, Pin_SetInterruptMode, Pin_ClearInterrupt) are not created, the only file by name LED_aliases.h is created. PFA of LED_aliases.h file. Now how can I pull gpio high and low?
Show LessHello Team,
For one of our project, we are using Cy8ckit-001 EVK Board and CY8C5868-LP035 module. This is the first time I am working on CAN Protocol. So we went through all available documents(CAN IP datasheet, AN52701, ) and video. Now we have some doubts with respect to can module in PSoC device( I am sorry if they are silly questions).
Whenever Rx node on CAN Bus receives a CAN frame and determines that there is an error(Form error, Stuff error, CRC error) in the received frame. He generates Error Frame so that Tx node will resend the frame. So will CAN controller in PSoC will send error frame or Firmware running on PSoC has to be written in such a way that when the received interrupt is generated Rx node will generate and write error frame on to the bus?
Similarly, Tx node will write a CAN frame to the CAN Bus. But he will not receive any ack or an error(Ack error, bit error) occurs. So he will resend CAN Frame. But CAN controller in PSoC will resend or Firmware running on PSoC has to be written in such a way that whenever the Txed interrupt is generated ISR will resend the frame on to the bus?
Can you suggest us any other documents that useful for programming CAN module.
Thanks and Regards,
Abhishek Naik.
Show LessHI,
I have been working cy8c28542 from past 7 month. it has 16 KB flash memory. it is enough till now but now i want to upgrade my device with some new feature but i cant find any ic on this series with 32 kb flash.
my reason for choosing this ic is Idac for accurate current source. i cant choose other one.
and second thing i have attached in picture. i cant find this analog column input select with 4 quantity in any other device
kindly guide me. which ic is better for me??
Show Less