Timeline for How to get a PIC32 SPI port working for transmitting data?
Current License: CC BY-SA 2.5
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 9, 2010 at 14:47 | comment | added | Malife | Two more things: you don' seem to be servicing the interrupts. If you have Tx and Rx inrerrupts you need to have an ISR that clears the interrupt flags. Also, the first time around I did not notice that you are trying to connect an SPI signal to a serial port in a PC. as tcrosley points out you can not do that directly. You need something like this maxim-ic.com/datasheet/index.mvp/id/2052 to change the protocol from a clocked SPI signal to an RS232. This is why even though you have the right baud rate you see garbage. | |
Oct 9, 2010 at 5:17 | history | answered | Malife | CC BY-SA 2.5 |