- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What are the expected default logical levels of CLK/MOSI/MISO?
The pins don't appear to be configured with gpio_configurePin() in spi_comm_master.c
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no default levels but you can initialize it to be what you want. Quoting gpio_configurePin() in spi_comm_master:
gpio_configurePin(CS_PORT, CS_PIN, GPIO_OUTPUT_ENABLE | GPIO_INPUT_DISABLE, CS_DEASSERT);
You can use CS_DEASSERT to do this.
Below is also a thread on how they do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no default levels but you can initialize it to be what you want. Quoting gpio_configurePin() in spi_comm_master:
gpio_configurePin(CS_PORT, CS_PIN, GPIO_OUTPUT_ENABLE | GPIO_INPUT_DISABLE, CS_DEASSERT);
You can use CS_DEASSERT to do this.
Below is also a thread on how they do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi btta,
Thanks!!