-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schematics #2
Comments
Yep! |
Hey thanks for that. I want to make a e-ink typewriter :p - I used to have a Psion Series 5 MX that I enjoyed writing on, but it passed on a long time ago. I got one of these: But unfortunately on my mac, st-link says nawal ~/stlink-utility$./st-flash erase What ST-link programmer did you use? |
Hey, I don't remeber but I think any should work. Have you checked another st-link tool? Try to dump the FW for instance. |
There's something I don't understand with the code and the product itself. The PB3 and PB5 are used for SPI3 (from the STM32F103 datasheet). However, in the code, you're using SPI1 (which I would expect on PA5 and PA7 (for MOSI) and they are free on the board, so easier to solder. Also, you're reusing the PB3 that's connected to the LED for SPI ? Didn't the LED cause trouble with the SPI's comm later on (like... consuming current when pulled up and having a much lower impedance for this pin) ? |
The LED is driven through a transistor, I desoldered the resistor at its base (thus rendering the LED unusable). SPI1 and 3 are on the same pins I recall (or at least they can be remapped to be in the same pins). I don't remember why I couldn't make one of the SPIs to work so I choose the other one. Hope this helps! |
Do you refer to this ? |
Great, are you using exactly the same board? I had issues trying to get a sensible interface. You could use UART by the way. I didn't use it because of a silly mistake so later I realized I could have used it (at around 400kbps) but since I already moved to SPI I'd rather stay there (much reliable I think, less overhead and 1Mbps speed). Downsize is that ESP doesn't seem to have a buffer for SPI TX or does it? |
Yes, same board (received yesterday). Not even run it once, through, already soldered the pins for ST-Link and SPI too... I'll give it a shot in the next days until I get something that works. |
Hey, just checking: you only need the four wires to dump the memory/flash the chip (3.3v, swclk, gnd, swdio)? i.e. no reset/etc? thanks! |
I believe so, you might have issues with reset sometimes, but it works most of the time for me quite reliably |
Aha, it was a dry joint where I soldered a connector to the 4 dots! Thanks for your help connecting to the device! Now I'll be playing with your code and probably have more questions! |
That GPIO is just an optimization on the design. The whole screen + stm32 + all the logic and power supplies (everything but the ESP8266) is gated via a big NMOS transistor (IIRC). By default everything is off but the ESP8266 which is usually deep sleeping. Before updating the screen one has to obviously pull the transistor gate to enable the other devices. After the refresh is done the transistor can be cut off to keep battery usage low. |
thank you for your answer, I have another question for you, after connecting to EINKWIFI, the parameters to fill, ESSID, PASSW, SERVER (we write direct ip address example 192.168.1.146 or http://192.168.1.146 :) and for the path: (/server2/index.php?action=renderpng&id=yes), since I try with several examples, but it does not connect, still after 5 to 9 minutes I see on the terminal an error (ets_main.c) and does not connect to the wifi or the server. |
Hi,
How did you connect the SPI? Did you have to solder to the STM chip itself?
Thanks!
The text was updated successfully, but these errors were encountered: