- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone !
I'm trying to do a temperature for electronic board and I have max6675 and max6675 has SPI communication So I looked at the example for thermocouple
that is not for SPI communication looks like and I dont have any idea how can I configurate this example
I will attach my file
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an SPI-like interface.
after the CS pin is pressed to the ground, a clock signal can be sent
and the temperature can be read when sck attacking the edge.
Details- MAX6675 datasheet, page5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
MAX6675 already has SPI communication in it.
Refer to the device datasheet that gives you a complete information on the SPI interface with any micro controller.
https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
For SPI communication using PSoC 5LP, refer to the code example SPI_Design on just how to implement SPI.
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everything OK, but I just take input from MAX6675 , is SPIM important So should I use it too?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your MAX6675 is the slave device. You have to use SPIM component in the PSoC 5LP because that is the master device. Is that what you're asking?
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nearly thas was I'm asking ,
But My question is this ;
I dont have any output for MAX6675 I just take input from MAX6675 and in Thermocouple example there is no SPIM companent
I asking that because of this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please clarify: Where are you connecting your thermocouple?
"I dont have any output for MAX6675 I just take input from MAX6675".
Can you please elaborate? A brief description of your application will help me understand your implementation better.
Thermocouple example there is no SPIM component. Are you referring to any code example in particular?
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an SPI-like interface.
after the CS pin is pressed to the ground, a clock signal can be sent
and the temperature can be read when sck attacking the edge.
Details- MAX6675 datasheet, page5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand now nevermind that my words , Sorry for that
Now my problem is there is a SPIMaster pins and SPISlave pins So I cannot combining pins So there is a different M_MISO pin and
different S_MISO pin normally there should be 1 pin I guess , Is there any way to combine these pins?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I couldn't find the differencies your attach with my attach
Can you clarify ?
And 1 more thing what is the purpose of TcHotJnPos and TcHotJnNeg ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just replaced the SPI Slave to the SPI Master in * .sysn
It is not configured - you have to configure it using the datasheet MAX6675
I do not see in the project TcHotJnPos and TcHotJnNeg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much ,
It is working but what am I reading i do not know , Is it reading Kelvin? or Celcius?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Celcius + cold-junction compensation
12 bits with a resolution of 0.25 degrees, that is, from 0 to 1024 degrees
with a 3 to 14 bit temperature value.
If the second bit is zero, the thermocouple is connected, otherwise it is disabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So if I use 16 bit ADC and I print input to LCD just I check the bits on this condition and use thermocouple example codes
If am I right Thank you So much for everything my program and chip are working
nor Thank you for information again I have some input and I just control it because looks like My thermocouple is connected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not think that this is important, but consider that the MAX6675 does not have a thermocouple non-linearity correction.