Search found 70 matches
- Tue Nov 17, 2020 9:23 pm
- Forum: Projects
- Topic: loop too slow
- Replies: 8
- Views: 5003
Re: the loop is stuck
Thanks it is working.
- Tue Nov 17, 2020 1:38 am
- Forum: Projects
- Topic: loop too slow
- Replies: 8
- Views: 5003
loop too slow
Hi It seems that the loop is doing only one cycle after pressing the button, then stop. This is a stereo VU meter, the goal is to switch displays from bar graph to value it in numbers, switching is ok, however respond to input is working incorrectly. If i change input signal and press the button the...
- Sat Nov 14, 2020 12:15 am
- Forum: General discussion
- Topic: ST link not showing in upload method
- Replies: 3
- Views: 2882
- Fri Nov 13, 2020 10:52 pm
- Forum: General discussion
- Topic: ST link not showing in upload method
- Replies: 3
- Views: 2882
Re: ST link not showing in upload method
you have uninstall st Link so is listed on tools, this was discussed on old forum.
google - st link arduino
- Wed Nov 11, 2020 10:38 pm
- Forum: General discussion
- Topic: missing signal on PA6
- Replies: 8
- Views: 3875
Re: missing signal on PA6
Now I can have signal on PB6 or PB7 but not both on one time. by making changes in those lines timer_dma_set_base_addr(dev1, TIMER_DMA_BASE_CCR2) timer_dma_set_base_addr(dev2, TIMER_DMA_BASE_CCR1); CCR1, CCR1 = signal only on PB6 CCR1, CCR2 = signal only on PB7 CCR2, CCR2 = signal only on PB7 CCR2, ...
- Wed Nov 11, 2020 8:38 pm
- Forum: General discussion
- Topic: missing signal on PA6
- Replies: 8
- Views: 3875
Re: missing signal on PA6
alternative suggestion gives signal on PB7
- Wed Nov 11, 2020 8:32 pm
- Forum: General discussion
- Topic: missing signal on PA6
- Replies: 8
- Views: 3875
Re: missing signal on PA6
I turned off the lines related to out1 = PB7, so I have to deal with one channel #define SAMPLES 77 #include <libmaple/dma.h> dma_tube_config dma_cfg, dma_cfg2; int flag = 0; int flag1 = 0; int out = PB6; int out1 = PB7; int val[SAMPLES]; int val1[SAMPLES]; int16 shift = 0; int amp = 40; int cnt = 0...
- Wed Nov 11, 2020 8:12 pm
- Forum: General discussion
- Topic: missing signal on PA6
- Replies: 8
- Views: 3875
Re: missing signal on PA6
I changed it = no difference
- Wed Nov 11, 2020 8:00 pm
- Forum: General discussion
- Topic: missing signal on PA6
- Replies: 8
- Views: 3875
Re: missing signal on PA6
I was checking many times but can't find the problem
- Wed Nov 11, 2020 7:49 pm
- Forum: General discussion
- Topic: missing signal on PA6
- Replies: 8
- Views: 3875
missing signal on PA6
Hi This is a generator code, I have a signal on PB7 but can't get second output on PB6. #define SAMPLES 77 #include <libmaple/dma.h> dma_tube_config dma_cfg, dma_cfg2; int flag = 0; int flag1 = 0; int out = PB6; int out1 = PB7; int val[SAMPLES]; int val1[SAMPLES]; int16 shift = 0; int amp = 40; int ...