Search found 10 matches

by seemefirst@gamil.com
Wed Sep 25, 2019 8:12 pm
Forum: General Discussion and Questions
Topic: Frozen Modules based on board
Replies: 3
Views: 112

Re: Frozen Modules based on board

Great Thanks,
by seemefirst@gamil.com
Wed Sep 25, 2019 6:05 pm
Forum: General Discussion and Questions
Topic: Frozen Modules based on board
Replies: 3
Views: 112

Frozen Modules based on board

Hello, I was wondering if there is a way to include frozen files based on board. I am doing this on stm32 port. My understanding is that anything put in the ../ports/stm32/modules folder will be packed as frozen regardless of what board is compiled for. For example is there anyway to set the path fo...
by seemefirst@gamil.com
Thu Aug 29, 2019 3:42 pm
Forum: General Discussion and Questions
Topic: Using LSI instead of LSE
Replies: 6
Views: 239

Re: Using LSI instead of LSE

I have made some changes to system_stm32.c in two locations noted below to resolve this problem for stm32L4. To use the HSE/LSI a preprocessor must be defined in stm32l4xx_hal_conf.h as USE_HSE_LSI (1). ***If something like this is acceptable to the developers of Micropython please consider to make ...
by seemefirst@gamil.com
Wed Aug 28, 2019 4:21 pm
Forum: General Discussion and Questions
Topic: Using LSI instead of LSE
Replies: 6
Views: 239

Re: Using LSI instead of LSE

Thanks for your input, I just added a 8MHz HSE to the board (32KHz crystal removed). How do I set mpconfigboard.h and stm32l4xx_hal_conf.h to use HSE and LSI I tried the following for mpconfigboard but it does not work. // MSI is used and is 4MHz //#define MICROPY_HW_CLK_PLLM (1) //#define MICROPY_H...
by seemefirst@gamil.com
Tue Aug 27, 2019 3:51 pm
Forum: General Discussion and Questions
Topic: Using LSI instead of LSE
Replies: 6
Views: 239

Re: Using LSI instead of LSE

Hi,

Thanks for the reply but I do not think USB clock is coming from low speed clock, it is sourced from High speed clock (HSE or HSI) and has nothing to do with LSE or LSI.
by seemefirst@gamil.com
Mon Aug 26, 2019 9:47 pm
Forum: General Discussion and Questions
Topic: Using LSI instead of LSE
Replies: 6
Views: 239

Using LSI instead of LSE

I am testing this on NUCLEO-L476RG. I add the following to mpconfigboard.h: #define MICROPY_HW_RTC_USE_LSE (0) Compile, flash and run is fine. Then I remove the X2 crystal (32KHz) physically and USB fails and noting runs. I am no longer able to enter DFU (by pulling BOOT0 high and reset). I put back...
by seemefirst@gamil.com
Fri Jul 12, 2019 9:06 pm
Forum: General Discussion and Questions
Topic: Sending to HID keyboard end causes reboot
Replies: 2
Views: 181

Re: Sending to HID keyboard end causes reboot

I checked the prebuilt versions and everything was fine i.e. no reboot. Then I pulled the latest code built it again and everything is fine now. There must have been something different about my environment. Thanks for testing.
by seemefirst@gamil.com
Thu Jul 11, 2019 8:56 pm
Forum: General Discussion and Questions
Topic: Sending to HID keyboard end causes reboot
Replies: 2
Views: 181

Sending to HID keyboard end causes reboot

Here is my code that shows the problem of rebooting. Reboot happens when 378*2 = 756 characters sent to Keyboard end. I am testing this on Nucleo-L476RG. Any idea what causes this problem. boot.py: # boot.py -- run on boot-up # can run arbitrary Python, but best to keep it minimal import pyb #pyb.ma...
by seemefirst@gamil.com
Tue Jul 09, 2019 7:49 pm
Forum: General Discussion and Questions
Topic: HID Keyboard Report out from python (e.g. CAPS LOCK Status)
Replies: 2
Views: 164

HID Keyboard Report out from python (e.g. CAPS LOCK Status)

Hello, Just wondering if there is any method to get HID keyboard report out byte in python code. Reason for asking: when a py board connected to a host computer and acts as a HID keyboard if you have another keyboard connected to the same host and press "CAPS LOCK" then capitalization on the charact...