Search found 6 matches

by WZab
Wed Jan 22, 2020 6:45 pm
Forum: Other Boards
Topic: Custom board with STM32H743 - problems with CAN
Replies: 2
Views: 314

Re: Custom board with STM32H743 - problems with CAN

Regarding the CAN clock frequency problem, it seems that MicroPython should call `LL_RCC_SetFDCANClockSource` with the proper PLL (which one?) before calling ` __HAL_RCC_FDCAN_CLK_ENABLE();` in the `fdcan.c`. /** * @brief Configure FDCANx Kernel clock source * @rmtoll D2CCIP1R FDCANSEL LL_RCC_SetFDC...
by WZab
Wed Jan 22, 2020 2:16 pm
Forum: Other Boards
Topic: Custom board with STM32H743 - problems with CAN
Replies: 2
Views: 314

Custom board with STM32H743 - problems with CAN

I try to get CAN working on the custom board https://github.com/elhep/MCORD_HUB/tree/master/Hub_PCB based on NUCLEO_H743ZI. I have compiled and uploaded the MicroPython built for Nucleo (with one modification described in https://forum.micropython.org/viewtopic.php?f=12&t=7637 ). However, when testi...
by WZab
Tue Jan 21, 2020 11:28 pm
Forum: Other Boards
Topic: Python REPL not starting on STM32H743 based board
Replies: 5
Views: 341

Re: Python REPL not starting on STM32H743 based board

OK. The problem is explained. It was an hardware error. Incorrect voltage divider was connected to VBUS_DET. I had to disable VBUS sensing: -#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_A9) -#define MICROPY_HW_USB_OTG_ID_PIN (pin_A10) +//#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_A9) +//#define MICR...
by WZab
Tue Jan 21, 2020 10:07 pm
Forum: Other Boards
Topic: Python REPL not starting on STM32H743 based board
Replies: 5
Views: 341

Re: Python REPL not starting on STM32H743 based board

Yes, it uses 8MHz crystal.
I can see, however, that programming of MicroPython does not touch the "Option Bytes" in the STM32.
Is it possible that the original values are incorrect and must be modified, when the MicroPython is programmed the first time?

Regards,
Wojtek
by WZab
Tue Jan 21, 2020 8:33 pm
Forum: Other Boards
Topic: Python REPL not starting on STM32H743 based board
Replies: 5
Views: 341

Re: Python REPL not starting on STM32H743 based board

I have yet another finding. If I disconnect the "BOOT" jumper and power-cycle the board, it does not connect to the USB.
The host does not detect the new device at all.

Regards,
Wojtek
by WZab
Tue Jan 21, 2020 7:58 pm
Forum: Other Boards
Topic: Python REPL not starting on STM32H743 based board
Replies: 5
Views: 341

Python REPL not starting on STM32H743 based board

Hi, I need to install the MicroPython on a board https://github.com/elhep/MCORD_HUB/tree/master/Hub_PCB based on NUCLEO_H743ZI I have successfully compiled the MicroPython, hower after I run `make BOARD=NUCLEO_H743ZI deploy`, I can see the following in my console: $ make BOARD=NUCLEO_H743ZI deploy U...