A redesign has been implemented a while ago, developped by Donna.
But it was tested and it worked.
In your place I would try to drive an I2C slave module with bluepill to see whether the core works for you at all.
Search found 502 matches
- Sun Oct 25, 2020 2:37 pm
- Forum: General discussion
- Topic: i2c MPR121, Need help trouble shooting whats wrong...
- Replies: 23
- Views: 11691
- Sun Oct 25, 2020 11:03 am
- Forum: Maple & Maple mini etc
- Topic: Maple Mini ArduCam-Mini-2MP
- Replies: 6
- Views: 10081
Re: Maple Mini ArduCam-Mini-2MP
viewtopic.php?f=2&t=301
Which core do you intend to use?
Which pinout do you plan?
Why do you need SPI?
You can use any I2C interface.
Which core do you intend to use?
Which pinout do you plan?
Why do you need SPI?
You can use any I2C interface.
- Sun Oct 25, 2020 8:01 am
- Forum: General discussion
- Topic: HardwareTimer inside a Class
- Replies: 8
- Views: 3721
Re: HardwareTimer inside a Class
I really don't see any point of using the "new" constructor. This will use malloc and then you do not have any overwiev how you memory is increasing / decreasing. Especially, contructing temporary objetcs in the main loop is the most common cause of memory corruption/overflow problems. Usu...
- Sat Oct 24, 2020 10:00 pm
- Forum: General discussion
- Topic: yet another issue, really sorry PWM related.
- Replies: 14
- Views: 7557
Re: yet another issue, really sorry PWM related.
So you say PB1,4 and 5 works correctly and PA11 and 15 do not?
Strange.
It maybe has to do with the fact that PA11 was remapped if I remember correctly?
Still F103C8 generic + libmaple?
Please always mention your environment to make us easier to follow your issue.
Strange.
It maybe has to do with the fact that PA11 was remapped if I remember correctly?
Still F103C8 generic + libmaple?
Please always mention your environment to make us easier to follow your issue.
- Sat Oct 24, 2020 9:53 pm
- Forum: General discussion
- Topic: i2c MPR121, Need help trouble shooting whats wrong...
- Replies: 23
- Views: 11691
Re: i2c MPR121, Need help trouble shooting whats wrong...
There seems to be a problem with I2C scanner, see here: https://github.com/rogerclarkmelbourne/ ... issues/799
But the normal I2C finctions should work, it is only the scanner affected.
Have you tried to communicate with the IC?
Can you record and post here some scope plots?
But the normal I2C finctions should work, it is only the scanner affected.
Have you tried to communicate with the IC?
Can you record and post here some scope plots?
- Thu Oct 22, 2020 12:42 pm
- Forum: STM32F4 based boards
- Topic: STM32f407vet6 blackboard malfunctional PWM
- Replies: 13
- Views: 14814
Re: STM32f407vet6 blackboard malfunctional PWM
It is important to set pin mode after timer init.
Then it is recommended to attach interrupt after refresh, otherwise the interrupt will be fired by refresh.
Which timer 2 pin does not work?
Timer 5 was preferred over timer 2, but you can change this by editing the mapping table.
Then it is recommended to attach interrupt after refresh, otherwise the interrupt will be fired by refresh.
Which timer 2 pin does not work?
Timer 5 was preferred over timer 2, but you can change this by editing the mapping table.
- Thu Oct 22, 2020 12:06 pm
- Forum: STM32F4 based boards
- Topic: STM32f407vet6 blackboard malfunctional PWM
- Replies: 13
- Views: 14814
Re: STM32f407vet6 blackboard malfunctional PWM
Timerx.setPeriod() is necessary if you want to output PWM signal with a specific period, not identical with your case (maximum resolution 65535).
- Thu Oct 22, 2020 9:23 am
- Forum: IDE's
- Topic: How to access Roger's libraries
- Replies: 8
- Views: 5624
Re: How to access Roger's libraries
You should first select a board and then you will see the EEPROM examples in Arduino under File->Examples->Examples for...board.
Which board do you use?
Which board do you use?
- Thu Oct 22, 2020 9:15 am
- Forum: STM32F4 based boards
- Topic: STM32f407vet6 blackboard malfunctional PWM
- Replies: 13
- Views: 14814
Re: STM32f407vet6 blackboard malfunctional PWM
It is not enough to set the pin mode. You have to setup the timer corresponding to the used pin (PA8 in your example is mapped to timer 1 channel 1, see here ). A usual setup looks like this: Timer1.init(); // initializes and stops the timer pinMode(PA8, PWM); // sets the pin mode Timer1.setPeriod(<...
- Wed Oct 21, 2020 8:36 pm
- Forum: STM32F4 based boards
- Topic: STM32f407vet6 blackboard malfunctional PWM
- Replies: 13
- Views: 14814
Re: STM32f407vet6 blackboard malfunctional PWM
Which core do you use?