Skip to content
Snippets Groups Projects
Commit 7a8b0386 authored by Dean Camera's avatar Dean Camera
Browse files

Fix Dataflash driver for the XMEGA-B1 XPLAINED - the Dataflash is connected to...

Fix Dataflash driver for the XMEGA-B1 XPLAINED - the Dataflash is connected to the USART module, but requires physical port remapping.
parent 01a80df6
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,8 @@
{
DATAFLASH_CHIPCS_PORT.DIRSET = DATAFLASH_CHIPCS_MASK;
DATAFLASH_CHIPCS_PORT.OUTSET = DATAFLASH_CHIPCS_MASK;
PORTE.REMAP |= PORT_USART0_bm;
}
/** Sends a byte to the currently selected dataflash IC, and returns a byte from the dataflash.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment