Search found 75 matches
- Thu Jun 03, 2021 7:35 am
- Forum: General Discussion and Questions
- Topic: SOLVED - STM32F4 USB Error
- Replies: 3
- Views: 2468
SOLVED - STM32F4 USB Error
Hi all, I have a strange issue which I am struggling to fix on product of mine that uses an STM32F411CE microcontroller. Initially I had incorrectly configured HSE in the board config files, which I subsequently fixed with a simple correction to one of the clock divider values. The board was then wo...
- Tue May 04, 2021 8:29 pm
- Forum: General Discussion and Questions
- Topic: Sad farewell to pyboard and micropython, another push is needed to finish things off...
- Replies: 10
- Views: 8964
Re: Sad farewell to pyboard and micropython, another push is needed to finish things off...
As a very inexperienced code writer I have been teaching myself Python and learning MP as it is the perfect tool for someone such as myself to produce results that otherwise I couldn’t dream of. I think anything embedded is going to be more complex than standard Python and there is unfortunately low...
- Wed Apr 14, 2021 9:03 pm
- Forum: General Discussion and Questions
- Topic: Adding an Ethernet Interface
- Replies: 3
- Views: 1898
Re: Adding an Ethernet Interface
Thanks Kwiley - I am looking into the Wiznet solution as well. Thanks for your comments
- Mon Apr 12, 2021 10:43 pm
- Forum: General Discussion and Questions
- Topic: Adding an Ethernet Interface
- Replies: 3
- Views: 1898
- Thu Apr 08, 2021 8:53 pm
- Forum: General Discussion and Questions
- Topic: Adding an Ethernet Interface
- Replies: 3
- Views: 1898
Adding an Ethernet Interface
I am looking to add an Ethernet interface to my MP based product. I am currently using a 32F411 and serial over USB for comms. I would ideally like to use a different ST MCU with native Ethernet support so have been looking at 32F407 for example. For me, this would be a cleaner solution than using a...
- Sun Apr 04, 2021 8:47 am
- Forum: General Discussion and Questions
- Topic: ESP32 as an i2c slave: how to set the address?
- Replies: 10
- Views: 8354
Re: ESP32 as an i2c slave: how to set the address?
I am not entirely certain about the ESP32 support but assuming it uses the standard machine library, this post could be useful to you:
viewtopic.php?t=5320
viewtopic.php?t=5320
- Mon Mar 08, 2021 11:16 pm
- Forum: Programs, Libraries and Tools
- Topic: module for 1.44 inch TFT LCD with SDI, RS pins?
- Replies: 10
- Views: 5722
Re: module for 1.44 inch TFT LCD with SDI, RS pins?
I’m not sure about the reset line - the code would seem to indicate it’s not needed. Maybe the screen module has its own reset circuitry. You need to use the ST7735 library exactly as shown - you have not passed the width and height values to the class instance. This is what is used to create the fr...
- Sun Mar 07, 2021 7:29 pm
- Forum: Programs, Libraries and Tools
- Topic: module for 1.44 inch TFT LCD with SDI, RS pins?
- Replies: 10
- Views: 5722
Re: module for 1.44 inch TFT LCD with SDI, RS pins?
Looking at the link you sent, you don’t appear to have initialised the screen object correctly:
class st7735.ST7735(spi, dc, cs, rst=None, width=128, height=128)
Unless you have modified the library.
class st7735.ST7735(spi, dc, cs, rst=None, width=128, height=128)
Unless you have modified the library.
- Sun Mar 07, 2021 7:23 pm
- Forum: Programs, Libraries and Tools
- Topic: module for 1.44 inch TFT LCD with SDI, RS pins?
- Replies: 10
- Views: 5722
Re: module for 1.44 inch TFT LCD with SDI, RS pins?
Your code looks ok but I will check the library for that lcd controller
- Sun Mar 07, 2021 9:31 am
- Forum: Programs, Libraries and Tools
- Topic: module for 1.44 inch TFT LCD with SDI, RS pins?
- Replies: 10
- Views: 5722
Re: module for 1.44 inch TFT LCD with SDI, RS pins?
You haven’t posted all your SPI setup code but I think you’re trying to use hardware SPI but specifying invalid pins. If you’re using hardware SPI you need to adhere to the hardware specs of the ESP32 regarding selection of pins for clock and data. Or you can use software SPI which allows you specif...