Hi, I finally managed to program an atmega328p with an other arduino as isp. The target atmega328p is on a custom pcb, where it will be used to control a CC1101 tranceiver from TI.
Everything work well to program the atmega when it’s alone on the board, as soon as I add the CC1101 to the board I can’t program the atmega anymore. I get either yikes error, or bad signature error.
I wonder if the fact that the CC1101 is connected to the atmega through SPI could be a problem.
Because for ISP I use arduino pins 11 12 13 and reset. But 11,12 and 13 are also connected to the CC1101 for the SPI.
When I try to program the atmega via isp, the CC1101 I make sure that the CC1101 is not powered up too.
But could the shared sck mosi and miso pins be enough to crash the programming?
Like the CC1101 try to communicate too on thoose pins, and disturb the ISP programming of the atmega?
thanks for the help, you would be able to give me
ps: fin attached the part of the circuit I am talking about.