It's cool but it's becoming a huge headache. BTW, the RF-link I think I can replace with the wifi module. It's like everytime I look around for something to fit the requirements, I get excited but then figure out it's missing one critical thing. I could move over to MikroElectronika stuff because they have pic24 and pic32 stuff, but then I have to buy all new stuff and learn their version of Basic.I think that all you need to do is take a moment with a pen and a piece of paper and really think thru what you need. It sounds like a pretty complicated product if it requires USB, CAN, WiFi, RF-link and what not - but that's cool.I was planning to make the RN-171 an add-on board with SPI connections on the header. The 18F4550 has dedicated ICSP pins. I don't use PortB.6 or PortB.7 for ICSP. You see how the 18F45J50 has N/C on pins 12, 13 and 33? The 18F4550 has dedicated ICSP connections on 12, 13 and 33, which allows you to use PortB.6 and PortB.7 pins for whatever you want. I could workaround that by using an input or output that's high impedance during programming so it's a minor issue for me.I don't follow here. Don't you need to redesign in order to add the RN-171 and your external UART chip?
On the 18F45J50 PGC and PGD are on PortB.6 and PortB.7 respectively - exactly the same place as on the 18F4550 you're currently using. What do you mean by dedicated?
The requirements I need are SPI, CAN, USB and one USART that doesn't use any of the SPI pins.
Right now I'm using the 18F4550. I have an MCP4912 and an MCP2515 connected to it. I'm also using the USB function and I need to use the RN-171.
There's no easy answer unless I move to a PIC32. It looks like there would be a huge learning curve but it would enable me to remove the MCP2515 and possibly the MCP2551 but I wasn't able to confirm that.
If the RN-171 only had SPI all of this thinking wouldn't be needed.......
Bookmarks