<div dir="auto">In your opinion is better the raspberry pi or ch341a to reach my goal?<div dir="auto"><br></div><div dir="auto">Should I buy a breadboard for create better connections ?</div><div dir="auto"><br></div><div dir="auto">Can you draw a schematic that I can follow? </div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 6 mar 2018 21:55, "Nico Huber" <<a href="mailto:nico.h@gmx.de">nico.h@gmx.de</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Luca,<br>
<br>
On <a href="tel:06.03.2018%2007" value="+390603201807">06.03.2018 07</a>:25, Luca Bacci Bonotti wrote:<br>
> I tried with chip soldered and unsoldered. Same results.<br>
<br>
same results? probably due to very different problems. Especially when<br>
the chip is not part of a circuitry (that might already take care), you<br>
have to connect all input pins of the chip. Also, very often, a series<br>
resistor at least on the MISO output is required.<br>
<br>
> I previously tried programming with raspberry PI but it was unable to see<br>
> my chip.<br>
> I have both CH341A and Raspberry Pi.<br>
<br>
When you use the Raspberry Pi, make sure you set the `spispeed` parame-<br>
ter of linux_spi to something reasonable (I'd start trying around 1000,<br>
i.e. 1MHz), the default is OS dependent and often not reliable.<br>
<br>
> Where should i connect /HOLD /WP on the CH341A ?<br>
<br>
/HOLD should be pulled up towards VCC (i.e. using a series resistor,<br>
10kOhm maybe), state of /WP usually only matters when the chip has some<br>
write-protection set up, so either pull up towards VCC or down towards<br>
GND (if in doubt, up).<br>
<br>
Nico<br>
</blockquote></div></div>