PSoC™ 5, 3 & 1 Forum Discussions
[I cannot reply to https://community.cypress.com/t5/PSoC-5-3-1-MCU/We-were-unable-to-find-the-symbol-There-are-several-things-that/m-p/126258 from the old forum so I will create it again]
Often when I right-click a function name and select Go To Definition, it doesn't work. I get this error:
We were unable to find the symbol 'FunctionName. There are several things that can hinder symbol lookup:
- Make sure your project compiles without errors.
- Make sure your "Generated Source" has been generated (Build -> Generate Application).
- Make sure your .c files #include their corresponding header files.
The project compiles without errors, the Generated Source has been generated, and the .c files include the .h files which declare the function.
I don't understand why this works for some functions and not others.
I have to use Ctrl+Shift+F and search for the function definition manually.
Has anyone had this problem and figured it out?
For example, if I create a New Project, with the UART_Full_Duplex example, and build it, and then in main.c try to right-click on UART_PutString and Go To Definition, it produces this error. Is it a missing .h file or something?
How can I change the Delta Sigma ADC Buffer mode configuration during run time? I have different kind of sensors:
0-5V with the ADC buffer in "Bypass Buffer" mode
+/-15mv with the ADC buffer in "Level Shift" mode
The ADC_SelectConfiguration() should change the ADC configuration but not the buffer options. I also added a delay to let the change take place before to start the conversion (CyDelayUs(50);)
Is there anything I should add to select different configuration for my buffer?
Thank you and have a great day
Show Less
Hi
I encountered a problem while using AMUX to switch channel for 16 bit or higher resolution Delsig ADC.
I verify that in CY8CKIT-050 board and run the example project as below show, it can works as expected.
but when I change the ADC resolution to 16 bit, and input fixed voltage like half of power, the readout is abnormal of which jitter is serious, I think the Amux cause that, so I increase the delay time before start ADC to keep enough time after change channel, no matter what long I delay, the problem is still exist. I am confused about this problem.
I hope someone can help me solve this problem, thanks very much!
Best Regards,
Ekko
Show Less
I got the USBUART example working, but all that does is show up as a COM port and echo characters back to the computer. Is there a bridge example, so it shows up as a COM port, but passes the characters through to a hardware UART component, out of a hardware pin, and vice versa?
Show LessHi All,
I am trying to interface PSOC 5LP Prototyping Kit, with a 16x2 LCD (RG1602A) over Port P12 [6:0] and have made the corrections properly ( triple checked).
And made the DWR and pin assignment as well as Step 8 (main.c) as mentioned in: http://www.airsupplylab.com/psoc5-lp/17-psoc5-lesson-07-interfacing-character-lcd-display-module-with-psoc.html#for-cypress-cy8ckit-059-prototyping-kit
I have connected the LCD pins according to above article on P12[6:0] and programmed the PSOC.
But there are no characters displayed on the LCD, instead the first row is all black boxes as shown in the image below:
And i have searched and found out the following info from one of microchip forum: "One row of boxes at the top of a two line display almost always indicates either bad initialisation or a data or control wiring fault and is because the diisplay controller is still in its power up default of single line mode which needs a different contrast voltage to two line mode.
As the display section of the schematic looks sane, the problem is probably either the actual sequence used or its timing - either inter-command delays or setup and hold timing for strobing out each nibble."
Can you please help on what to do in this scenario and what could be the issue and how to resolve it?
Regards,
Yash
Show LessI'm trying to become more acquainted with DMA resources and API calls.
I'm looking to change a DMA channel TD after it was previously initialized.
I found the CyDmaTdGetConfiguration() and CyDmaTdGetAddress() functions in the API section of the datasheet.
I've tried some code with these functions but I basically get useless information.
Are there any examples of using these functions for changing the TD parameters?
Show LessIs there a socket made for this device? I would like to program the devices before they are placed on a board. I have an application that is so small there is no room for a header. This is the very small 48 pin package.
Show LessI am trying to get som random numbers from the PRS hardware.
But I get the same number every time.
How du I get different numbers ?
Ran1=PRS_Read();
Ran2=PRS_Read();
Ran3=PRS_Read();
Ran4=PRS_Read();
Ran5=PRS_Read()*256;
There is no PRS_Step() finction in Psoc_creator 4.4 as I can see.
Regards Erik
Show LessThis is a continuation of this thread: http://www.cypros.org/?app=forum&id=0&rID=89110 I was able to find an alternative means to work around the problem, but I have again run into this issue. I've tried all the suggestions in the thread, and nothing has worked. There seems to be confusion that I am getting faulty values... that isn't the issue. The issue is when using the ADC to read values after calling ADC_SelectConfiguration(), no values are returned *at all*. It actually gets caught up in the ADC_IsEndConversion(uint8 retMode) function in the ADC.c file. The ADC_DEC_SR_REG register never gets set to 1, and so, the function blocks until I quit the program. It works fine if I never call SelectConfiguration.
Can anyone help me figure out what's going on? I haven't been able to find this issue anywhere else on the forum.
Show Less