Hello everybody!
I designed to use SPI by referring to the PIC24FJ256GA406 manual. The pin definition of SPI channel4 and FC8 are different in the manual. MISO and MOSI have been changed. My PCB is already made.
Is there any way to solve this?
PIC24FJ256GA406 SPI Channel4 Different
Moderator: Benj
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: PIC24FJ256GA406 SPI Channel4 Different
Hi Seokgi
You can use the SPI in softwaremode. In this mode you can change the pin mosi and miso.
Can you post the schema of the hardware (part from the SPI) and maybe your software.
a little tip:
On the hardware, on a free place 4 whole to cross .....
regards
Stefan
You can use the SPI in softwaremode. In this mode you can change the pin mosi and miso.
Can you post the schema of the hardware (part from the SPI) and maybe your software.
a little tip:
On the hardware, on a free place 4 whole to cross .....
regards
Stefan
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC24FJ256GA406 SPI Channel4 Different
Hello,
Looking at the datasheet for the PIC24FJ256GA406 we have these pin connections.
They look to match the settings in Flowcode.
I've looked and the other SPI channels cannot be reconfigured for these same pins so it looks like there aren't any software options for using a hardware SPI channel. One option is to cut the existing traces and manually swap the traces using link wire.
As Stefan says, software mode may be a better option for you.
Looking at the datasheet for the PIC24FJ256GA406 we have these pin connections.
They look to match the settings in Flowcode.
I've looked and the other SPI channels cannot be reconfigured for these same pins so it looks like there aren't any software options for using a hardware SPI channel. One option is to cut the existing traces and manually swap the traces using link wire.
As Stefan says, software mode may be a better option for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel