Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Olimex PIC32-T795 support
11-05-2013, 11:38 AM,
#32
RE: Olimex PIC32-T795 support
Hello pinguiners,
I use SPI3 in my project (default for T795). Got to point where I needed UART2 as well (which is on header btw), but discovered this:
- if I use UART2 after SPI3 init, UART3 RX does not work
- if I move code for UART2 before SPI3 init, RX works.
So, 1st is issue with my changes in spi.c, need correct IEC/IFS register bit definitions for SPI3. I made them in interrupt.c and spi.c. Since bits are shared with UART1, they are the same numbers, also vector I put the same.
But, unfortunately after these changes, millis() stop working, which seems unrelated and I cannot figure out why.
Fixed for now with commented out all 3 IntDisable(xx) in SPI.init - again, for me seems unrelated to TMR2.
UART1 is not in use.
May be some ideas?

Reggie


Attached Files
.c   spi.c (Size: 9.99 KB / Downloads: 1)
.c   interrupt.c (Size: 31.06 KB / Downloads: 1)
Reply


Messages In This Thread
Olimex PIC32-T795 support - by imrehg - 02-10-2012, 06:34 AM
RE: Olimex PIC32-T795 support - by regis - 02-10-2012, 10:17 AM
RE: Olimex PIC32-T795 support - by imrehg - 02-10-2012, 10:19 AM
RE: Olimex PIC32-T795 support - by regis - 02-10-2012, 12:42 PM
RE: Olimex PIC32-T795 support - by imrehg - 02-10-2012, 04:50 PM
RE: Olimex PIC32-T795 support - by imrehg - 03-10-2012, 09:20 AM
RE: Olimex PIC32-T795 support - by regis - 03-10-2012, 10:16 AM
RE: Olimex PIC32-T795 support - by regis - 03-10-2012, 10:28 AM
RE: Olimex PIC32-T795 support - by imrehg - 03-10-2012, 10:34 AM
RE: Olimex PIC32-T795 support - by regis - 03-10-2012, 11:09 AM
RE: Olimex PIC32-T795 support - by imrehg - 03-10-2012, 12:15 PM
RE: Olimex PIC32-T795 support - by pingotg - 03-10-2012, 11:25 AM
RE: Olimex PIC32-T795 support - by pingotg - 03-10-2012, 07:07 PM
RE: Olimex PIC32-T795 support - by imrehg - 04-10-2012, 03:26 AM
RE: Olimex PIC32-T795 support - by schumi - 04-10-2012, 07:30 AM
RE: Olimex PIC32-T795 support - by imrehg - 04-10-2012, 11:46 AM
RE: Olimex PIC32-T795 support - by schumi - 04-10-2012, 01:47 PM
RE: Olimex PIC32-T795 support - by imrehg - 04-10-2012, 05:20 PM
RE: Olimex PIC32-T795 support - by pingotg - 04-10-2012, 12:17 PM
RE: Olimex PIC32-T795 support - by schumi - 16-10-2012, 03:38 PM
RE: Olimex PIC32-T795 support - by imrehg - 19-10-2012, 05:33 AM
RE: Olimex PIC32-T795 support - by ringo125 - 31-03-2013, 08:20 PM
RE: Olimex PIC32-T795 support - by pingotg - 01-04-2013, 09:59 AM
RE: Olimex PIC32-T795 support - by ringo125 - 01-04-2013, 10:21 AM
RE: Olimex PIC32-T795 support - by ringo125 - 01-04-2013, 06:23 PM
RE: Olimex PIC32-T795 support - by ringo125 - 01-04-2013, 07:30 PM
RE: Olimex PIC32-T795 support - by ringo125 - 02-04-2013, 09:03 PM
RE: Olimex PIC32-T795 support - by ringo125 - 30-04-2013, 11:34 AM
RE: Olimex PIC32-T795 support - by regis - 01-05-2013, 09:04 AM
RE: Olimex PIC32-T795 support - by ringo125 - 02-05-2013, 11:13 AM
RE: Olimex PIC32-T795 support - by regis - 02-05-2013, 11:35 AM
RE: Olimex PIC32-T795 support - by ringo125 - 11-05-2013, 11:38 AM
RE: Olimex PIC32-T795 support - by ANTONi - 16-09-2013, 10:35 PM
RE: Olimex PIC32-T795 support - by pinguPlus - 16-09-2013, 11:04 PM
RE: Olimex PIC32-T795 support - by ANTONi - 16-09-2013, 11:40 PM
RE: Olimex PIC32-T795 support - by pingotg - 17-09-2013, 12:59 AM
RE: Olimex PIC32-T795 support - by regis - 19-09-2013, 09:20 AM
RE: Olimex PIC32-T795 support - by regis - 19-09-2013, 10:00 AM
RE: Olimex PIC32-T795 support - by ANTONi - 19-09-2013, 12:00 PM
RE: Olimex PIC32-T795 support - by LubOlimex - 19-09-2013, 04:01 PM
RE: Olimex PIC32-T795 support - by ANTONi - 19-09-2013, 11:12 PM
RE: Olimex PIC32-T795 support - by LubOlimex - 20-09-2013, 02:34 PM
RE: Olimex PIC32-T795 support - by Pinguino - 24-09-2013, 08:50 AM
RE: Olimex PIC32-T795 support - by Hershell - 19-09-2016, 05:30 PM
RE: Olimex PIC32-T795 support - by regis - 19-09-2016, 05:37 PM
RE: Olimex PIC32-T795 support - by Hershell - 19-09-2016, 09:44 PM
RE: Olimex PIC32-T795 support - by regis - 20-09-2016, 09:26 AM
RE: Olimex PIC32-T795 support - by Hershell - 20-09-2016, 08:35 PM
RE: Olimex PIC32-T795 support - by regis - 21-09-2016, 04:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)