I want to output 8-bit data from FRDM-K64F. How could I do this and which module should I use? Many thanks!
There are a lot of options to send data to other devices. The best option depends on the another device and the throughput of data that your application needs. If you need something easy you can take a look into the UART peripheral.
Hello Qingyuan Meng,
Do you need that 8-bit data in the MCU pins or do you need to send it to another peripheral?
If you want the 8-bit data in the MCU pins you need to configure those pins as GPIO output which is pretty simple, you can see a detailed description in the post Re: Port configuration.
You can set or clear more than one pin with one simple instruction by writing in the GPIOx_PSOR or GPIOx_PCOR registers.
The FRDM-K64F has routed the port D from the pins 0 to 7 to the headers so it is a good choice.
/* If this post answers your question please click over the Correct Answer button. */
Hi Earl, I need send 8-bit data from MCU to other devices. Could I output 8-bit data from one pin or 8 pins? Many thanks!
Retrieving data ...