Search found 316 matches

by richardb
Wed Dec 04, 2024 12:46 pm
Forum: Modules
Topic: ISRTimer.bas problems
Replies: 0
Views: 3

ISRTimer.bas problems

Sorry to ask again but i seem to be having an issue with the "ISRTimer.bas" module this is clearly my lack of understanding but i hardly ever use timers. Event OnTimer() TP1 = 1 If Mscounter >= 1000 Then Mscounter=0 TimePassedInMS=TimePassedInMS+1 flowcounts = counter counter=0 Else Mscounter=Mscoun...
by richardb
Tue Sep 03, 2024 6:18 am
Forum: IDE
Topic: osc advice
Replies: 3
Views: 327

Re: osc advice

Ok so an update. After putting my debug kit back on the microcontroller i was getting a warning about buffer overrun when the problem was occuring. Sub CheckForNewData() Dim inbyte As Byte If ISRRX.BufferOverrun Or ISRRX.Overrun Then MyDebug("{OverRun}"+CrLf) ISRRX.Reset EndIf While ISRRX.DataAvaila...
by richardb
Thu Aug 22, 2024 6:07 am
Forum: IDE
Topic: osc advice
Replies: 3
Views: 327

Re: osc advice

I was hoping I'd overlooked something, I'll try checking the registers you suggested. I'm used to noise, I make Pulsed laser power supplies, the problem is that i have made a new PCB and one of the changes was using the intosc on this chip as i was low on pins and I haven't used it much before. So I...
by richardb
Tue Aug 20, 2024 4:08 pm
Forum: IDE
Topic: osc advice
Replies: 3
Views: 327

osc advice

Hi on a similar theme to the device config issue. I have been having an issue with noise on a board that has a a pic18f47q43 in a socket its running with internal oscilator at 64MHz, i originally had the config as below. Config FEXTOSC = OFF, // Oscillator not enabled RSTOSC = HFINTOSC_64MHZ,// HFIN...
by richardb
Tue Jun 04, 2024 10:52 am
Forum: Compiler
Topic: Float byte format
Replies: 2
Views: 494

Re: Float byte format

Thanks Jerry, I am trying to decode this in the windows application as this is for diagnostics/debug so I wanted to minimize the amount of time the pic spends sending data. I have now found an application note from microchip but I am getting incorrect values in windows so I must have messed up my bi...
by richardb
Mon Jun 03, 2024 9:41 am
Forum: Compiler
Topic: Float byte format
Replies: 2
Views: 494

Float byte format

hi, I'm trying to send a float to a pc using the following Public Sub WriteFloat(pValue As Float) WriteByte(pValue.Bytes(0)) WriteByte(pValue.Bytes(1)) WriteByte(pValue.Bytes(2)) WriteByte(pValue.Bytes(3)) End Sub End Sub the data i get back on the pc doesn't seem in a standard Microsoft format but ...
by richardb
Tue Apr 23, 2024 6:35 am
Forum: General
Topic: slew rate control
Replies: 3
Views: 1435

Re: slew rate control

Sorry for the slow reply, Ok, this is a bit embarrassing. In my defence this was an old board design where I have just changed to a new processor, and a new fault had been introduced. I had 1k series resistors inline with the fpga as level shifters as the fpga has clamp diodes. but this value is rea...
by richardb
Fri Apr 19, 2024 11:55 am
Forum: General
Topic: slew rate control
Replies: 3
Views: 1435

slew rate control

I'm using an18f47q43 for some software spi comms and the slew rate looks a bit slow compared to other pics at approx. 200ns, I noticed the datasheet has mention of slew rate control so I tried adding the following after setalldigital SLRCONA = 0 SLRCONB = 0 SLRCONC = 0 SLRCOND = 0 SLRCONE = 0 and al...
by richardb
Fri Apr 19, 2024 11:39 am
Forum: General
Topic: Firewing
Replies: 2
Views: 1108

Re: Firewing

odd, sorry for the delay i thpought i had replied,

i get this, from work and my mobile.

"
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later."

I'll try again from home.
by richardb
Fri Mar 29, 2024 3:33 pm
Forum: General
Topic: Firewing
Replies: 2
Views: 1108

Firewing

anyone know what's happened to the firewing website?,

anything we can help with?

Richard
by richardb
Tue Mar 19, 2024 8:14 am
Forum: User Modules
Topic: isrrx routine
Replies: 2
Views: 1276

Re: isrrx routine

I have a work around now but I don't like it. I have 2 pcb's connected via rs485 if I check ISRRX.DataAvailable too often (1ms) i seem to get modifications to my input string where I collate and check the incoming packet. even though if i send the input byte to a debug output the bytes coming in are...
by richardb
Mon Mar 18, 2024 10:47 am
Forum: User Modules
Topic: isrrx routine
Replies: 2
Views: 1276

isrrx routine

I'm having some really odd problems with receiving data over usart using the isrrx2 routine using a 47q43 part. I had a look in the library folder for interrupts and noticed there is a xvISRRX2.bas file should i be using this for the q43 series?. PS is there a prefered method of checking how much da...
by richardb
Fri Mar 01, 2024 1:26 pm
Forum: General
Topic: UMC Bootloader
Replies: 10
Views: 2010

Re: UMC Bootloader

Thanks Gerry that works really well, although..... I spent much too long trying to diagnose a problem that didn't exist because I didn't realise i had to select the umc button on the mcloader and i doesnt really show that its selected. thanks again for your help on this i really appreciate it. Richard
by richardb
Thu Feb 29, 2024 2:31 pm
Forum: General
Topic: UMC Bootloader
Replies: 10
Views: 2010

Re: UMC Bootloader

Thanks Gerry I'll have a look at this tomorrow
by richardb
Wed Feb 28, 2024 1:50 pm
Forum: General
Topic: UMC Bootloader
Replies: 10
Views: 2010

Re: UMC Bootloader

Thanks Gerry,

I was expecting the pins to use portc.6-7 but the datasheet was unclear on the tx1 pin it just said it was remappable.

anyway portc.6-7 are fine for me.


Thanks