Search found 9 matches

by OlliD
11 Aug 2012 15:00
Forum: Timer Calculator
Topic: Timer Calculator Application Released!
Replies: 82
Views: 984640

Re: Timer Calculator Application Released!

Really handy application. Thanks for providing it, Janko!

Cheers,
Olli
by OlliD
11 Aug 2012 14:54
Forum: mikroBasic PRO for PIC General
Topic: Solved: How to "self-reset" serial port on 18F452?
Replies: 10
Views: 3211

Re: Solved: How to "self-reset" serial port on 18F452?

Thanks Tom! Haven't thought of it yet. Getting into more complex projects now (meaning using more built-in features of the MCUs). So glad to have learned a few new things! :) BTW: My own USART rx routine above takes over 100 bytes less space than the UART1_Read_Text compiler routine in that special ...
by OlliD
10 Aug 2012 23:38
Forum: mikroBasic PRO for PIC General
Topic: Solved: How to "self-reset" serial port on 18F452?
Replies: 10
Views: 3211

Re: Solved: How to "self-reset" serial port on 18F452?

Hi Fakir, as written above I use the timer to generate an interrupt and then simply reset the whole MCU from the interrupt routine using the "Reset()" command available for the P18 controllers in MikroBasic. Maybe a "dirty" solution but it works well for it's purpose and fits into the program philos...
by OlliD
09 Aug 2012 21:48
Forum: mikroBasic PRO for PIC General
Topic: Solved: How to "self-reset" serial port on 18F452?
Replies: 10
Views: 3211

Re: How to "self-reset" serial port on 18F452?

Just to let you guys know I solved that last problem, too. Using the wonderful MikroElektronika "Time Calculator" application I generated the code to activate Timer0. It is only activated on the my serial sub routine where I use USART, otherwise it is switched off. If timer flows over an interrupt i...
by OlliD
09 Aug 2012 00:12
Forum: mikroBasic PRO for PIC General
Topic: Solved: How to "self-reset" serial port on 18F452?
Replies: 10
Views: 3211

Re: How to "self-reset" serial port on 18F452?

Thanks Fakir, understood now. Helps to reduce the code. :) But my problem still remains. Also UART1_Read_Text routine is self-blocking (like my own code), it must receive characters otherwise the attempts counter will not go forward. Just did some testing. If I do not receive anything at all (i.e. n...
by OlliD
08 Aug 2012 18:56
Forum: mikroBasic PRO for PIC General
Topic: Solved: How to "self-reset" serial port on 18F452?
Replies: 10
Views: 3211

Re: How to "self-reset" serial port on 18F452?

@lasa@kiatronics: Thank you. Never used timers before so have to dig into the datasheets again to see how they work and how to set them up to get at least 1 second until the timer has overflown. Only remember timers are counting per processor cycle so that would be quite a lot cycles at 48 MHz. ;-) ...
by OlliD
07 Aug 2012 21:49
Forum: mikroBasic PRO for PIC General
Topic: Solved: How to "self-reset" serial port on 18F452?
Replies: 10
Views: 3211

Solved: How to "self-reset" serial port on 18F452?

Hi guys, I wrote a small application on an 18F452 where I send some commands to an external device via serial interface, get a response and then react to the response. So far so good, everything's working fine. This is the code I use to receive the serial answer (looking for delimiter ";"): UART1_Wr...
by OlliD
14 Apr 2010 19:08
Forum: mikroBasic PRO for PIC General
Topic: ISD1700 voice-chip SPI interface to PIC micro?
Replies: 2
Views: 4805

Re: ISD1700 voice-chip SPI interface to PIC micro?

Hi Peter, yes, I did. And programming should be appropriate to the described sequences in the design guide. In the end it worked for others, too, and my code is nothing else than a translation of another basic dialect where it works so I have no clue why not here. Probably due to timing issues as th...
by OlliD
13 Apr 2010 21:27
Forum: mikroBasic PRO for PIC General
Topic: ISD1700 voice-chip SPI interface to PIC micro?
Replies: 2
Views: 4805

ISD1700 voice-chip SPI interface to PIC micro?

Hi guys, anybody already got the ISD1700 voice recorder chip series to work with a PIC micro? I have spent at least 6 weeks now during the last 2 years trying to get the thing work via SPI but no success at all. :( Inbetween I learned that the ISD1700 series does not use a standard SPI but everythin...

Go to advanced search