User manual
RC200/203 Manual
www.celoxica.com Page 66
Parameters:
Data: Data value of type unsigned 8.
Timing: 1 or more clock cycles (blocks until data is sent).
Description:
Writes a single item of data to the Bluetooth interface from
the expression
Data. Note that these are raw bytes to the
Bluetooth interface device.
By default the Bluetooth interface device uses the BlueCore
Serial Protocol (BCSP) from Cambridge Silicon Radio.
5.15 SmartMedia macros
The RC200 supports SmartMedia devices between 4 and 128 megabytes. For devices of
16 megabytes or more, you can use physical or logical addressing. You are
recommended to use logical addressing, as this preserves the CIS block and misses out
bad blocks. For devices of less than 16 megabytes, you can only use physical addressing.
5.15.1 Using the SmartMedia macros
Accessing the SmartMedia card
To use the RC200 PSL macros to access SmartMedia, you need to:
1. Call the
RC200SmartMediaRun() macro in parallel with the other SmartMedia
macros and in parallel to
RC200CPLDRun().
2. Enable the CPLD using
RC200CPLDEnable().
3. Call
RC200SmartMediaInit() in parallel with RC200SmartMediaRun(), and
before any of the other SmartMedia macros.
For example:
par
{
RC200CPLDRun();
RC200SmartMediaRun();
seq
{
RC200CPLDEnable();
RC200SmartMediaInit();
}
}
Reading from or writing to SmartMedia
You are advised not to mix logical and physical addressing when accessing the
SmartMedia card.