Search found 653 matches

by OutoftheBOTS_
Wed Jul 24, 2019 8:28 pm
Forum: Programs, Libraries and Tools
Topic: micropython-mtx: Extra-fast Matrix Multiplication and Linear System Solver on MicroPython
Replies: 3
Views: 292

Re: micropython-mtx: Extra-fast Matrix Multiplication and Linear System Solver on MicroPython

If you are playing around on a PC, why not use numpy? It has everything you need. I have tried to use the native code emitter on OpenMV, but have not been able to make it work. I am also aware of the viper code emitter, but find it not worth the effort after my attempt at native has failed. If anyo...
by OutoftheBOTS_
Wed Jul 24, 2019 10:51 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 42252

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hello What would be the best options for LAN, I seem to be stuck as the W5500 module I have isnt getting the right IP from the DHCP server, I have just ordered a LAN8270 RMII module as this seems to be fully supported on the MCU. The W5500 module doesnt have a MAC address which is why it doesnt wor...
by OutoftheBOTS_
Wed Jul 24, 2019 4:36 am
Forum: Hardware Projects
Topic: STM32F103RCT6 and micropython (bigtreetech skr mini v1.1)
Replies: 2
Views: 303

Re: STM32F103RCT6 and micropython (bigtreetech skr mini v1.1)

For the cost of STM32F4 vs STM32F1 it doesn't make sense to try to run MP on such a restricted environment as a F1 series. There is a lot of sTM32F4 3Dprinter control boards around now. See this 1 https://www.aliexpress.com/item/32819068617.html?spm=2114.search0104.3.94.1bc32780RvdssR&ws_ab_test=sea...
by OutoftheBOTS_
Tue Jul 23, 2019 9:02 pm
Forum: Programs, Libraries and Tools
Topic: micropython-mtx: Extra-fast Matrix Multiplication and Linear System Solver on MicroPython
Replies: 3
Views: 292

Re: micropython-mtx: Extra-fast Matrix Multiplication and Linear System Solver on MicroPython

My 15yr old is currently studding Matrix in his Math methods class at school. We were going to write something simple like this in python on his PC then play with with transformations of a 2d box then transformations of a 3d cube to help him get his head around matrix. The other 2 operations that wo...
by OutoftheBOTS_
Mon Jul 22, 2019 10:22 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 42252

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: 134
Views: 42252

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: 134
Views: 42252

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: 134
Views: 42252

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: 134
Views: 42252

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: 134
Views: 42252

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 ...