- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying CSD Tuner for PSoC4000S with Miniprog3.
The settings of Tuner communication is below.
but, it won't connect. Why?
Best regards,
Yocchi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VTARG must be connected to the target's VDD because your are selecting "External" in the "Port Configuration" - "Power" section of the "Tuner Communication Setup" dialogue.
VTARG will be used for the pull-up device in the MiniProg3.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I wonder if the following discussion can be a hint.
Re: MiniProg3 as I2C bridge for capsense tuning
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I will supplement.
I am trying with CY8CKIT145-40XX, but the connection is as follows.
If Miniprog3 is not connected, SCK and SDA are pulled up to +5V.
When connecting miniprog3, both signals are about +1.0V.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
External pull-up is not required.
The MiniProg3 User Guide states:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Add more. I2C protocol of PSoC Programmer cannot be selected.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You want CSD Tuner to work, right?
At that time, PSoC Programmer doesn't matter?
I think that I2C will be selected in the setting of BCP or Launch Tuner of PSoC Cretor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Since only 1V is output, I thought that the protocol setting was necessary in Programmer.
All I need is the tuner to work.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> All I need is the tuner to work.
If that's the case, can you disconnect USB from KitProg
and provide VDD from MiniProg3?
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
こんにちは、
現在、手の届く基板で一番近いのが CY8CKIT-149 なので、それで試してみました。
ちなみに、私のプロトタイプ基板は全て、羽をむしっちゃっているので、ジャンパで繋いでいます。
回路
ピン配
main.c
===============
#include "project.h"
#include "stdbool.h"
#define LED_ON 0u
#define LED_OFF 1u
int main()
{
bool buttonState = false;
CyGlobalIntEnable; /* Enable global interrupts*/
EZI2C_Start(); /* Initialize EZI2C block */
EZI2C_EzI2CSetBuffer1(sizeof(CapSense_dsRam),
sizeof(CapSense_dsRam),
(uint8 *)&CapSense_dsRam
);
CapSense_Start();
CapSense_ScanAllWidgets();
for(;;){
if(CapSense_NOT_BUSY == CapSense_IsBusy()){
CapSense_ProcessAllWidgets();
buttonState = (bool)CapSense_IsSensorActive(
CapSense_BUTTON0_WDGT_ID, CapSense_BUTTON0_SNS0_ID);
if(buttonState) {
LED_Write(LED_ON); /* Turn ON Active-Low LED */
} else {
LED_Write(LED_OFF); /* Turn OFF Active-Low LED */
}
CapSense_RunTuner();
CapSense_ScanAllWidgets();
}
CyDelay(20);
}
}
===============
この構成であれば、同じように MiniProg3 から、GND, SDA, SCL を接続した状態で、KitProg から電源供給で Tuner は動作しました。
※ PSoC Creator の Debugger は停止している必要がありますが。
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ついでに、KitProg 側のケーブルを外して、
MiniProg3 の VTarget からの電源供給も試してみました。
Tuner の接続設定
これも動きました。
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Noriaki-san,
thank you everyone.
By connecting VTARG to the Kit and removing the pull-up resistor of 10kΩ that
was also prepared externally, it came to operate.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VTARG must be connected to the target's VDD because your are selecting "External" in the "Port Configuration" - "Power" section of the "Tuner Communication Setup" dialogue.
VTARG will be used for the pull-up device in the MiniProg3.
Regards,
Noriaki