This one is odd in channel mode.
With the FT800 Flowchart.
chip select is not working at all.
When added output icons for chip select the MOSI finished low instead of high.
Most data was correct except for the end of course.
SPI 18F46K22
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SPI 18F46K22
Hi Martin,
Hmm this sounds pretty odd. Maybe check the Auto Chip Select property in the cal_spi component is set to disabled? I noticed it was set to enabled in the last program. Shouldn't cause too many issues though as long as the pin is valid.
The chip select is driven in the FT800 macros via references to the root component CS pin property.
Could it be a config setting clashing with the pin stopping it from being enabled as an output?
Out of interest which pin is it?
Hmm this sounds pretty odd. Maybe check the Auto Chip Select property in the cal_spi component is set to disabled? I noticed it was set to enabled in the last program. Shouldn't cause too many issues though as long as the pin is valid.
The chip select is driven in the FT800 macros via references to the root component CS pin property.
Could it be a config setting clashing with the pin stopping it from being enabled as an output?
Out of interest which pin is it?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: SPI 18F46K22
Hi Ben,
Thanks for your reply.
I will check out your suggestions.
What about MOSI finishing low rather than high?
I will of course double check that when trying your suggestions.
Thanks for your reply.
I will check out your suggestions.
Pins setup:Benj wrote:Out of interest which pin is it?
Code: Select all
SCK - C3
MISO - C4
MOSI - C5
CS - C7
I will of course double check that when trying your suggestions.
Martin