yes, that sounds good.
Back to the CSD register: Would you recommend a function in the MMC driver that returns the value in the CSD (more specialized) or a function that allows to send an arbitrary command to the MMC (more generic)? A third solution was a function that reads the size of the card ...
Search found 18 matches
- Mon Mar 12, 2012 12:06 pm
- Forum: Development and Feedback
- Topic: FAT FS using MMC_SPI: Sync
- Replies: 8
- Views: 7667
- Fri Mar 09, 2012 4:25 pm
- Forum: Development and Feedback
- Topic: [AT91SAM7X] PAL config in SPI driver
- Replies: 2
- Views: 3830
Re: [AT91SAM7X] PAL config in SPI driver
well, that's true of course. Then I will do that in board.h or board.c as well.
- Fri Mar 09, 2012 4:21 pm
- Forum: Development and Feedback
- Topic: FAT FS using MMC_SPI: Sync
- Replies: 8
- Views: 7667
FAT FS using MMC_SPI: Sync
Hi Giovanni,
maybe that was discussed already, but I didn't find anything yet.
I want to use the FAT_FS by http://elm-chan.org/fsw/ff/00index_e.html on the MMC_SPI driver.
The FS requires a low-level function that finishes all pending write operations (or at least guarantees that no ...
maybe that was discussed already, but I didn't find anything yet.
I want to use the FAT_FS by http://elm-chan.org/fsw/ff/00index_e.html on the MMC_SPI driver.
The FS requires a low-level function that finishes all pending write operations (or at least guarantees that no ...
- Fri Mar 09, 2012 2:42 pm
- Forum: Development and Feedback
- Topic: [AT91SAM7X] PAL config in SPI driver
- Replies: 2
- Views: 3830
[AT91SAM7X] PAL config in SPI driver
Hi Giovanni,
I tried to use the SPI_LLD driver for the AT91SAM7X µC. As I see, the slave select lines are not set by the hardware SPI controller but by the software driver using the PAL module. I wondered where the PAL configuration is done for that lines and indeed the CS didn't work instantly ...
I tried to use the SPI_LLD driver for the AT91SAM7X µC. As I see, the slave select lines are not set by the hardware SPI controller but by the software driver using the PAL module. I wondered where the PAL configuration is done for that lines and indeed the CS didn't work instantly ...
- Thu Oct 13, 2011 3:18 pm
- Forum: General Support
- Topic: Enable single PAL pads?
- Replies: 6
- Views: 5766
Re: Enable single PAL pads?
Hi,
sorry for answering so late.
Here is the modified file. As discussed, I removed the activation of all PIO channels in the init function (writing 0xFFFFFFFF to PIO_PER) and added it to the setgroupmode function.
Everything else should be unchanged but you better try a diff before committing ...
sorry for answering so late.
Here is the modified file. As discussed, I removed the activation of all PIO channels in the init function (writing 0xFFFFFFFF to PIO_PER) and added it to the setgroupmode function.
Everything else should be unchanged but you better try a diff before committing ...
- Fri Sep 23, 2011 2:21 pm
- Forum: Development and Feedback
- Topic: Interrupt support on PAL module
- Replies: 27
- Views: 20897
Re: Interrupt support on PAL module
I found a few bugs in the interrupt handler and fixed them. So just forget the files above and use this ones please.
Regards,
Florian
Regards,
Florian
- Thu Sep 22, 2011 3:14 pm
- Forum: Development and Feedback
- Topic: Interrupt support on PAL module
- Replies: 27
- Views: 20897
Re: Interrupt support on PAL module
Attached you find the source and header of the ext LL driver for the SAM7.
Do you have any comments/critics about it?
Regards,
Florian
@edit: Deleted buggy files.
Do you have any comments/critics about it?
Regards,
Florian
@edit: Deleted buggy files.
- Thu Sep 22, 2011 2:20 pm
- Forum: General Support
- Topic: Enable single PAL pads?
- Replies: 6
- Views: 5766
Re: Enable single PAL pads?
Ok i will add those changes and post the modified file here in this thread.
- Thu Sep 22, 2011 9:51 am
- Forum: General Support
- Topic: Enable single PAL pads?
- Replies: 6
- Views: 5766
Re: Enable single PAL pads?
On the SAM7, a pin can be set either to GPIO usage or Peripheral A or Peripheral B. The peripherals could be things like UART, SPI, etc.
The choice, if a pin is used by the PIO controller (for GPIO) or for a peripheral is done in the PIO Enable Register within the PIO controller. Within the _pal ...
The choice, if a pin is used by the PIO controller (for GPIO) or for a peripheral is done in the PIO Enable Register within the PIO controller. Within the _pal ...
- Wed Sep 21, 2011 5:41 pm
- Forum: General Support
- Topic: Enable single PAL pads?
- Replies: 6
- Views: 5766
Enable single PAL pads?
Hi,
I have a question about the PAL driver. For me it seems impossible to enable or disable the PAL functionality for single pads? So, if I enable the PAL module by setting HAL_USE_PAL to TRUE, it automatically enables the GPIO functionality on all pads/pins in the _pal_lld_init.
We are working on ...
I have a question about the PAL driver. For me it seems impossible to enable or disable the PAL functionality for single pads? So, if I enable the PAL module by setting HAL_USE_PAL to TRUE, it automatically enables the GPIO functionality on all pads/pins in the _pal_lld_init.
We are working on ...