Search found 609 matches

by OutoftheBOTS_
Mon Jul 22, 2019 10:22 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Thanks for your answers Roberthh You can use FSMC to both write and read from the GRAM of the TFT exactly the same as your bit bang version. And I found the same thing once that I went to 16bit FSMC that IO to the screen was now way quicker than any other part of the pipleine. I used DMA to stream f...
by OutoftheBOTS_
Mon Jul 22, 2019 9:24 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Using the mem_xx() functions is very slow. For initialization, that's fine. But for other operations like setting coordinates or data transfer using native code and direct pointers is way faster. I used that for my SSD1963 driver (https://github.com/robert-hh/SSD1963-TFT-Library-for-PyBoard), which...
by OutoftheBOTS_
Mon Jul 22, 2019 6:18 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hello John Been working on this too and have a lot of code already written stuck on some :- void FSMC_Init(void){ //enable RCC for FSMC and both GPIO ports RCC->AHB3ENR |= RCC_AHB3ENR_FSMCEN; RCC->AHB1ENR |= RCC_AHB1ENR_GPIODEN | RCC_AHB1ENR_GPIOEEN; and //setup FSMC on Bank1 NORSRAM1 //setup timin...
by OutoftheBOTS_
Sun Jul 21, 2019 10:41 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Also when I wired up my TFT I mainly used the TFT header on the STM32F407VRT6 black except I used different pin for the RS/DC pin and reset pin. On the header it connects the reset pin to the reset button on the board but I connected it to PD12 so that I could do a hardware reset in software so if y...
by OutoftheBOTS_
Sun Jul 21, 2019 9:09 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hello John Been working on this too and have a lot of code already written stuck on some :- void FSMC_Init(void){ //enable RCC for FSMC and both GPIO ports RCC->AHB3ENR |= RCC_AHB3ENR_FSMCEN; RCC->AHB1ENR |= RCC_AHB1ENR_GPIODEN | RCC_AHB1ENR_GPIOEEN; and //setup FSMC on Bank1 NORSRAM1 //setup timin...
by OutoftheBOTS_
Sun Jul 21, 2019 8:44 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Wow, that's amazing, thanks for doing this! I wonder if jupyter + micropython can be shared somehow to avoid duplicating work, I seem to have typed exactly the same thing. For reference, help(stm) outputs the following (see below), so the register address is stm.RCC_AHB3ENR and FSMEN (according to ...
by OutoftheBOTS_
Sat Jul 20, 2019 9:18 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hello Many thanks for the code, I understand the first 2 paragraphs but I seem to be confused where this code would go, does it have to compiled in the firmware ? Regards Mike As I stated above I have only used this in C and haven't yet compiled it in to the MP firmware. My story is this I only sta...
by OutoftheBOTS_
Fri Jul 19, 2019 9:54 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 124
Views: 36315

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

First you need to understand how FSMC works with these screens. It utilizes the 8080 ram interface, this basically has 16 data lines and 16 address lines then a few control lines(chip select, read, write). With the TFT they don't use all the address line to address the RAM but rather uses only 1 add...
by OutoftheBOTS_
Fri Jul 19, 2019 7:06 am
Forum: General Discussion and Questions
Topic: Neo pixel
Replies: 5
Views: 133

Re: Neo pixel

I would always advise using ESP32 rather than ESP8266 because ESP32 is so so much more capable than the ESP8266 and is not much more to buy. I started with ESP8266 but for a number of my projects I kept hitting a wall then I switched to ESP32 and it broken all the walls I was hitting.
by OutoftheBOTS_
Thu Jul 18, 2019 9:25 pm
Forum: General Discussion and Questions
Topic: Neo pixel
Replies: 5
Views: 133

Re: Neo pixel

This is something that ESP32 running micro-python is able to do