Hi I had made a board with LPC1768 and wrote code for UART, ADC, SD_File, Ethernet, CAN etc. All working I ordered for new boards with solder mask, with no difference on chip connections. Again almost everything such as UART, ADC, Ethernet and ... are working, just SD File is not working
I looked at SCK0 using an oscilloscope in the first board (Even with SD out) and I could see obvious clock pulses Then I looked at SCK0 of the second board, I was just having SCK0 driven low for a short time and then high state again
Could anyone suggest me how I can figure out the problem?
To check SPI, I wrote another simple code, I could see pulses on SCK0, but when I use finit(NULL), it's not working
Thank you in advance for your help
Solved. The problem was that P4.29 should be pulled down when using flash_fs library
I had removed that resistor because I believed RXD3 should be pulled up