Search found 68 matches

by Phono
Fri Apr 24, 2020 4:25 pm
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9346

Re: Bug in softwire library

So the answer is yes. The library I use, and which exhibits this bug, it the one you mention.
by Phono
Fri Apr 24, 2020 2:46 pm
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9346

Re: Bug in softwire library

Do you mean this link :
?
If yes, this is the very library I am using and which has the problem for which I have open the issue #11 that describes it in details.
by Phono
Fri Apr 24, 2020 2:40 pm
Forum: IDE's
Topic: Install another, separate, Arduino IDE
Replies: 3
Views: 3949

Install another, separate, Arduino IDE

I have on my computer an Arduino 1.8.3 fitted with Roger's package, after a manual installation. i would like to install another instance of the IDE, version 1.8.12 and install in it the new STM32Duino package. I have read several opinions about doing so. In general it is advised to use the ZIPped I...
by Phono
Fri Apr 24, 2020 2:23 pm
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9346

Re: Bug in softwire library

Not exactly. I do not get incorrect readings, I get a crash in the case there is a hardware failure on the I2C bus that holds the scl line down too long.
by Phono
Fri Apr 24, 2020 8:47 am
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9346

Re: Bug in softwire library

I am not sure of which library you are talking about. I am using the official STM32duino core (that I installed on Arduino IDE from the "add board" option), and the softwire library that I found in the Arduino IDE using the option "manage libraries".
by Phono
Thu Apr 23, 2020 6:31 pm
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9346

Bug in softwire library

Hi all, I reported an issue in the github of stevemarple, the author of this library, but it seems that he is not involved any more in this section. So I put it here, to open a discussion about the best way to fix it. Here is my report: I have implemented a I2C master on a STM32F103 and it works cor...
by Phono
Wed Apr 22, 2020 2:29 pm
Forum: Libraries & Hardware
Topic: Hardware CAN initialization fails
Replies: 22
Views: 16932

Re: Hardware CAN initialization fails

At the time I used Roger's core, I started from an existing HardwareCAN library from Maple that I ported to Roger's core, as you know. Since i have decided to move to the "official" STM32Duino core, I needed a library that could not easily be derived from the previous one. I have a set of ...
by Phono
Sat Apr 18, 2020 4:23 pm
Forum: General discussion
Topic: EEPROM.put - where does it stores data?
Replies: 16
Views: 17819

Re: EEPROM.put - where does it stores data?

Hi all, I am porting a set of projects initially written under Roger's core to STM32Duino. I am at the point of porting the EEPROM emulation part that I use to store configuration. It changes about twice a day. I am bothered with what I read in the STM32Duino wiki. In Roger's core, the EEPROM emulat...
by Phono
Sat Apr 18, 2020 8:23 am
Forum: Libraries & Hardware
Topic: Hardware CAN initialization fails
Replies: 22
Views: 16932

Re: Hardware CAN initialization fails

After reading the STM32 manual, I found how to stop the USB hardware. It works now. So I conclude that the bootstrap loader, when it jumps to the application program, does not shut off the USB, and this must have been done in the core (Roger's version). It is not the case anymore. So the CAN driver ...
by Phono
Fri Apr 17, 2020 2:20 pm
Forum: Libraries & Hardware
Topic: Hardware CAN initialization fails
Replies: 22
Views: 16932

Re: Hardware CAN initialization fails

This is more or less what I suspect. Now, how can I shut off the USB or at least disable the USB interrupt ? The HAL API is somewhat complicated, and to shut it off one must have a handler to pass to the DeInit or Stop function.

Go to advanced search