2
\$\begingroup\$

In Table 11-3, p180 of http://ww1.microchip.com/downloads/en/DeviceDoc/70000657H.pdf, there is no way to map any spi1 pins?!

I've gotten spi2 pins to work, but I need two buses and the part was specifically chosen because it had two spi peripherals. Is the documentation lacking? Is there something simple I'm missing? Part of me is tempted to just guess every binary combo of 6 bits.

The errata here seems to have no helpful mention either: http://ww1.microchip.com/downloads/en/DeviceDoc/80000533g.pdf

\$\endgroup\$
  • \$\begingroup\$ Which device? The datasheet has many variations. \$\endgroup\$ – Adam Lawrence Dec 2 '13 at 3:05
  • \$\begingroup\$ Sorry, the dsPIC33EP256MC202 \$\endgroup\$ – tarabyte Dec 2 '13 at 5:21
3
\$\begingroup\$

You're missing something. Page 3 of your first link sums it up quite succinctly:

Only SPI2 is remappable.

What that means is: for a device with two SPI ports, SPI1 will be hard-wired to certain GPIO lines and you won't be able to change which ones they are.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.