Search found 33 matches

by Riva
Sun Apr 16, 2017 6:32 am
Forum: Libraries & Hardware
Topic: RXNE INTERRUPT
Replies: 2
Views: 85

Re: RXNE INTERRUPT

Alas you cannot replace the default USART interrupt handlers without changing the core. The change is relatively simple and since doing the change I have not experienced any ill side effects. Look here for what I did. After implementing this change I can intercept the default interrupt handler for a...
by Riva
Fri Apr 14, 2017 4:55 pm
Forum: General discussion
Topic: NRF24L01 Testing
Replies: 4
Views: 131

Re: NRF24L01 Testing

The range your getting is very poor. I'm using a nRF24L01+ pair on Arduino Leonardo and getting over 22 meters on the low power (-18dB) setting in a electronically noisy room. Maybe there is something wrong with the setup you have. Are the radios getting enough power?
by Riva
Tue Apr 11, 2017 6:33 am
Forum: General discussion
Topic: Arduino forum hacked?
Replies: 5
Views: 227

Re: Arduino forum fixed

It seems that they fixed the issue at last :) the forum should be safe again (although i hope they also know how they got compromised :s) They probably would still not know it had been hacked if people had not used several attempts/ways to let them know. It seems the forum admins don't even bother ...
by Riva
Thu Apr 06, 2017 4:40 pm
Forum: General discussion
Topic: Measuring Frequency
Replies: 1
Views: 116

Re: Measuring Frequency

Set up 2x external interrupts where the interrupt handlers just increment there respective counters.
Either in the loop code or a timer event handler read then reset the counter at the desired time period, calculate the frequency and display/use it.
by Riva
Thu Mar 23, 2017 9:23 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 14
Views: 338

Re: STM32F3 Discovery board support

What does the F3 offer you that makes it a must over the F1/F4 options?
by Riva
Sun Mar 19, 2017 8:34 am
Forum: General discussion
Topic: Need advise on logic analyser
Replies: 17
Views: 354

Re: Need advise on logic analyser

I have one of these that I use at work and one of these (now discontinued but the Scanalogic2 is the same without a case) that I use at home.
Software wise I really like the ScanaStudio software best (apart from the slightly dodgy DMX decoder script) as it trumps Salae and others I have used.
by Riva
Sun Mar 19, 2017 8:22 am
Forum: Libraries & Hardware
Topic: u8g2 for maple mini
Replies: 3
Views: 252

Re: u8g2 for maple mini

dev wrote:But i think i have monochrome oled.

The pictured OLED display is monochrome, it just has 2x different coloured transparent tapes on the face that give the colour.
by Riva
Sat Feb 18, 2017 4:27 pm
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 346

Re: Intercept the usart isr without resorting to hacking the core

I'm not actually using it, I'm using the normal core, but seems to work for the problem Riva was dealing with. Are you using it for all the irq handlers or in which cases? I have done the weakref for all 3 Usarts and the 2 Uarts in the isrs.S file and added __weak to to the interrupt definitions in...
by Riva
Sat Feb 18, 2017 10:03 am
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 346

Re: Intercept the usart isr without resorting to hacking the core

If we can work out whether there are any downsides to making these into weak references, I"d be happy to accept a PR to change this. But we'd need to make very sure it doesnt break something ;-) Logic says it should be fine as it seems the original interrupt vectors are used unless a sketch/li...
by Riva
Sat Feb 18, 2017 9:51 am
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 346

Re: Intercept the usart isr without resorting to hacking the core

@victor_pv

This is the version I did

Code: Select all

.weak   __exc_nmi
.globl   __exc_nmi
.weakref __exc_nmi, __default_handler

Go to advanced search