AtomSoft
Well-Known Member
hey guy im trying to make my own SPI Slave bitbang code and wanted to know whats the flow?
I know i have to:
1. Check CS line
2. Get data (command)
3. Check command and run other code to command
4. if command ask me to send data back when clock is pulsed
What im worried about is how much time do i have between getting the command and sending the data?
What standards are there? i hear of a 100khz and 400khz or does it depend solely on the master?
I know i have to:
1. Check CS line
2. Get data (command)
3. Check command and run other code to command
4. if command ask me to send data back when clock is pulsed
What im worried about is how much time do i have between getting the command and sending the data?
What standards are there? i hear of a 100khz and 400khz or does it depend solely on the master?