Hi!
Little aside, but can you describe how to implement SPI2 in JAL? I can't find any examples of syntax. Also, on the 18F46J50 family I'd need to use PPS to move the SPI2 I/O to some of the PPS pins. Thanks! On Friday, June 3, 2016 at 7:14:26 AM UTC-4, funlw65(Vasi) wrote: > > Hi Matt, > > Tried your "FAT32-small sample for reading fat32 filesystem" on a 2GB > Fat32, 512bytes per sector SD card and > the file it creates for writing and reading it does not appear when card > is mounted on Linux. Is this > intentionally? > > Hardware used: PIC18F46K22 at 64MHz with SPI2. > Behavior: Program runs just fine, data is written and read correctly, it > displays on the serial > terminal. But the file is not readable on PC - it doesn't appear. > Then another program is created to just displaying the data on the card > and the data is there > and displays just fine. > > At your settings, the program > is not working correct so I had to set the SPI rate to SPI_RATE_FOSC_64 > and SPI mode to SPI_MODE_00. > > I know this micro has a lot of problems at 64 MHz... kinda got sick of > it... > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout.
