I am using a FRDM-KE06Z board.
I use PE to establish a SynchroMaster in my project.
It seems that freescale's SPI function like SendChar and RecvChar has already control CS pin of SPI automatically
( In other MCU, I have control CS pin directly)
My problem is that Sometimes I need to control the CS pin of SPI interface directly to wake up the external IC
Can I assign the CS pin in PE as BitIO in the same time?
Thanks for help
But I try to Disable the Slave select pin.
The value is fixed at enable and can't be changed .
How can you disable the Slave pin?
Do you use another pin instead and ignore the default CS pin ?
I use FRDM-KE06Z board.
Hmm, maybe disabling the CS pin is not supported by the hardware? Otherwise this would be a bug of Processor Expert in my view.
You should be able to use a BitIO in parallel, but then at least you need to enable Pin Sharing.
See "Pin with Pin Sharing" in Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse
I hope this helps,
Erich
Hi Erich,
The hardware supports it. It looks like another PEx bug. If you instantiate an "SPI_Init" Hardware Initialization component, you can chose to use the Slave Select pin, or not. However if you want the full-featured SPI high-level component, you don't get the choice.