Atmega 328P Project programming

Hi! We are building a PCB using the atmega328P PU as the main controller, in short, we are trying to make an arduino uno but with less around it...

So we are going to use a wifi chip on the TX and RX pins, programming we did with an arduino uno connected to the MISO MOSI SCK and RESET pins, however we HAVE to be able to also do this with an FTDI chip.

Does anyone know how to use FTDI with MISO MOSI etc. instead of the usual RX and TX?

Thank you!
-HJ and the project team

(deleted)

HANSJORG2 writes:

in short, we are trying to make an arduino uno but with less around it...

Oh right, but then you say:

So we are going to use a wifi chip on the TX and RX pins

So, how is that less ?
I'm sure I am not the only one confused with what you write.

If you wish to program using SPI, simply use a USBasp device as I do, so simple, it's hardly worth talking about.
You will not be able to use a serial based FTDI with SPI.


Paul - VK7KPA

We are only allowed to use: SparkFun USB to Serial Breakout - FT232RL - BOB-12731 - SparkFun Electronics
And we need to program serial, so I guess some way or another is must be possible...

I don't know why, we are allowed to freely make any project we want but we HAVE to do it this way... :frowning:

HANSJORG2:
We are only allowed to use: SparkFun USB to Serial Breakout - FT232RL - BOB-12731 - SparkFun Electronics
And we need to program serial, so I guess some way or another is must be possible...

That means that Rx and Tx must be available for programming.

Maybe you can use SoftwareSerial for the WiFi connection?

...R

edit: program with ISP*

and ISP means MOSI,... pins, right?

The assignment, as you have summarized it, is absolutely ridiculous. Perhaps your understanding of the assignment is not correct.

That said, the FTDI chip does have programmable output lines, and can be used for SPI communications. However, you would have to write your own programming software on the PC/Mac to be able to make use of it that way, and for many reasons, no one in their right mind would do that.

jremington:
The assignment, as you have summarized it, is absolutely ridiculous.

FINALLY, thank you! :frowning: