- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- I created a new project using CY8C29466.
- I placed a PGA on ACB00
- PGA input is set to AnalogColumn_InputMUX_0
- InputMUX is connected to P0[1]
- PGA Analog Bus is connected
- PGA Gain is 1
- PGA Reference is AGND
- Buf 0 is connected to Port0[3]
- P0[1] is supplied input voltage with a pot 0 - 5V
- P0[3] does not follow P0[1] but stays near 0V
Anyone have an idea how to solve this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your settings look something like this -
And you issued a PGA_1_Start( PGA_1_HIGHPOWER ).
Lastly code looks something like -
#include <m8c.h> // part specific constants and macros
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
void main(void)
{
// M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts
// Insert your main routine code here.
PGA_1_Start( PGA_1_HIGHPOWER );
while ( 1 ) {
}
}
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like forum SW killing me again -
Your settings look like -
Your code looks like -
#include <m8c.h> // part specific constants and macros
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
void main(void)
{
// M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts
// Insert your main routine code here.
PGA_1_Start( PGA_1_HIGHPOWER );
while ( 1 ) {
}
}
Regtards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello SuperFlanker,
Please Ensure the following steps:
- In global resources window, check "Analog Power" parameter: It can be any setting but "All Off', for your PGA or any analog resource to recieve power.
- You have to call PGA_Start(POWER) API for enabling power to your PGA.
- Ensure the Drive mode of P0[1] and P0[3] is set to 'Hi-Z analog'
It would be better if you can post a screenshot of settings or upload your project for assissting more aptly.
Regards,
MSUR