Search found 447 matches

by dannyf
Mon Jul 20, 2020 3:19 am
Forum: General discussion
Topic: how to PWM Frequency stm32duino and resolution
Replies: 19
Views: 32197

Re: how to PWM Frequency stm32duino and resolution

rather than waiting for someone to write the code for you, take a look at the reference manual and see how it can be done (easily as well).
by dannyf
Sun Jul 12, 2020 7:17 pm
Forum: General discussion
Topic: code crashing?, PC13 flashing? i2c
Replies: 7
Views: 5732

Re: code crashing?, PC13 flashing? i2c

comment out certain sections of the code and see if you still have the problem.

and gradually narrow down the possible cause.
by dannyf
Sat Jul 11, 2020 3:10 pm
Forum: General discussion
Topic: software i2c?
Replies: 7
Views: 6104

Re: software i2c?

you may want to consider switching the bus so that at a given point only one device is on the bus.

Much easier than having a gazillion i2c buses.
by dannyf
Tue Jul 07, 2020 1:00 am
Forum: General discussion
Topic: Measuring CPU usage
Replies: 4
Views: 4223

Measuring CPU usage

Wrote some routines to measure CPU usage. Basic concept is shown here, on a cortex-m0 chips: https://dannyelectronics.wordpress.com/2020/07/05/measuring-cpu-mcu-utilization-on-cortex-mx-chips/ it runs off of SysTick. Ported it over to Arduino here: https://dannyelectronics.wordpress.com/2020/07/06/m...
by dannyf
Sun Jul 05, 2020 8:47 pm
Forum: Let us know a bit about you and your projects
Topic: hi, just re-joined
Replies: 4
Views: 3429

Re: hi, just re-joined

thanks. glad that you find it helpful.
by dannyf
Sat Jul 04, 2020 8:00 pm
Forum: General discussion
Topic: dhrystone and whetstone benchmarks
Replies: 93
Views: 66654

Re: dhrystone and whetstone benchmarks

my attempt, at benchmarking a variety of chips, and outside of the typical dhrystone / whetstone routines: https://dannyelectronics.wordpress.com/ ... -exercise/

Interesting to see how the chips fall. the numbers are measured in cycle counts.
by dannyf
Sat Jul 04, 2020 7:47 pm
Forum: Let us know a bit about you and your projects
Topic: hi, just re-joined
Replies: 4
Views: 3429

hi, just re-joined

not sure what happened. it has been a while and happy to be back.

Go to advanced search