Search found 317 matches
- Fri Dec 06, 2024 7:19 am
- Forum: Modules
- Topic: ISRTimer.bas problems
- Replies: 3
- Views: 44
Re: ISRTimer.bas problems
oops that was a copy and paste error i was just showing the interval. the flowcounts variable was being sent in the main code loop. Device = 18F47Q43 Clock = 64 Config FEXTOSC = OFF, // Oscillator not enabled RSTOSC = HFINTOSC_64MHZ,// HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1 CLKOUTEN = OFF // CL...
- Wed Dec 04, 2024 12:46 pm
- Forum: Modules
- Topic: ISRTimer.bas problems
- Replies: 3
- Views: 44
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...
- Tue Sep 03, 2024 6:18 am
- Forum: IDE
- Topic: osc advice
- Replies: 3
- Views: 360
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...
- Thu Aug 22, 2024 6:07 am
- Forum: IDE
- Topic: osc advice
- Replies: 3
- Views: 360
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...
- Tue Aug 20, 2024 4:08 pm
- Forum: IDE
- Topic: osc advice
- Replies: 3
- Views: 360
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...
- Tue Jun 04, 2024 10:52 am
- Forum: Compiler
- Topic: Float byte format
- Replies: 2
- Views: 517
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...
- Mon Jun 03, 2024 9:41 am
- Forum: Compiler
- Topic: Float byte format
- Replies: 2
- Views: 517
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 ...
- Tue Apr 23, 2024 6:35 am
- Forum: General
- Topic: slew rate control
- Replies: 3
- Views: 1465
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...
- Fri Apr 19, 2024 11:55 am
- Forum: General
- Topic: slew rate control
- Replies: 3
- Views: 1465
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...
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.
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.
Firewing
anyone know what's happened to the firewing website?,
anything we can help with?
Richard
anything we can help with?
Richard
- Tue Mar 19, 2024 8:14 am
- Forum: User Modules
- Topic: isrrx routine
- Replies: 2
- Views: 1296
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...
- Mon Mar 18, 2024 10:47 am
- Forum: User Modules
- Topic: isrrx routine
- Replies: 2
- Views: 1296
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...
- Fri Mar 01, 2024 1:26 pm
- Forum: General
- Topic: UMC Bootloader
- Replies: 10
- Views: 2044
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
- Thu Feb 29, 2024 2:31 pm
- Forum: General
- Topic: UMC Bootloader
- Replies: 10
- Views: 2044
Re: UMC Bootloader
Thanks Gerry I'll have a look at this tomorrow