Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - richardtam

Pages: 1
1
Sorry for silly question.

I found out that Arduino platform using another pin mapping (or naming) and it is NOT related to the physical pin number of the chip. For ATmega328, arduino mapping is as following:
https://www.arduino.cc/en/Hacking/PinMapping168

Therefore, the SS pin (physical pin number is pin 14) is named as pin 10 in Arduino platform.

2
According to the spec of ATmega328 from TinyDuino board, the SS pin (for SPI chip select pin/PB2) should be in pin 14. It also show in the schematic. When I refer to the SD card tutorial (https://tinycircuits.com/blogs/learn/121547591-using-the-microsd-adapter-tinyshield-tutorial), it states that the chip select pin should be in pin 10.

Why the chip select (SS) is in pin10?

Pages: 1
SMF spam blocked by CleanTalk