Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/josejx/josejx.net/collie/index.php:1) in /hsphere/local/home/josejx/josejx.net/collie/index.php on line 341

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/josejx/josejx.net/collie/index.php:1) in /hsphere/local/home/josejx/josejx.net/collie/index.php on line 342
RX

RX

Front Page Edit Recent Changes All Pages Find Page

Receiving

Getting data from the card

If the Clock Frequency Select isn't set to 0 or the Clock Multiplier Select isn't set to 0 (in the LoCoMo SPI Mode register)

  1. Wait for bit 0x1 to be set in LoCoMo SPI Status (max wait depends on clock)
  2. Read one byte from LoCoMo SPI RX Data Read
  3. Wait for bit 0x1 to be unset in LoCoMo SPI Status (max wait depends on clock)
  4. Repeat for each byte to receive from the card

Otherwise

  1. Busy loop 12 times (needed?)
  2. Wait for bit 0x1 to be set in LoCoMo SPI Status (up to 10 checks in a busy loop)
  3. Read one byte from LoCoMo SPI RX Data Read
  4. Repeat for each byte to receive from the card

Max Wait Table

Check the LoCoMo SPI Status register on each loop
Clock Frequency Select Wait Loops
4 0x10001
Others 0xA