Search found 34 matches

by ProudPagan
Tue Jul 09, 2019 3:13 pm
Forum: Other Boards
Topic: [BLACK STM32F407VET6:STM32F407] Battery-backed/persistent memory
Replies: 3
Views: 304

Re: [BLACK STM32F407VET6:STM32F407] Battery-backed/persistent memory

Thanks! I found there were 4 steps to do: //set Backup regulator enable -- do once SET_BIT(PWR->CSR, PWR_CSR_BRE); //enable power interface clock __HAL_RCC_PWR_CLK_ENABLE(); //enable BBRAM interface clock SET_BIT(RCC->AHB1ENR, RCC_AHB1ENR_BKPSRAMEN); //Enable access to RTC domain by setting the DBP ...
by ProudPagan
Mon Jul 08, 2019 4:37 am
Forum: Other Boards
Topic: [BLACK STM32F407VET6:STM32F407] Battery-backed/persistent memory
Replies: 3
Views: 304

[BLACK STM32F407VET6:STM32F407] Battery-backed/persistent memory

Hi,

I would like to store some invariant data on the BLACK STM32F407VET6 board while
the main power is removed (coin cell remains connected).

The STM32F407 has 4kByte of battery backed SRAM. Is this accessible in MicroPython?

Thanks

PP
by ProudPagan
Tue Jun 18, 2019 4:49 am
Forum: Other Boards
Topic: [Black STM32F407VET6] Pin map
Replies: 10
Views: 686

Re: [Black STM32F407VET6] Pin map

Great, thanks.
by ProudPagan
Tue Jun 18, 2019 3:21 am
Forum: Drivers for External Components
Topic: ILI9340/ILI9341 TFT Display
Replies: 35
Views: 16178

Re: ILI9340/ILI9341 TFT Display

Hi Everyone.

Has anyone got this code for (ILI9340/ILI9341 TFT Display) working on the STM32F407?

Thanks!
by ProudPagan
Sun Jun 16, 2019 2:36 pm
Forum: General Discussion and Questions
Topic: Arbitrary precision LibBF library port to MicroPython
Replies: 3
Views: 313

Re: Arbitrary precision LibBF library port to MicroPython

My own use is to build a calculator that specializes in calculating lunar phases - probably double precision (53 bits) would be sufficient there, but higher precision can't hurt. I think it would eventually morph into a homebrew DM42 . Other uses of higher-than-single-precision could be: - accurate ...
by ProudPagan
Sun Jun 16, 2019 4:22 am
Forum: Other Boards
Topic: [Black STM32F407VET6] Pin map
Replies: 10
Views: 686

Re: [Black STM32F407VET6] Pin map

Thanks, that PDF is what I was looking for!
by ProudPagan
Sat Jun 15, 2019 5:44 pm
Forum: Other Boards
Topic: [Black STM32F407VET6] Pin map
Replies: 10
Views: 686

Re: [Black STM32F407VET6] Pin map

I see. The header directly opposite to the JTAG connector is marked "For mcudev/TFT" -- looks like the parallel LCD bus... is this documented somewhere? I found all the GPIO pin mux in ports/stm32/boards/stm32f405_af.csv. This is referenced by boards/BLACK_F407VE/mpconfigboard.mk. stm32f405_af.csv c...
by ProudPagan
Sat Jun 15, 2019 3:24 pm
Forum: General Discussion and Questions
Topic: Arbitrary precision LibBF library port to MicroPython
Replies: 3
Views: 313

Arbitrary precision LibBF library port to MicroPython

Hi, I needed better than single-precision arithmetic support on the STM32F4 microcontrollers. MPFR and mpdecimal are the silverbacks in MP arithmetic land but are too big for my target. I tried to port MPMATH , but gave up trying to port that to MicroPython (kept running into MemoryError forever jus...
by ProudPagan
Sat Jun 15, 2019 2:46 pm
Forum: Other Boards
Topic: [Black STM32F407VET6] Pin map
Replies: 10
Views: 686

Re: [Black STM32F407VET6] Pin map

Thanks. I can see these. __class__ __name__ DAC1 DAC2 LED_D2 LED_D3 OSC32_IN OSC32_OUT PA0 PA1 PA10 PA11 PA12 PA13 PA14 PA15 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PB0 PB1 PB10 PB11 PB12 PB13 PB14 PB15 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PC0 PC1 PC10 PC11 PC12 PC13 PC14 PC15 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PD0...
by ProudPagan
Sat Jun 15, 2019 1:10 pm
Forum: Other Boards
Topic: [Black STM32F407VET6] Pin map
Replies: 10
Views: 686

[Black STM32F407VET6] Pin map

Hi,

I am looking for the MicroPython pin name <--> board pin name (PX-## etc.) mapping for the
Black STM32F407VET6.

Could anyone point me to that?

Thanks

PP